Dashboard
Return the list of available dashboard charts.
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /dashboard/chart/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"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"
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
Describes one chart available on the dashboard (returned by the list action)
Describes one chart available on the dashboard (returned by the list action)
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'"{
"category": "text",
"name": "text",
"description": "text",
"charttype": "text"
}This class allows the frontend to request data for the dashboard charts
Token-based authentication with required prefix "Token"
A unique integer value identifying this inventory base.
Describes one chart available on the dashboard (returned by the list action)
GET /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"category": "text",
"name": "text",
"description": "text",
"charttype": "text"
}This class allows the frontend to request data for the dashboard charts
Token-based authentication with required prefix "Token"
A unique integer value identifying this inventory base.
Describes one chart available on the dashboard (returned by the list action)
Describes one chart available on the dashboard (returned by the list action)
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'"{
"category": "text",
"name": "text",
"description": "text",
"charttype": "text"
}This class allows the frontend to request data for the dashboard charts
Token-based authentication with required prefix "Token"
A unique integer value identifying this inventory base.
No response body
No content
DELETE /dashboard/chart/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This class allows the frontend to request data for the dashboard charts
Token-based authentication with required prefix "Token"
A unique integer value identifying this inventory base.
Describes one chart available on the dashboard (returned by the list action)
Describes one chart available on the dashboard (returned by the list action)
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'"{
"category": "text",
"name": "text",
"description": "text",
"charttype": "text"
}Devices count per last contacted date (7 days).
Token-based authentication with required prefix "Token"
Response shape shared by the series-based charts (oscount, lastcontacted, networks)
GET /dashboard/chart/lastcontacted/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"options": null,
"series": null
}Total netdevices count.
Token-based authentication with required prefix "Token"
Response shape for the simple totals (nb_netdevices, nb_networks)
GET /dashboard/chart/nb_netdevices/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1
}Total networks count.
Token-based authentication with required prefix "Token"
Response shape for the simple totals (nb_netdevices, nb_networks)
GET /dashboard/chart/nb_networks/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1
}Devices count per network.
Token-based authentication with required prefix "Token"
Response shape shared by the series-based charts (oscount, lastcontacted, networks)
GET /dashboard/chart/networks/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"options": null,
"series": null
}Unique OS names and their associated count.
Token-based authentication with required prefix "Token"
Response shape shared by the series-based charts (oscount, lastcontacted, networks)
GET /dashboard/chart/oscount/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"options": null,
"series": null
}Total devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_ALL/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}Total Legacy devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_LEG/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}Total Linux devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_LIN/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}Total MacOS devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_MAC/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}Total SNMP devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_SNMP/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}Total Windows devices count.
Token-based authentication with required prefix "Token"
Response shape for the Counter charts (total_ALL, total_WIN, ...)
GET /dashboard/chart/total_WIN/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"total": 1,
"contacted": 1
}this class will permit the frontend server to manage configuration for the dashboard.
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /dashboard/layout/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"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
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
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"{
"id": 1,
"visibility": "public",
"user": 1,
"groups": [
1
],
"allow_group_modification": true,
"name": "text",
"layout": null
}this class will permit the frontend server to manage configuration for the dashboard.
Token-based authentication with required prefix "Token"
A unique integer value identifying this dashboard layout.
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
GET /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"visibility": "public",
"user": 1,
"groups": [
1
],
"allow_group_modification": true,
"name": "text",
"layout": null
}this class will permit the frontend server to manage configuration for the dashboard.
Token-based authentication with required prefix "Token"
A unique integer value identifying this dashboard layout.
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
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"{
"id": 1,
"visibility": "public",
"user": 1,
"groups": [
1
],
"allow_group_modification": true,
"name": "text",
"layout": null
}this class will permit the frontend server to manage configuration for the dashboard.
Token-based authentication with required prefix "Token"
A unique integer value identifying this dashboard layout.
No response body
No content
DELETE /dashboard/layout/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
this class will permit the frontend server to manage configuration for the dashboard.
Token-based authentication with required prefix "Token"
A unique integer value identifying this dashboard layout.
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
This serialize class provide the API representation.
public- Publicprivate_personal- Private (Personal)private_group- Private (Group)
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"{
"id": 1,
"visibility": "public",
"user": 1,
"groups": [
1
],
"allow_group_modification": true,
"name": "text",
"layout": null
}Last updated

