For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Dashboard

get

Return the list of available dashboard charts.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
agentstringOptional
descriptionstringOptional
domainstringOptional
formatstring · enumOptionalPossible values:
is_template_forcedbooleanOptional
last_updatestring · date-timeOptional
limitintegerOptional

Number of results to return per page.

namestringOptional
offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

osnamestringOptional
osversionstringOptional
searchstringOptional

A search term.

serialstringOptional
srcipstringOptional
srcmacstringOptional
templateintegerOptional
uuidstringOptional
Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/dashboard/chart/
GET /dashboard/chart/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "category": "text",
      "name": "text",
      "description": "text",
      "charttype": "text"
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
Responses
201Success

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
post/dashboard/chart/
POST /dashboard/chart/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 73

"category='text'&name='text'&description='text'&charttype='text'"
201Success
{
  "category": "text",
  "name": "text",
  "description": "text",
  "charttype": "text"
}
get

This class allows the frontend to request data for the dashboard charts

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this inventory base.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
get/dashboard/chart/{id}/
GET /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "category": "text",
  "name": "text",
  "description": "text",
  "charttype": "text"
}
put

This class allows the frontend to request data for the dashboard charts

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this inventory base.

Query parameters
formatstring · enumOptionalPossible values:
Body

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
Responses
200Success

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
put/dashboard/chart/{id}/
PUT /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 73

"category='text'&name='text'&description='text'&charttype='text'"
200Success
{
  "category": "text",
  "name": "text",
  "description": "text",
  "charttype": "text"
}
delete

This class allows the frontend to request data for the dashboard charts

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this inventory base.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/dashboard/chart/{id}/
DELETE /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class allows the frontend to request data for the dashboard charts

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this inventory base.

Query parameters
formatstring · enumOptionalPossible values:
Body

Describes one chart available on the dashboard (returned by the list action)

categorystringOptional
namestringOptional
descriptionstringOptional
charttypestringOptional
Responses
200Success

Describes one chart available on the dashboard (returned by the list action)

categorystringRequired
namestringRequired
descriptionstringRequired
charttypestringRequired
patch/dashboard/chart/{id}/
PATCH /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 73

"category='text'&name='text'&description='text'&charttype='text'"
200Success
{
  "category": "text",
  "name": "text",
  "description": "text",
  "charttype": "text"
}
get

Devices count per last contacted date (7 days).

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape shared by the series-based charts (oscount, lastcontacted, networks)

optionsanyRequired
seriesanyRequired
get/dashboard/chart/lastcontacted/
GET /dashboard/chart/lastcontacted/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "options": null,
  "series": null
}
get

Total netdevices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the simple totals (nb_netdevices, nb_networks)

totalintegerRequired
get/dashboard/chart/nb_netdevices/
GET /dashboard/chart/nb_netdevices/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1
}
get

Total networks count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the simple totals (nb_netdevices, nb_networks)

totalintegerRequired
get/dashboard/chart/nb_networks/
GET /dashboard/chart/nb_networks/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1
}
get

Devices count per network.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape shared by the series-based charts (oscount, lastcontacted, networks)

optionsanyRequired
seriesanyRequired
get/dashboard/chart/networks/
GET /dashboard/chart/networks/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "options": null,
  "series": null
}
get

Unique OS names and their associated count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape shared by the series-based charts (oscount, lastcontacted, networks)

optionsanyRequired
seriesanyRequired
get/dashboard/chart/oscount/
GET /dashboard/chart/oscount/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "options": null,
  "series": null
}
get

Total devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_ALL/
GET /dashboard/chart/total_ALL/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

Total Legacy devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_LEG/
GET /dashboard/chart/total_LEG/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

Total Linux devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_LIN/
GET /dashboard/chart/total_LIN/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

Total MacOS devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_MAC/
GET /dashboard/chart/total_MAC/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

Total SNMP devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_SNMP/
GET /dashboard/chart/total_SNMP/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

Total Windows devices count.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Response shape for the Counter charts (total_ALL, total_WIN, ...)

totalintegerRequired
contactedintegerRequired
get/dashboard/chart/total_WIN/
GET /dashboard/chart/total_WIN/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "total": 1,
  "contacted": 1
}
get

this class will permit the frontend server to manage configuration for the dashboard.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/dashboard/layout/
GET /dashboard/layout/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "visibility": "public",
      "user": 1,
      "groups": [
        1
      ],
      "allow_group_modification": true,
      "name": "text",
      "layout": null
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
Responses
201Success

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
post/dashboard/layout/
POST /dashboard/layout/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 105

"visibility='public'&user=1&groups=[1]&allow_group_modification=true&name='text'&layout=null"
201Success
{
  "id": 1,
  "visibility": "public",
  "user": 1,
  "groups": [
    1
  ],
  "allow_group_modification": true,
  "name": "text",
  "layout": null
}
get

this class will permit the frontend server to manage configuration for the dashboard.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this dashboard layout.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
get/dashboard/layout/{id}/
GET /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "visibility": "public",
  "user": 1,
  "groups": [
    1
  ],
  "allow_group_modification": true,
  "name": "text",
  "layout": null
}
put

this class will permit the frontend server to manage configuration for the dashboard.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this dashboard layout.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
Responses
200Success

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
put/dashboard/layout/{id}/
PUT /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 105

"visibility='public'&user=1&groups=[1]&allow_group_modification=true&name='text'&layout=null"
200Success
{
  "id": 1,
  "visibility": "public",
  "user": 1,
  "groups": [
    1
  ],
  "allow_group_modification": true,
  "name": "text",
  "layout": null
}
delete

this class will permit the frontend server to manage configuration for the dashboard.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this dashboard layout.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/dashboard/layout/{id}/
DELETE /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

this class will permit the frontend server to manage configuration for the dashboard.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this dashboard layout.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation.

idintegerRead-onlyOptional
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerOptional
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Optional
layoutanyOptional
Responses
200Success

This serialize class provide the API representation.

idintegerRead-onlyRequired
visibilitystring · enumOptional
  • public - Public
  • private_personal - Private (Personal)
  • private_group - Private (Group)
Possible values:
userintegerRequired
groupsinteger[]Optional
allow_group_modificationbooleanOptional
namestring · max: 100Required
layoutanyRequired
patch/dashboard/layout/{id}/
PATCH /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 105

"visibility='public'&user=1&groups=[1]&allow_group_modification=true&name='text'&layout=null"
200Success
{
  "id": 1,
  "visibility": "public",
  "user": 1,
  "groups": [
    1
  ],
  "allow_group_modification": true,
  "name": "text",
  "layout": null
}

Last updated