Download OpenAPI specification:Download
Videon's LiveEdge Cloud provides a simple and intuitive way for organizations to manage fleets of appliances using an intuitive website, or an extensive API set.
This API is documented in OpenAPI format. Use the /openapi
endpoint
to retrieve the specification for the API.
The API features Cross-Origin Resource Sharing (CORS). Any endpoint can receive a preflight OPTIONS request, and will respond with the supported methods on that endpoint.
Currently the LiveEdge Cloud API supports two different authentication schemes:
JWT access token issued by the LiveEdge Cloud auth provider. Typically used by interactive web applications. Such tokens are short-lived and must be refreshed frequently. The provided token must not be expired, and must be an access token (not an identity or refresh token).
For JWT authentication, the HTTP Authorization header should be prefixed with "Bearer", followed by a space, followed by the access token value.
Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...
Use a Personal Access Token issued by the LiveEdge Cloud platform. Users have the ability to issue long-lived PAT tokens that are easier to use in non-interactive applications. Authenticating with a PAT token will yield the same permissions as the user that issued it.
Since PAT tokens are long-lived, it is important for the client to securely store the token and protect it from unauthorized access. Avoid storing the token in unencrypted plain text and do not hard code it into your application source code.
Despite being long-lived, PAT tokens do have an expiration date. Clients are responsible tracking PAT expiration and issuing new tokens as needed (this can be done via the API).
If a PAT token is no longer needed or has been exposed to an unauthorized party, it may be revoked immediately.
For PAT authentication, the HTTP Authorization header should be prefixed with "PAT", followed by a space, followed by the access token value.
Example: PAT J1eee35QGmzwgqaaovJ8cbnS9wBPGwHI
Security Scheme Type | API Key |
---|---|
Header parameter name: | Authorization |
Used by the front end UI to provide information for a smooth authentication flow. Returns info about which SSO identity provider the user is registered with, URL to the OAuth provider, etc. The expectation is that the login screen will prompt the user for their email, call this API, and then use the response to determine the next step (prompt for password, redirect to SSO Identity Provider, etc.).
string <email> Email address of the user attempting to sign in. The user does not need to actually be registered (the API will not disclose whether or not a user actually exists). |
{- "cognito_region": "string",
- "cognito_user_pool_id": "string",
- "cognito_user_pool_domain": "string",
- "cognito_identity_pool_id": "string",
- "client_id": "string",
- "profile_picture_bucket": "string",
- "oauth_scope": [
- "string"
], - "oauth_response_type": "string",
- "idp_identifier": "string",
- "identity_provider": "string",
- "sso_providers": [ ]
}
Get the personal access tokens for a specific user.
user_guid | string GUID of the user account. If omitted, the API will use the GUID associated with your user. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "personal_access_tokens": [
- {
- "token_guid": "612f310f-a8d2-401b-8e5a-ce42b43d6d85",
- "token_prefix": "string",
- "issued": "2019-08-24T14:15:22Z",
- "expires": "2019-08-24T14:15:22Z",
- "comment": "string",
- "last_used": "2019-08-24T14:15:22Z"
}
], - "pagination_token": "string"
}
Create a personal access token with the attributes specified.
token_lifespan_days required | integer [ 1 .. 365 ] Number of days the token will be valid. |
comment | string A comment that will be associated with the personal access token. |
{- "token_lifespan_days": 1,
- "comment": "Access token for computer A"
}
{- "token_guid": "612f310f-a8d2-401b-8e5a-ce42b43d6d85",
- "token_prefix": "string",
- "token_value": "string",
- "expires": "2019-08-24T14:15:22Z"
}
Get the details for a specific personal access token.
token_guid required | string GUID of the personal access token. |
user_guid | string GUID of the user account. If omitted, the API will use the GUID associated with your user. |
{- "personal_access_token": {
- "token_prefix": "string",
- "issued": "2019-08-24T14:15:22Z",
- "expires": "2019-08-24T14:15:22Z",
- "comment": "string",
- "last_used": "2019-08-24T14:15:22Z"
}
}
Revoke a personal access token with the attributes specified.
token_guid required | string GUID of the personal access token. |
user_guid | string GUID of the user account. If omitted, the API will use the GUID associated with your user. |
{- "message": "string"
}
Search for alerts based on the specified search parameters.
org_guid | string GUID of an organization to filter alert results by. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
device_guids | Array of strings Devices to find alerts for. |
silenced | boolean Default: true If true, include silenced alerts in the results. |
resolved | boolean Default: true If true, include resolved alerts in the results. |
start_time | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. Required when |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
Org-Guid | string GUID of an organization to filter alert results by. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
{- "alerts": [
- {
- "alert_guid": "11a1e8c3-e5ee-4186-810c-ff72e530d39b",
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6",
- "timestamp": "2019-08-24T14:15:22Z",
- "alert_type": "string",
- "name": "string",
- "label": "string",
- "threshold_value": "string",
- "threshold_condition": "GreaterThanThreshold",
- "silenced": true,
- "silenced_toggled_by": "string",
- "silenced_timestamp": "2019-08-24T14:15:22Z",
- "resolved": true,
- "last_status_change": "2019-08-24T14:15:22Z"
}
], - "pagination_token": "string"
}
Get the details for a specific alert.
alert_guid required | string GUID of the alert. |
{- "alert": {
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6",
- "timestamp": "2019-08-24T14:15:22Z",
- "alert_type": "string",
- "name": "string",
- "label": "string",
- "threshold_value": "string",
- "threshold_condition": "GreaterThanThreshold",
- "silenced": true,
- "silenced_toggled_by": "string",
- "silenced_timestamp": "2019-08-24T14:15:22Z",
- "resolved": true,
- "last_status_change": "2019-08-24T14:15:22Z"
}
}
Update an alert to be silenced.
alert_guid required | string GUID of the alert. |
silenced | boolean Default: true True when silencing the alert, false when unsilencing. |
{- "silenced": true
}
Get a history of alerts
device_guids | Array of strings Devices to find alerts for. |
start_time required | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "alerts": [
- {
- "alert_guid": "string",
- "device_guid": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "alert_data": { }
}
], - "pagination_token": "string"
}
Get the alert configuration for a specific organization
org_guid | string GUID of the organization the configuration is for. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
Org-Guid | string GUID of the organization the configuration is for. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
{- "config": {
- "status": "success",
- "user_list": [ ],
- "email_list": [ ],
- "alerts": [
- {
- "name": "string",
- "label": "string",
- "type": "string",
- "namespace": "string",
- "enabled": true,
- "threshold_condition": "GreaterThanThreshold",
- "threshold_value": "string",
- "notify_on_close": true
}
]
}
}
Update the alert configuration for a specific organization. This endpoint is asynchronous when any metric alerts are provided or a state alert is disabled, meaning it returns before the operation has completed. If multiple asynchronous configuration changes are sent within a short period of time, the last request to be processed will be the one that succeeds.
Org-Guid | string GUID of the organization the configuration is for. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
org_guid | string GUID of the organization the configuration is for. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
required | object |
{- "org_guid": "string",
- "config": {
- "user_list": [ ],
- "email_list": [ ],
- "alerts": [
- {
- "name": "string",
- "type": "string",
- "label": "string",
- "enabled": true,
- "threshold_condition": "GreaterThanThreshold",
- "threshold_value": "90",
- "notify_on_close": false
}
]
}
}
{- "message": "string",
- "failed_emails": [
- "string"
], - "failed_users": [
- "string"
]
}
Search for devices based on the specified search parameters.
org_guid | string GUID of an organization to filter device results by. If both Org-Guid and org_guid are present, org_guid is used. |
user_guid | string GUID of a user to filter device results by. If present, org_guid is ignored. If org_guid/Org-Guid and user_guid are not present, defaults to your user GUID. Only devices that the user is directly assigned to will be returned. |
serial_number | string Serial number of a device to filter results by. Partial matches will be returned, only if it matches the prefix of the serial number, e.g., 123 will match device 1234 but not device 4123. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
Org-Guid | string GUID of an organization to filter device results by. If both Org-Guid and org_guid are present, org_guid is used. |
{- "devices": [
- {
- "device_guid": "string",
- "serial_number": "string",
- "mac_address": "string",
- "partner_id": "string",
- "provision_date": "2019-08-24",
- "product_name": "string",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "access": 100
}
], - "pagination_token": "string"
}
Adopt a device with the specified attributes.
org_guid | string GUID of the organization adopting the device. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
serial_number required | string Serial number of the device to adopt. |
Org-Guid | string GUID of the organization adopting the device. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
{- "message": "string",
- "device": {
- "device_guid": "string",
- "serial_number": "string",
- "mac_address": "string",
- "partner_id": "string",
- "provision_date": "2019-08-24",
- "product_name": "string"
}
}
Get devices events based on the provided attributes. Events are deleted 30 days after they occur.
device_guids required | Array of strings Devices to find events for. |
event_types | Array of strings Type of events to search for. If omitted, all event types are returned. |
start_time required | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "events": [
- {
- "event_guid": "string",
- "device_guid": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "event_type": "string",
- "event_data": { }
}
], - "pagination_token": "string"
}
Search for metrics for specific devices.
device_guids required | Array of strings Devices to retrieve metrics for. |
required | Array of objects |
start_time required | string <date-time> The date and time indicating the earliest data to be returned, in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time required | string <date-time> The date and time indicating the latest data to be returned, in ISO 8601 format as specified by RFC 3339, Section 5.6. |
scan_by | string Default: "TimestampDescending" Enum: "TimestampDescending" "TimestampAscending" The order in which data should be returned:
|
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "device_guids": [
- "string"
], - "metrics": [
- {
- "namespace": "string",
- "metric_name": "string",
- "period": 1,
- "statistic": "Sum"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "scan_by": "TimestampDescending",
- "pagination_size": 50,
- "pagination_token": "string"
}
{- "metrics": [
- {
- "label": "string",
- "timestamps": [ ],
- "values": [ ]
}
], - "pagination_token": "string"
}
Get the statuses for devices in an organization.
org_guid | string GUID of the organization associated with the device. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
online | boolean Default: true Whether to return devices that are currently online. |
streaming | boolean Default: true Whether to return devices that are actively streaming. |
Org-Guid | string GUID of the organization associated with the device. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
{- "status": {
- "devices_online": [
- "4592239e-9264-44cc-943b-f50ed38a51cb",
- "a02b0414-f608-44b5-807b-454742c3b926"
], - "total_online": 2,
- "devices_streaming": [
- "4592239e-9264-44cc-943b-f50ed38a51cb"
], - "total_streaming": 1,
- "total_alerts": 10,
- "total_devices": 5
}
}
Get the details for a specific device.
device_guid required | string GUID of the device. |
{- "device": {
- "device_guid": "string",
- "serial_number": "string",
- "mac_address": "string",
- "partner_id": "string",
- "provision_date": "2019-08-24",
- "product_name": "string"
}
}
Get device commands based on the provided attributes.
device_guid required | string GUID of the device. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "commands": {
- "command_guid": "string",
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "command": "string",
- "finished": true,
- "finished_timestamp": "2019-08-24T14:15:22Z",
- "request": {
- "output_type": "string",
- "data": {
- "bitrate": {
- "value": 500
}
}, - "rest_endpoint": "encoders/vid_encoders/60"
}, - "response": {
- "result": null,
- "device_received_timestamp": "2019-08-24T14:15:22Z",
- "device_complete_timestamp": "2019-08-24T14:15:22Z"
}
}, - "pagination_token": "string"
}
Send a new command to a device.
device_guid required | string GUID of the device. |
command required | string The command to execute. |
output_type | string The output type that the command was issued for. Required for the command |
data | any The request data to give to the command. The type of this attribute varies based on the command. |
rest_endpoint | string The relative path to the device's REST endpoint that is to receive the command. Only present for rest_direct commands. |
{- "command": "string",
- "output_type": "string",
- "data": {
- "bitrate": {
- "value": 500
}
}, - "rest_endpoint": "encoders/vid_encoders/60"
}
{- "command_guid": "string"
}
Get device command based on the provided attributes.
device_guid required | string GUID of the device. |
command_guid required | string GUID of the command. |
{- "command": {
- "command_guid": "string",
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "command": "string",
- "finished": true,
- "finished_timestamp": "2019-08-24T14:15:22Z",
- "request": {
- "output_type": "string",
- "data": {
- "bitrate": {
- "value": 500
}
}, - "rest_endpoint": "encoders/vid_encoders/60"
}, - "response": {
- "result": null,
- "device_received_timestamp": "2019-08-24T14:15:22Z",
- "device_complete_timestamp": "2019-08-24T14:15:22Z"
}
}
}
Returns the timestamp that each document was last updated.
device_guid required | string GUID of the device. |
{- "documents": {
- "property1": {
- "last_modified": "2019-08-24T14:15:22Z"
}, - "property2": {
- "last_modified": "2019-08-24T14:15:22Z"
}
}
}
Get devices events based on the provided attributes. Events are deleted 30 days after they occur.
device_guid required | string GUID of the device. |
event_types | Array of strings Type of events to search for. If omitted, all event types are returned. |
start_time | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "events": [
- {
- "event_guid": "string",
- "device_guid": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "event_type": "string",
- "event_data": { }
}
], - "pagination_token": "string"
}
Get the fleets for a specific device.
device_guid required | string GUID of the device. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "fleets": [
- {
- "fleet_guid": "string"
}
], - "pagination_token": "string"
}
Get all metadata configured on a given device
device_guid required | string GUID of the device. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "metadata": [
- {
- "key": "string",
- "value": "string"
}
]
}
Create new metadata key/value pair, or update an existing key/value pair
device_guid required | string GUID of the device. |
key | string The key of the metadata |
value | string The value of the metadata |
[- {
- "key": "string",
- "value": "string"
}
]
{- "metadata": [
- {
- "key": "string",
- "value": "string"
}
]
}
Search for metrics for a specific device.
device_guid required | string GUID of the device. |
required | Array of objects |
start_time required | string <date-time> The date and time indicating the earliest data to be returned, in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time required | string <date-time> The date and time indicating the latest data to be returned, in ISO 8601 format as specified by RFC 3339, Section 5.6. |
scan_by | string Default: "TimestampDescending" Enum: "TimestampDescending" "TimestampAscending" The order in which data should be returned:
|
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "metrics": [
- {
- "namespace": "string",
- "metric_name": "string",
- "period": 1,
- "statistic": "Sum"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "scan_by": "TimestampDescending",
- "pagination_size": 50,
- "pagination_token": "string"
}
{- "metrics": [
- {
- "label": "string",
- "timestamps": [ ],
- "values": [ ]
}
], - "pagination_token": "string"
}
Update Outputs shadow to enable/disable outputs
device_guid required | string GUID of the device. |
output_id required | integer ID of the output to operate on |
enable required | boolean True if changing the output to enabled |
[- {
- "output_id": 0,
- "enable": true
}
]
Returns the reported state from the most recently completed shadow command and the information from the most recently issued shadow command that is requesting changes (excludes get). This data will be updated every time a new shadow command is completed.
device_guid required | string GUID of the device. |
shadow_names | Array of strings non-empty Items Enum: "System" "Inputs" "Encoders" "Outputs" Names of the shadows to retrieve. When omitted, all shadows are retrieved. |
{- "shadows": [
- {
- "shadow_name": "string",
- "requested": {
- "command_type": "string",
- "state": "string",
- "command_guid": "string",
- "command_state": "string",
- "finished": true
}, - "reported": {
- "state": { },
- "current_version": 0,
- "timestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get device shadow commands based on the provided attributes.
device_guid required | string GUID of the device. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "commands": [
- {
- "command_guid": "string",
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "finished": true,
- "finished_timestamp": "2019-08-24T14:15:22Z",
- "command_state": "pending",
- "command_type": "get",
- "shadow_name": "string",
- "requested": {
- "state": {
- "device_name": "MyEdgecaster"
}, - "target_version": 0
}, - "reported": {
- "state": {
- "device_name": "MyEdgecaster"
}, - "device_received_timestamp": "2019-08-24T14:15:22Z",
- "device_finished_timestamp": "2019-08-24T14:15:22Z",
- "error_code": 0,
- "message": "string",
- "current_version": 0
}
}
], - "pagination_token": "string"
}
Send a new shadow command to a device.
device_guid required | string GUID of the device. |
command_type required | string Enum: "get" "set" The type of command(s) to issue:
|
required | Array of objects The data to give to the command. This attribute should contain an object for each shadow being targeted. |
{- "command_type": "get",
- "commands": [
- {
- "shadow_name": "System",
- "target_version": 0,
- "state": {
- "device_name": "MyEdgecaster"
}
}
]
}
{- "command_type": "string",
- "commands": [
- {
- "shadow_name": "string",
- "command_guid": "864688e3-1636-42a7-b427-d0df7fac6626"
}
]
}
Get device shadow command based on the provided attributes.
device_guid required | string GUID of the device. |
command_guid required | string GUID of the shadow command. |
{- "command": {
- "command_guid": "string",
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "finished": true,
- "finished_timestamp": "2019-08-24T14:15:22Z",
- "command_state": "pending",
- "command_type": "get",
- "shadow_name": "string",
- "requested": {
- "state": {
- "device_name": "MyEdgecaster"
}, - "target_version": 0
}, - "reported": {
- "state": {
- "device_name": "MyEdgecaster"
}, - "device_received_timestamp": "2019-08-24T14:15:22Z",
- "device_finished_timestamp": "2019-08-24T14:15:22Z",
- "error_code": 0,
- "message": "string",
- "current_version": 0
}
}
}
Get the state for a specific device. Note all state details listed below. See response body for full list.
device_guid required | string GUID of the device. |
{- "state": {
- "device_guid": "string",
- "serial_number": "string",
- "online": true,
- "last_boot": "2019-08-24T14:15:22Z",
- "last_state_update": "2019-08-24T14:15:22Z"
}
}
Start the update process for the device.
device_guid required | string GUID of the device. |
update_type required | string Value: "cloud" The type of the update. |
update required | boolean To prevent accidentally starting an update, this field must be true in order for the update to begin. |
{- "update": true
}
{- "message": "string",
- "command_guid": "string"
}
Get the users for a specific device. Note that you will be unable to access devices that you are not a member of. If a user has multiple direct assignments (via fleet and/or device assignment), the user will appear in the list multiple times.
device_guid required | string GUID of the device. |
user_guid | string GUID of a user to get device access for. If the user has access to the device via multiple direct assignments (via fleet and/or device assignment), they will all be returned. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "users": [
- {
- "user_guid": "string",
- "access": 100,
- "org_guid": "string",
- "fleet_guid": "string"
}
], - "pagination_token": "string"
}
Add a user to a device, or if the user doesn't exist, create and add the user.
device_guid required | string GUID of the device. |
user_guid | string User GUID (if adding existing user) |
name | string [ 1 .. 2048 ] characters Full name of the user. |
string <email> [ 1 .. 128 ] characters Email address of the user. | |
password | string [ 6 .. 256 ] characters Password for the user. |
phone_number | string or null Mobile phone number of the user (optional). Must start with + and country code. Can only contain plus sign and digits. |
locale | string <= 2048 characters User locale in BCP 47 (RFC 5646) format. |
zoneinfo | string <= 2048 characters User time zone in zoneinfo (tz database) format. |
access required | integer If user_guid was provided, the access level of the requested user. Otherwise, the access level of the current user. (100 = reader, 200 = user, 300 = admin) |
{- "user_guid": "string",
- "name": "string",
- "email": "user@example.com",
- "password": "string",
- "phone_number": 18142351111,
- "locale": "en_US",
- "zoneinfo": "Europe/Paris",
- "access": 100
}
{- "message": "string"
}
Update user permissions within a device.
device_guid required | string GUID of the device. |
Array of objects |
{- "users": [
- {
- "user_guid": "string",
- "access": 100
}
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Remove users from a device.
device_guid required | string GUID of the device. |
users | Array of strings List of user GUIDs to remove from the device. |
{- "users": [
- "string"
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Returns the Docker images downloaded on the device.
device_guid required | string GUID of the device. |
{- "images": [
- {
- "repository": "string",
- "tag": "string",
- "image_id": "string",
- "hash": "string",
- "created": "2019-08-24T14:15:22Z",
- "size": 0
}
]
}
Instructs the device to pull an image from Docker Hub.
device_guid required | string GUID of the device. |
repository required | string Repository of image. |
tag | string Tag of image. |
{- "repository": "string",
- "tag": "string"
}
{- "repository": "string",
- "tag": "string",
- "id": "string",
- "hash": "string",
- "created": "2019-08-24T14:15:22Z",
- "size": 0
}
Returns a specific Docker image downloaded on the device.
device_guid required | string GUID of the device. |
image_id required | string ID of the image. |
{- "repository": "string",
- "tag": "string",
- "id": "string",
- "hash": "string",
- "created": "2019-08-24T14:15:22Z",
- "size": 0
}
Instructs the device to delete an image.
device_guid required | string GUID of the device. |
image_id required | string ID of the image. |
reason required | string |
{- "reason": "string"
}
Returns the Docker containers running on the device.
device_guid required | string GUID of the device. |
{- "containers": [
- {
- "id": "string",
- "image": "string",
- "created": "2019-08-24T14:15:22Z",
- "status": "created"
}
]
}
Instructs the device to create a container from an image.
device_guid required | string GUID of the device. |
name | string Name of the container. |
image_id required | string Image id to use. |
object | |
Array of objects | |
Array of objects | |
Array of objects |
{- "name": "string",
- "image_id": "string",
- "restart_policy": {
- "name": "on-failure",
- "MaximumRetryCount": 2
}, - "environment": [
- {
- "key": "MEANING_OF_EVERYTHING2",
- "value": "42"
}, - {
- "key": "OurHouseLocation",
- "value": "MiddleOfTheStreet"
}
], - "volumes": [
- {
- "host_path": "/host/path1",
- "container_path": "/container/path1",
- "mode": "rw"
}, - {
- "host_path": "/host/path2",
- "container_path": "/container/path2",
- "mode": "rw"
}
], - "ports": [
- {
- "host_port": 8080,
- "container_port": 8080
}
]
}
{- "id": "string"
}
Returns a specific Docker container on the device.
device_guid required | string GUID of the device. |
container_id required | string ID of the container. |
{- "id": "string",
- "image": "string",
- "created": "string",
- "status": "created"
}
Start, Stop, Pause, Unpause, Kill, or Restart container.
device_guid required | string GUID of the device. |
container_id required | string ID of the container. |
action required | string Enum: "start" "stop" "pause" "unpause" "kill" "restart" |
{- "action": "start"
}
Instructs the device to delete an inactive container.
device_guid required | string GUID of the device. |
container_id required | string ID of the container. |
reason required | string |
{- "reason": "string"
}
Get the licenses applied to a specific device.
device_guid required | string GUID of the device. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "licenses": [
- {
- "license_id": "string",
- "profile_guid": "de2fa99b-cfff-46dc-82c7-840defea887f",
- "license_type": "base",
- "pending_deallocation": false,
- "expires": "2019-08-24T14:15:22Z",
- "expired": true
}
], - "pagination_token": "string"
}
Search for licenses based on the specified attributes.
org_guid | string GUID of an organization to filter license results by. |
serial_number | string Serial number of a device to filter license results by. If present, org_guid is ignored. |
show_orgs | boolean Default: true When an org GUID or serial number has not been provided, return all orgs with licenses in the response. |
show_serials | boolean Default: true When an org GUID or serial number has not been provided, return all serial numbers with licenses in the response. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "licenses": [
- {
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "serial_number": "string",
- "profile_guid": "de2fa99b-cfff-46dc-82c7-840defea887f",
- "profile_platform": "edgecaster",
- "unlimited": true,
- "allocated": 0,
- "allocation_limit": 0,
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "expires": "2019-08-24T14:15:22Z"
}
], - "pagination_token": "string"
}
Get the details for a specific license.
license_id required | string ID of the license. |
{- "license": {
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "serial_number": "string",
- "profile_guid": "de2fa99b-cfff-46dc-82c7-840defea887f",
- "profile_platform": "edgecaster",
- "unlimited": true,
- "allocated": 0,
- "allocation_limit": 0,
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "expires": "2019-08-24T14:15:22Z"
}
}
Get the devices this license is allocated to. Only licenses with an allocation limit can be allocated to a device, so licenses that are for all devices in an org or a specific serial number will return an empty list.
license_id required | string ID of the license. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "allocations": [
- {
- "device_guid": "string",
- "pending_deallocation": false
}
], - "pagination_token": "string"
}
Allocate a license to a device. Only licenses with an allocation limit can be allocated to a device.
license_id required | string ID of the licenses. |
devices required | Array of strings List of device GUIDs to allocate the license to. |
{- "devices": [
- "string"
]
}
{- "message": "string",
- "failed_devices": [
- {
- "device_guid": "string",
- "reason": "string"
}
]
}
Remove a license allocation from a device. Only licenses with an allocation limit can be allocated to a device.
license_id required | string ID of the license. |
devices required | Array of strings List of device GUIDs to remove the license from. |
{- "devices": [
- "string"
]
}
{- "message": "string",
- "failed_devices": [
- {
- "device_guid": "string",
- "reason": "string"
}
]
}
Get the available entitlement profiles.
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "profiles": [
- {
- "profile_name": "string",
- "profile_guid": "de2fa99b-cfff-46dc-82c7-840defea887f",
- "profile_platform": "edgecaster",
- "properties": {
- "key1": "value1",
- "key2": "value2"
}, - "description": "string"
}
], - "pagination_token": "string"
}
Get the details for a specific entitlement profile.
profile_guid required | string GUID of the profile. |
{- "profile": {
- "profile_name": "string",
- "profile_platform": "edgecaster",
- "properties": {
- "key1": "value1",
- "key2": "value2"
}, - "description": "string"
}
}
Search for fleets based on the specified attributes. Note that search results will exclude fleets that you do not have access to.
org_guid | string GUID of an organization to filter fleet results by. If both Org-Guid and org_guid are present, org_guid is used. |
fleet_name | string Fleet name to search for, can be a full or partial name. Searches are case-insensitive, and substrings will match. For example, a search for "labs" will match "Videon Labs, Inc.". |
user_guid | string GUID of a user to filter fleet results by. If present, org_guid is ignored. If org_guid/Org-Guid and user_guid are not present, defaults to your user GUID. Only fleets that the user is directly assigned to will be returned. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
Org-Guid | string GUID of an organization to filter fleet results by. If both Org-Guid and org_guid are present, org_guid is used. |
{- "fleets": [
- {
- "fleet_name": "string",
- "fleet_guid": "2dad2a19-f584-4d3f-86ed-41fce8327033",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "access": 100
}
], - "pagination_token": "string"
}
Create a fleet with the attributes specified.
Org-Guid | string GUID of the organization creating the fleet. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
fleet_name required | string [ 2 .. 256 ] characters ^\S[^\n\r\t\v\f]*\S$ Fleet name |
org_guid | string GUID of the organization creating the fleet. Either Org-Guid or org_guid must be present. If both are present, org_guid is used. |
{- "fleet_name": "string",
- "org_guid": "string"
}
{- "message": "string",
- "fleet_guid": "2dad2a19-f584-4d3f-86ed-41fce8327033"
}
Update a fleet with the attributes specified in the request body.
fleet_guid required | string GUID of the fleet. |
fleet_name required | string [ 2 .. 256 ] characters ^\S[^\n\r\t\v\f]*\S$ Fleet name |
{- "fleet_name": "string"
}
Delete a specific fleet. Note that you will be unable to access organizations that you are not a member of.
fleet_guid required | string GUID of the fleet. |
reason required | string <= 2048 characters Reason for deletion of fleet |
{- "reason": "string"
}
Get the devices for a specific fleet.
fleet_guid required | string GUID of the fleet. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "devices": [
- {
- "device_guid": "string"
}
], - "pagination_token": "string"
}
Add devices to a fleet.
fleet_guid required | string GUID of the fleet. |
devices | Array of strings List of device GUIDs to add to the fleet. |
{- "devices": [
- "string"
]
}
{- "message": "string",
- "failed_devices": [
- {
- "device_guid": "string",
- "reason": "string"
}
]
}
Remove devices from a fleet.
fleet_guid required | string GUID of the fleet. |
devices | Array of strings List of device GUIDs to remove from the fleet. |
{- "devices": [
- "string"
]
}
{- "message": "string",
- "failed_devices": [
- {
- "device_guid": "string",
- "reason": "string"
}
]
}
Get the statuses for devices in a specific fleet.
fleet_guid required | string GUID of the fleet. |
online | boolean Default: true Whether to return devices that are currently online. |
streaming | boolean Default: true Whether to return devices that are actively streaming. |
{- "status": {
- "devices_online": [
- "4592239e-9264-44cc-943b-f50ed38a51cb",
- "a02b0414-f608-44b5-807b-454742c3b926"
], - "total_online": 2,
- "devices_streaming": [
- "4592239e-9264-44cc-943b-f50ed38a51cb"
], - "total_streaming": 1,
- "total_alerts": 10,
- "total_devices": 5
}
}
Get fleet events based on the provided attributes. Events are deleted 30 days after they occur.
fleet_guid required | string GUID of the fleet. |
event_types | Array of strings Type of events to search for. If omitted, all event types are returned. |
start_time required | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "events": [
- {
- "event_guid": "string",
- "device_guid": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "event_type": "string",
- "event_data": { }
}
], - "pagination_token": "string"
}
Get the users for a specific fleet. Note that you will be unable to access fleets that you are not a member of.
fleet_guid required | string GUID of the fleet. |
user_guid | string GUID of a user to filter fleets results by. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "users": [
- {
- "user_guid": "string",
- "access": 100,
- "org_guid": "string"
}
], - "pagination_token": "string"
}
Add a user to a fleet, or if the user doesn't exist, create and add the user.
fleet_guid required | string GUID of the fleet. |
user_guid | string User GUID (if adding existing user) |
name | string [ 1 .. 2048 ] characters Full name of the user. |
string <email> [ 1 .. 128 ] characters Email address of the user. | |
password | string [ 6 .. 256 ] characters Password for the user. |
phone_number | string or null Mobile phone number of the user (optional). Must start with + and country code. Can only contain plus sign and digits. |
locale | string <= 2048 characters User locale in BCP 47 (RFC 5646) format. |
zoneinfo | string <= 2048 characters User time zone in zoneinfo (tz database) format. |
access required | integer If user_guid was provided, the access level of the requested user. Otherwise, the access level of the current user. (100 = reader, 200 = user, 300 = admin) |
{- "user_guid": "string",
- "name": "string",
- "email": "user@example.com",
- "password": "string",
- "phone_number": 18142351111,
- "locale": "en_US",
- "zoneinfo": "Europe/Paris",
- "access": 100
}
{- "message": "string"
}
Update user permissions within a fleet.
fleet_guid required | string GUID of the fleet. |
Array of objects |
{- "users": [
- {
- "user_guid": "string",
- "access": 100
}
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Remove users from a fleet.
fleet_guid required | string GUID of the fleet. |
users | Array of strings List of user GUIDs to remove from the fleet. |
{- "users": [
- "string"
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Search for invites based on the specified search parameters. If no GUID parameters are given, the results will return all invites associated with your user email. Mixing multiple types of GUIDs, e.g., fleet and org GUIDs, will result in an error.
org_guid | string GUID of the organization to filter invites by. |
fleet_guid | string GUID of the fleet to filter invites by. |
device_guid | string GUID of the device to filter invites by. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "invites": [
- {
- "invite_guid": "string",
- "target_email": "user@example.com",
- "org_name": "string",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "fleet_name": "string",
- "fleet_guid": "2dad2a19-f584-4d3f-86ed-41fce8327033",
- "device_name": "string",
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6",
- "invited_by": "string",
- "access": 100
}
], - "pagination_token": "string"
}
Send an invite with the attributes specified. Users can only be invited using one GUID at a time. Request body parameters take precedence over header parameters. Mixing multiple types of GUIDs in the request body, e.g., fleet and org GUIDs, will result in an error.
Org-Guid | string GUID of the organization to invite the user to. |
org_guid | string GUID of the organization to invite the user to. |
fleet_guid | string GUID of the fleet to invite the user to. |
device_guid | string GUID of the device to invite the user to. |
target_email required | string <email> Email of the user to invite. |
access required | integer Access level to give the user upon joining the organization. |
{- "org_guid": "string",
- "fleet_guid": "string",
- "device_guid": "string",
- "target_email": "user@example.com",
- "access": 100
}
{- "message": "string",
- "invite_guid": "string"
}
Get the details for a specific invite.
invite_guid required | string GUID of the invite. If you create a new invite, the GUID is returned in the response body. The GUID should be url-encoded to ensure the path is valid. |
{- "invite": {
- "invite_guid": "string",
- "target_email": "user@example.com",
- "org_name": "string",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "fleet_name": "string",
- "fleet_guid": "2dad2a19-f584-4d3f-86ed-41fce8327033",
- "device_name": "string",
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6",
- "invited_by": "string",
- "access": 100
}
}
Search for organizations based on the specified attribute. Note that search results will exclude organizations that you do not have access to.
org_name | string Organization name to search for, can be a full or partial name. Searches are case-insensitive, and substrings will match. For example, a search for "labs" will match "Videon Labs, Inc.". |
user_guid | string GUID of a user to filter organization results by. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "orgs": [
- {
- "org_name": "string",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512",
- "access": 100
}
], - "pagination_token": "string"
}
Create an organization with the attributes specified.
org_name required | string [ 2 .. 256 ] characters ^\S[^\n\r\t\v\f]*\S$ Name of the organization. |
{- "org_name": "string"
}
{- "message": "string",
- "org_guid": "fe2bb349-40d9-4b0f-9f7d-e7a36e968512"
}
Get the details for a specific organization. Note that you will be unable to access organizations that you are not a member of.
org_guid required | string GUID of the organization. |
{- "org": {
- "org_name": "string"
}
}
Update the properties of a organization.
org_guid required | string GUID of the organization. |
org_name required | string [ 2 .. 256 ] characters ^\S[^\n\r\t\v\f]*\S$ Organization name |
{- "org_name": "string"
}
Selete a specific organization. Note that you will be unable to access organizations that you are not a member of.
org_guid required | string GUID of the organization. |
reason required | string <= 2048 characters Reason for deletion of organization |
{- "reason": "string"
}
Get organization events based on the provided attributes. Events are deleted 30 days after they occur.
org_guid required | string GUID of the organization. |
event_types | Array of strings Type of events to search for. If omitted, all event types are returned. |
start_time required | string <date-time> Date and time of the earliest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
end_time | string <date-time> Date and time of the latest events to return in ISO 8601 format as specified by RFC 3339, Section 5.6. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "events": [
- {
- "event_guid": "string",
- "device_guid": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "event_type": "string",
- "event_data": { }
}
], - "pagination_token": "string"
}
Get metadata for all devices in the organization
org_guid required | string GUID of the organization. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "metadata": [
- {
- "key": "string",
- "value": "string",
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6"
}
]
}
Get metadata for all devices in the organization that matches a search term
org_guid required | string GUID of the organization. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
search_keys required | Array of strings |
{- "search_keys": [
- "string"
]
}
{- "metadata": [
- {
- "key": "string",
- "value": "string",
- "device_guid": "d715815f-922d-4ed8-a707-bf9282879eb6"
}
]
}
Get the users for a specific organization. Note that you will be unable to access organizations that you are not a member of.
org_guid required | string GUID of the organization. |
user_guid | string GUID of a user to filter organization results by. |
pagination_size | integer [ 1 .. 60 ] Default: 50 The pagination size for the request. This is the maximum number of objects to return in the request. |
pagination_token | string non-empty Search results are paginated, up to 1MB of data or the client-defined amount (pagination_size), whichever is lower. If one of those limits is exceeded, the response will include a token to retrieve the next page. If you have a pagination token from a previous request, pass it in here (all other parameters the same) to get the next page. It may be necessary to repeat the call several times to obtain the full set of search results. When pagination_token is null or missing from the response, you have reached the end of the results. |
{- "users": [
- {
- "user_guid": "2c9a19c5-ac85-4da0-8708-2b80265927da",
- "access": 100
}
], - "pagination_token": "string"
}
Add a user to an organization, or if the user doesn't exist, create and add the user.
org_guid required | string GUID of the organization. |
user_guid | string User GUID (if adding existing user) |
name | string [ 1 .. 2048 ] characters Full name of the user. |
string <email> [ 1 .. 128 ] characters Email address of the user. | |
password | string [ 6 .. 256 ] characters Password for the user. |
phone_number | string or null Mobile phone number of the user (optional). Must start with + and country code. Can only contain plus sign and digits. |
locale | string <= 2048 characters User locale in BCP 47 (RFC 5646) format. |
zoneinfo | string <= 2048 characters User time zone in zoneinfo (tz database) format. |
access required | integer If user_guid was provided, the access level of the requested user. Otherwise, the access level of the current user. (100 = reader, 200 = user, 300 = admin) |
{- "user_guid": "string",
- "name": "string",
- "email": "user@example.com",
- "password": "string",
- "phone_number": 18142351111,
- "locale": "en_US",
- "zoneinfo": "Europe/Paris",
- "access": 100
}
{- "message": "string"
}
Update user permissions within an organization.
org_guid required | string GUID of the organization. |
Array of objects |
{- "users": [
- {
- "user_guid": "string",
- "access": 100
}
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Remove users from an organization.
org_guid required | string GUID of the organization. |
users | Array of strings List of user GUIDs to remove from the organization. |
{- "users": [
- "string"
]
}
{- "message": "string",
- "failed_users": [
- {
- "user_guid": "string",
- "reason": "string"
}
]
}
Get the details for a specific user. Note that you will be unable to access users that are not a member of your organization/fleet. When looking up other users only their name, picture, and user_guid will be returned.
user_guid required | string GUID of the user. You can use 'me' in place of your own user GUID. |
{- "user": {
- "user_guid": "2c9a19c5-ac85-4da0-8708-2b80265927da",
- "name": "string",
- "picture": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone_number": "string",
- "phone_number_verified": true,
- "locale": "en_US",
- "zoneinfo": "string",
- "enabled": true,
- "status": "string",
- "created": "string",
- "last_modified": "string",
- "mfa_sms_enabled": true,
- "mfa_totp_enabled": true
}
}
Update the properties of a user. Note that user accounts are largely self-managed, so the primary use-case is to edit your own properties.
user_guid required | string GUID of the user. You can use 'me' in place of your own user GUID. |
name | string Full name of the user. |
string <email> Email address of the user. | |
phone_number | string Mobile phone number of the user. |
locale | string User locale in BCP 47 (RFC 5646) format. |
zoneinfo | string User time zone in zoneinfo/tz format. |
enabled | boolean True if the user account is enabled. |
{- "name": "string",
- "email": "user@example.com",
- "phone_number": "string",
- "locale": "en_US",
- "zoneinfo": "string",
- "enabled": true
}
{- "message": "string"
}
The presence of this endpoint allows us to comply with GDPR and similar privacy laws. Use this to handle “right to be forgotten” requests. Note that user accounts are largely self-managed, so the primary use-case is to delete your own account.
user_guid required | string GUID of the user. You can use 'me' in place of your own user GUID. |
reason required | string <= 2048 characters Reason for deletion of user |
{- "reason": "string"
}