signageOS REST API (0.0.0)
Download OpenAPI specification:Download
signageOS helps any developer to build apps for displays and remotely manage large networks of displays in a standardized way. No matter what display you are using, all APIs work across all of them.
Read more here:
- signageOS website
- signageOS Docs - documentation for developers and users
The signageOS REST API brings extra features for signageOS users with out-of-the-box device management, monitoring, and maintenance service provided by signageOS. With an existing, scalable, and flexible solution you can easily integrate advanced features into your CMS via standardized REST API. No need to re-invent the wheel again.
All APIs are standardized and available across all supported devices.
To use REST API, you need an Organization on Device Plan 1.0, 2.0 or 3.0. REST API does not work on free Open Device Plan.
Domain | Description |
---|---|
Device | Configure the device, set timers, brightness, volume, RM server url, update the Core App, update firmware and much more, get device uptime, temperature, outages, content status or custom logs. |
Applet | Way to create your own Applets and its versions over API instead of Box. |
Timing | Timing REST API helps you schedule Applets (your HTML player) on the devices. |
Organizations | Organization/User REST API helps you to manage your account and create/delete organizations and retrieve security tokens. |
Account | Manage or delete security account tokens. |
Firmware | Manage firmware versions on supported devices. |
Emulator | Create emulators, test your environment or simply manage them. |
Policy | Manage policies with various settings, set up new policies or configure exiting policies and assign them to devices. |
Tag | Manage tags. |
Alert | (Coming soon) Manage device alerts and get informed about anomalies on production devices. |
Location | (Coming soon) Managing and filtering devices by assigned locations. |
Bulk Provisioning | Register your devices and automate the deployment |
For REST API your application needs to be authenticated using request Header: X-Auth
which is different for every single organization (end company owning/using devices). There is a possibility to create a sub-organization for any of your customers in signageOS Box.
- Go to Organizations section in signageOS Box and generate your token_id & token_secret.
- Use it as
X-Auth
header separated by semicolon -__TOKEN_ID:__TOKEN_SECRET__
.
# X-Auth = client_id:client_secret
curl -XGET -H "X-Auth: 87e376c08d16XXXXb796294744:5ef829c933aXXXX710f5388a27fee" \
https://api.signageos.io/v1/device
If
X-Auth
token is invalid or generated token does not have permissions in organization you will receive403 Forbidden
response.
signageOS REST API automatically applies quotas on REST requests. The quota is counted per IP address of the Request origin.
The quota is set to 200 requests per second
for instant response and 500 queued requests
with a slightly delayed response based on request type and performance.
If you reach the quota API returns 429 Too Many Requests
response.
It is important to note that after creating a Company through REST API, the default Device plan is set to 3.0. This can be changed from within SignageOS Box under your Company profile.
There is enforced maximum length of data that can be returned in a single response. If there's more data available, than the limit allows, data will be returned in multiple pages. Cursor based pagination will be used. https://jsonapi.org/profiles/ethanresnick/cursor-pagination/#auto-id-query-parameters
Parameter limit
can be used for setting the page size. Setting the limit over the max allowed limit will result in error. Beware not to change the limit in the middle of the process of fetching pages. If a different limit is specified, process needs to be started over from the first page.
Request without additional parameters will return the first page. If there are more data available, the response will contain a header "Link" that will contain the link to the next page, e.g. <https://api.signageos.io/v1/device?until=2021-11-01T00%3A33%3A38.918Z>; rel="next"
. Then by performing another request with the link next page will be returned. Each response will contain a link to the next page until there are no more data left.
List parameters
There are two ways lists could be encoded:
... <LIST_PARAM_NAME>=<VALUE_0>&<LIST_PARAM_NAME>=<VALUE_1>&<LIST_PARAM_NAME>=<VALUE_2> ...
... <LIST_PARAM_NAME>=<VALUE_0>,<VALUE_1>,<VALUE_2>...
For example, list with values uid1
, uid2
, uid3
, encoded in URL as parameter deviceUid
will look like this:
deviceUid=uid1&deviceUid=uid2&deviceUid=uid3
or deviceUid=uid1,uid2,uid3
In the case of comma-separated values, any string value containing a comma should be escaped.
While some of API endpoints can be “fire and forget”, i.e. there is no need to report back to the client, for example, when initiating a bulk actions. For others, the client may need a response, but can't get it in the original request because of the long processing time, i.e. in case of firmware upgrade request or Applet operations. In those cases, we have to do a "pre-flight" check and connect directly with device to execute the action, which can be a time-consuming process, often better performed asynchronously.
For these asynchronous operations (typically all /device/xxxx
endpoints) we adopted a polling strategy. Clients can retrieve the results of asynchronous requests by polling a special endpoint that will return the result of the request, once it's available.
Standard Flow Example
- The client sends the
PUT
request - set brightness to 100% - to the server to begin the operation. 1. The server accepts the request, confirming by200 OK
message. 1. The asynchronous process begins on the server side, triggering desired function - connecting to device, setting a brightness and confirming the value was set and accepted by the device. 1. Finally, the server finished the action by receiving a confirmation from the device - brightness successfully set to 100%. During this process, the client polls theGET
URI of the brightness endpoint. The server returns the status of the last request:json { "uid": "deed07d35fdxxx", "deviceUid": "e824fcd24a4fxxx", "createdAt": "2022-07-22T12:06:45.540Z", "succeededAt": "2022-07-22T12:06:55.850Z", "failedAt": null, "brightness1": 90, "brightness2": 40, "timeFrom1": "09:00:00", "timeFrom2": "20:00:00" }
Status of the operation is available undersucceededAt
andfailedAt
keys. If the request succeeeded,succeededAt
will be set. If it failed,failedAt
will be set. If non of the two are set, it means that the request is still pending.Important consideration In the polling pattern, the client must decide how frequently to poll the URL and when to give up. One common choice is exponential backoff, which increases the interval between checks until a maximum interval is reached or the response (succeededAt/failedAt) is received.
Create Account Security Token
Create security token for account by username/email/id and password.
query Parameters
identification | string Example: identification={{username}} Login username (required) |
password | string Example: password={{password}} Login password (required) |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json Body need to by in JSON |
Responses
Delete All Account Security Tokens
Delete all security tokens from account by username/email/id and password.
query Parameters
identification | string Example: identification={{username}} Login username (required) |
password | string Example: password={{password}} Login password (required) |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Delete One Account Security Token
Delete one security token from account by username/email/id and password and token itself.
path Parameters
token required | string Example: {{token}} |
query Parameters
identification | string Example: identification={{username}} Login username (required) |
password | string Example: password={{password}} Login password (required) |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
The Applet is an HTML5/Javascript application that runs within the signageOS Core App. Applet can leverage the Applet JS API for easy access to the device native functions like saving files into internal memory and using accelerated video playback among others.
- Start Your Development With signageOS CLI
- Applet-related documentation on signageOS Docs
Get Applets
Get all applets of current organization
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "bd74395949f7de6f143e59f00e8e351b8a01899873bb76be71",
- "name": "Demo Applet",
- "createdAt": "2017-05-24T08:58:56.994Z"
}, - {
- "uid": "0a146ce414a69e4274bb7b60e18f47475f603c203f6a37e713",
- "name": "Demo Applet 2",
- "createdAt": "2017-07-13T14:27:26.387Z"
}
]
Create Applet
Create a new Applet that can be assigned to the device.
Body
Content-type:
application/json
or application/x-www-form-urlencoded
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | Your new Applet name, eg. Cool Applet |
Assigning Applet to Device
Looking for a way how to set Applet to device? The endpoint you are looking for is called Timing.
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "Applet Name"
}
Response samples
- 201
- 400
{- "message": "OK"
}
Get Applet
Get one applet by appletUid
. The UID can be found in list of all applets in signageOS Box.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique applet identification |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "bd74395949f7de6f143e59f00e8e351b8a01899873bb76be78",
- "name": "Demo Applet",
- "createdAt": "2017-05-24T08:58:56.994Z"
}
Delete Applet
Delete one Applet by appletUid
. All assigned Timings on any device have to be deleted first.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique applet identification |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
- 500
{- "message": "OK"
}
Create Applet Version
To create new Applet version you need just a new version of HTML (binary).
There is a better way, use signageOS CLI for creating multifile Applets
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique Applet identification |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Required | Description |
---|---|---|---|
binary |
string | required | HTML file |
version |
string (semver) | required | Version of your Applet, e.g. 1.0.12 |
frontAppletVersion |
string (semver) | required | Version of Content Applet JS API |
entryFile |
string | optional | Entry file name |
Assigning Applet to Device
Looking for a way how to set Applet to device? The endpoint you are looking for is called Timing.
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "binary": "<html><h1>Hello world</h1></html>",
- "version": "{{appletVersion}}",
- "frontAppletVersion": "1.0.5"
}
Response samples
- 201
{- "message": "OK"
}
Get Applet Versions
Get all Applet versions of the Applet by appletUid
.
Several Applet versions make upgrade process and device operation a lot safer. This API call returns versions of selected Applet.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | unique applet identification |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "appletUid": "5c407402c8268f54d1459946de7ba7a2b7711788d9bb036aab",
- "version": "1.0.816",
- "createdAt": "2021-11-11T07:05:17.737Z",
- "updatedAt": "2021-11-11T07:05:41.654Z",
- "binary": null,
- "entryFile": null,
- "frontAppletVersion": "1.0.5",
- "publishedSince": null,
- "deprecatedSince": null,
- "builtSince": "2021-11-11T07:05:44.761Z"
}, - {
- "appletUid": "5c407402c8268f54d1459946de7ba7a2b7711788d9bb036aab",
- "version": "1.1.1",
- "createdAt": "2022-02-21T13:55:24.246Z",
- "updatedAt": "2022-02-21T13:55:24.246Z",
- "binary": null,
- "entryFile": null,
- "frontAppletVersion": "1.0.5",
- "publishedSince": null,
- "deprecatedSince": null,
- "builtSince": "2022-02-21T13:55:27.341Z"
}
]
Get Applet Version
Get one specific Applet version of the Applet by appletUid
and appletVersion
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique applet identification |
appletVersion |
string (semver) | optional | Version of your Applet, e.g. 1.0.12 |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "appletUid": "bd74395949f7de6f143e59f00e8e351b8a01899873bb76be78",
- "version": "0.0.1",
- "createdAt": "2017-05-24T09:12:13.251Z",
- "updatedAt": "2017-09-12T09:09:53.240Z",
- "binary": null,
- "frontAppletVersion": "1.0.3",
- "publishedSince": null,
- "deprecatedSince": null,
- "builtSince": "2017-10-10T19:54:25.206Z"
}
Update Applet Version
Update existing Applet version of the Applet by appletUid
and appletVersion
.
To update any of your Applet version you need just new version of HTML (binary).
There is a better way, use signageOS CLI for creating multifile Applets
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique Applet identification |
appletVersion |
string (semver) | optional | Version of your Applet, e.g. 1.0.12 |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Required | Description |
---|---|---|---|
binary |
string | required | HTML file as string |
frontAppletVersion |
string (semver) | required | Version of Content Applet JS API |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "binary": "<html><h1>Hello world</h1></html>",
- "frontAppletVersion": "1.0.5"
}
Response samples
- 200
{- "message": "OK"
}
Upload Applet Version Files
Upload file to applet version files by appletUid
& appletVersion
.
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
query Parameters
build | boolean Do the build of applet version when file is uploaded. Accepted values '0', '1', 'true', 'false'. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
path required | string Path where will be file uploaded. Must be an absolute path. |
hash required | string MD5 checksum of uploaded file |
type | string Content-Type (MIME type) of the uploaded file |
Responses
Request samples
- Payload
{- "path": "index.html",
- "hash": "045e372a1eeafee2ce5580443c18a91d",
- "type": "text/html"
}
Response samples
- 200
- 400
- 404
{- "upload": {
- "request": {
- "fields": {
- "Key": "applet/bd74395949f7de6f143e59f00e8e351b8a01899873bb76be78/0.0.1/index.html",
- "Content-Type": "text/html",
- "Content-MD5": "xxx",
- "x-amz-meta-content_md5": "xxx",
- "bucket": "signageos-public",
- "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
- "X-Amz-Credential": "AKIASQI4742I7HOGZJZ6/20210412/eu-central-1/s3/aws4_request",
- "X-Amz-Date": "20210412T154049Z",
- "Policy": "eyJleHBpcmF0aW9uIjoiMjAyMS0wNC0xMlQxNjo0MDo0OVoiLCJjb25kaXRpb25zIjpbWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCwyMDAwMDAwMDAwXSx7IktleSI6ImFwcGxldC9iZDc0Mzk1OTQ5ZjdkZTZmMTQzZTU5ZjAwZThlMzUxYjhhMDE4OTk4NzNiYjc2YmU3OC8wLjAuMS9pbmRleC5odG1sIn0seyJDb250ZW50LVR5cGUiOiJ0ZXh0L2h0bWwifSx7IkNvbnRlbnQtTUQ1IjoieHh4In0seyJ4LWFtei1tZXRhLWNvbnRlbnRfbWQ1IjoieHh4In0seyJidWNrZXQiOiJzaWduYWdlb3MtcHVibGljIn0seyJYLUFtei1BbGdvcml0aG0iOiJBV1M0LUhNQUMtU0hBMjU2In0seyJYLUFtei1DcmVkZW50aWFsIjoiQUtJQVNRSTQ3NDJJN0hPR1pKWjYvMjAyMTA0MTIvZXUtY2VudHJhbC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsiWC1BbXotRGF0ZSI6IjIwMjEwNDEyVDE1NDA0OVoifV19",
- "X-Amz-Signature": "946812d88fbf24f2d072559aa734e50ba94db8a7cb637310742f7060c0ef9366"
}
}
},
}
Get Applet Version Files
Get file of applet version files by appletUid
, appletVersion
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Get Applet Version File
Get file of applet version files by appletUid
, appletVersion
& appletFileName
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
appletFileName required | string Example: {{appletFileName}} File name in Applet Version. It has to be relative path to applet root. It cannot start with slash |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Upload and Update Applet Version Files
Upload and update existing file to applet version files by appletUid
, appletVersion
& appletFileName
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
appletFileName required | string Example: {{appletFileName}} File name in Applet Version. It has to be relative path to applet root. It cannot start with slash |
query Parameters
build | boolean Do the build of applet version when file is uploaded. Accepted values '0', '1', 'true', 'false'. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
hash required | string MD5 checksum of uploaded file |
type | string Content-Type (MIME type) of the uploaded file |
Responses
Request samples
- Payload
{- "hash": "045e372a1eeafee2ce5580443c18a91d",
- "type": "text/javascript"
}
Response samples
- 200
{- "upload": {
- "request": {
- "fields": {
- "Key": "applet/567f04da699f0133503204a10c03c7dfbbac06e12d34e20b63/1.0.763/applet-file-name",
- "Content-MD5": "xxx",
- "x-amz-meta-content_md5": "xxx",
- "bucket": "signageos-public",
- "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
- "X-Amz-Credential": "AKIASQI4742I7HOGZJZ6/20210420/eu-central-1/s3/aws4_request",
- "X-Amz-Date": "20210420T013226Z",
- "Policy": "eyJleHBpcmF0aW9uIjoiMjAyMS0wNC0yMFQwMjozMjoyNloiLCJjb25kaXRpb25zIjpbWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCwyMDAwMDAwMDAwXSx7IktleSI6ImFwcGxldC81NjdmMDRkYTY5OWYwMTMzNTAzMjA0YTEwYzAzYzdkZmJiYWMwNmUxMmQzNGUyMGI2My8xLjAuNzYzL2FwcGxldC1maWxlLW5hbWUifSx7IkNvbnRlbnQtTUQ1IjoieHh4In0seyJ4LWFtei1tZXRhLWNvbnRlbnRfbWQ1IjoieHh4In0seyJidWNrZXQiOiJzaWduYWdlb3MtcHVibGljIn0seyJYLUFtei1BbGdvcml0aG0iOiJBV1M0LUhNQUMtU0hBMjU2In0seyJYLUFtei1DcmVkZW50aWFsIjoiQUtJQVNRSTQ3NDJJN0hPR1pKWjYvMjAyMTA0MjAvZXUtY2VudHJhbC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsiWC1BbXotRGF0ZSI6IjIwMjEwNDIwVDAxMzIyNloifV19",
- "X-Amz-Signature": "2c31bd411be6125580ff9674bd7b3a6a2f2ea196beb00615ad992d8e10646cd3"
}
}
},
}
Delete Applet Version File
Delete an existing file to applet version files by appletUid
, appletVersion
& appletFileName
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
appletFileName required | string Example: {{appletFileName}} File name in Applet Version. It has to be relative path to applet root. It cannot start with slash |
query Parameters
build | boolean Do the build of applet version when file is uploaded. Accepted values '0', '1', 'true', 'false'. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Test Applet By Version
Create new applet version test of applet by appletUid
and appletVersion
.
To create a new Applet version test suite you need just the binary (string with test source code).
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique Applet identification |
version |
string | required | Applet version |
Body
Field | Type | Required | Description |
---|---|---|---|
identifier |
string | required | Test suite identifier |
binary |
string | required | Binary as string |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "identifier": "{{testIdentifier}}",
- "binary": "console.log('OK');"
}
Response samples
- 200
{- "message": "OK"
}
Test Applet By Version
Get all applet version tests of applet by appletUid
& appletVersion
.
Applet tests allow you to test the functionality and performance of your applets automatically.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique applet identification |
appletVersion |
string (semver) | required | Version of your Applet, e.g. 1.0.12 |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
- 404
[- {
- "appletUid": "567f04da699f0133503204a10c03c7dfbbac06e12d34e20b63",
- "appletVersion": "1.0.763",
- "identifier": "some-random-test",
- "binary": "console.log('OK');"
}, - {
- "appletUid": "567f04da699f0133503204a10c03c7dfbbac06e12d34e20b63",
- "appletVersion": "1.0.763",
- "identifier": "test-identifier-0",
- "binary": "console.log('OK');"
}
]
Test Applet By Version and Test Identifier
Get content from one applet version test of applet by appletUid
, appletVersion
and testIdentifier
.
Applet tests allow you to test the functionality and performance of your applets automatically.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique applet identification |
appletVersion |
string (semver) | required | Version of your Applet, e.g. 1.0.12 |
testIdentifier |
string | required | Name of the test suite |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
testIdentifier required | string Example: {{testIdentifier}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
- 404
{- "binary": "example-binary-content"
}
Test Applet By Version And Identifier
Update existing applet version test of applet by appletUid
, appletVersion
& testIdentifier
To update existing Applet version test suite you need just the binary (string with test source code).
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique Applet identification |
version |
string | required | Applet version |
identifier |
string | required | Test suite identifier |
Body
Field | Type | Required | Description |
---|---|---|---|
binary |
string | required | Binary as string |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
testIdentifier required | string Example: {{testIdentifier}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "binary": "console.log('OK');"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Test Applet By Version And Identifier
Delete existing Applet version test by appletUid
, appletVersion
& testIdentifier
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
appletUid |
string | required | Unique Applet identification |
appletVersion |
string | required | Applet version |
testIdentifier |
string | required | Test suite identifier |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
testIdentifier required | string Example: {{testIdentifier}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Get Alerts
Get all alerts for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination |
number greater than 0 | optional |
Start paginating result by a given number of items on the page. Next page link is available in the response header Link .E.g.: <https://api.signageos/v1/alert?pagination=50&createdUntil=2020-10-22T16%3A10%3A00.000Z>; rel="next" |
createdUntil |
string | optional |
Filter by alert createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
archived |
boolean | optional |
Filter archived/active alerts. Accepted values '0', '1', 'true', 'false' |
query Parameters
pagination | integer Example: pagination=50 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "alertUid": "e8e6da9206f377289c2c5b8c0eb0155ee8f45c4f76b278085b",
- "organizationUid": "43259e30b1423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "description": "Alert for PB 5",
- "alertRuleUid": "147c0d4a5846da4b4cfddf231744c4f4597eaf0b7c7610381f",
- "createdAt": "2021-09-21T13:52:07.665Z",
- "archivedAt": null,
- "deviceUids": [ ],
- "latelyChangedAt": "2021-09-21T13:52:07.665Z",
- "snoozeRule": null
}, - {
- "alertUid": "cdc221a115cf86edc9def5a6acbd1d83edc95455477edd8031",
- "organizationUid": "43259e30b1423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "description": "Alert for PB 4",
- "alertRuleUid": "147c0d4a5846da4b4cfddf231744c4f4597eaf0b7c7610381f",
- "createdAt": "2021-09-21T13:52:02.218Z",
- "archivedAt": null,
- "deviceUids": [ ],
- "latelyChangedAt": "2021-09-21T13:52:02.218Z",
- "snoozeRule": null
}, - {
- "alertUid": "78db726b0f6f7b3be452469e6977261895036fd04661cbe42f",
- "organizationUid": "43259e30b1423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "description": "Alert for PB 3",
- "alertRuleUid": "147c0d4a5846da4b4cfddf231744c4f4597eaf0b7c7610381f",
- "createdAt": "2021-09-21T13:51:57.914Z",
- "archivedAt": null,
- "deviceUids": [ ],
- "latelyChangedAt": "2021-09-21T13:51:57.914Z",
- "snoozeRule": null
}, - {
- "alertUid": "0c2a72495fadb7c3985d227467a1f100bb81a217e0cec2f827",
- "organizationUid": "43259e30b1423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "description": "Alert for PB 2",
- "alertRuleUid": "147c0d4a5846da4b4cfddf231744c4f4597eaf0b7c7610381f",
- "createdAt": "2021-09-21T13:51:53.597Z",
- "archivedAt": null,
- "deviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "latelyChangedAt": "2021-09-22T08:02:10.000Z",
- "snoozeRule": {
- "type": "datetime",
- "snoozedUntil": "2021-10-23T07:00:00.906Z"
}
}
]
Create Alert
Get all alerts for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination |
number greater than 0 | optional | Start paginating result by a given number of items on the page. Next page link is available in the response header Link . E.g.: ; rel="next" |
createdUntil |
string | optional | Filter by alert createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
archived |
boolean | optional | Filter archived/active alerts. Accepted values '0', '1', 'true', 'false' |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | Name of the new alert |
organizationUid |
string | required | Uid of organization to which alert will be assigned |
description |
string | required | Description of the alert |
alertRuleUid |
string | required | Created alert rule that will be assigned to this new alert |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "New alert name",
- "description": "new description",
- "organizationUid": "{{organizationUid}}",
- "alertRuleUid": "alert rule uid"
}
Response samples
- 201
{- "message": "OK"
}
Get Alert
Get alert for current Organization by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "alertUid": "e8e6da9206f377289c2c5b8c0eb0155ee8f45c4f76b278085b",
- "organizationUid": "43259e30b1423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "description": "Alert for PB 5",
- "alertRuleUid": "147c0d4a5846da4b4cfddf231744c4f4597eaf0b7c7610381f",
- "createdAt": "2021-09-21T13:52:07.665Z",
- "archivedAt": null,
- "deviceUids": [ ],
- "latelyChangedAt": "2021-09-21T13:52:07.665Z",
- "snoozeRule": null
}
Update Alert Description
Update alert description by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
description |
string | required | New description for updated alert |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "description": "new alert description"
}
Response samples
- 200
{- "message": "OK"
}
Archive Alert
Archive one alert by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Unarchive Alert
Unarchive one alert by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{ "message\"": "OK" }
Snooze Alert
Snooze one alert by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
snoozeRule |
object | required | Properties for alert https://demo.signageos.io/dev/alerts/modules.html#snoozerule |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "snoozeRule": {
- "type": "update",
- "snoozedUntil": 2
}
}
Response samples
- 200
{- "message": "OK"
}
Snooze Device Alert
Snooze one alert on one device by alertUid
and deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
deviceUid |
string | required | Device unique identification |
Body
Field | Type | Required | Description |
---|---|---|---|
snoozeRule |
object | required | Properties for alert (only datetime is available) https://demo.signageos.io/dev/alerts/modules.html#snoozerule |
path Parameters
alertUid required | string Example: {{alertUid}} |
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "snoozeRule": {
- "type": "datetime",
- "snoozedUntil": "2038-01-19T03:14:07.000Z"
}
}
Response samples
- 204
# Empty response
Unsnooze Device Alert
Unsnooze one alert on one device by alertUid
and deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
deviceUid |
string | required | Device unique identification |
Body
Field | Type | Required | Description |
---|
path Parameters
alertUid required | string Example: {{alertUid}} |
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 204
# Empty response
Unsnooze Alert
Unsnooze one alert by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{ "message": "OK" }
Assigne Devices to Alert
Assign device to alert by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
deviceIdentityHashes |
array | required | Array of deviceUids that will be assigned to this alert. |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
"{\n \"alertUid\": {{alertUid}},\n \"deviceIdentityHashes\": [{{deviceUid}}]\n}"
Response samples
- 200
{- "message": "OK"
}
Unassigne Devices from Alert
Unassign alert from devices by alertUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
alertUid |
string | required | Unique Alert Identification |
deviceIdentityHashes |
array | required | Array of deviceUids that will be unassigned from this alert. |
path Parameters
alertUid required | string Example: {{alertUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
"{\n \"alertUid\": {{alertUid}},\n \"deviceIdentityHashes\": [{{deviceUid}}]\n}"
Response samples
- 200
{- "message": "OK"
}
Get Alert Rules
Get list of all alert rules in your company.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination |
number | optional | Start paginating result by given number items on-page. Next page link is available on in response under header `Link`. E.g.: `; rel="next"` |
archived |
boolean | optional | Filter archived alert rules. Accepted values '0', '1', 'true', 'false' |
paused |
boolean | optional | Filter paused alert rules. Accepted values '0', '1', 'true', 'false' |
name |
string | optional | Filter alert rules by name |
alertType |
string | optional | Filter alert rules corresponding with type. Accepted values 'DEVICE', 'POLICY', 'APPLET' |
query Parameters
alertType | string Example: alertType=DEVICE |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "alertRuleUid": "6770d276193fc503c2c72408698a47fca257d8cc9b5e994bb9",
- "name": "Online Status Demo Org",
- "description": null,
- "alertType": "DEVICE",
- "companyUid": "5d9bd72df4d187053cc7d2474c781cf590b10d2d7a129cb1da",
- "createdAt": "2021-12-08T14:28:33.066Z",
- "archivedAt": null,
- "pausedAt": null,
- "filter": { },
- "conditions": {
- "ALL": [
- {
- "type": "ALIVE_AT",
- "op": [
- ">",
- "180000"
]
}
], - "AND_ANY_OF": [ ]
}, - "organizationUids": [
- "ebfe3522361f83f8ebf893a176fdaa3bdf2b33123ab166c934"
], - "threshold": {
- "type": "percentage",
- "percentage": 1
}, - "periodicity": 3600,
- "action": null
}, - {
- "alertRuleUid": "5738a81daf124fddf5e7560273dbdc518d062a0146f8d3014c",
- "name": "Test",
- "description": null,
- "alertType": "DEVICE",
- "companyUid": "5d9bd72df4d187053cc7d2474c781cf590b10d2d7a129cb1da",
- "createdAt": "2021-07-28T14:29:10.051Z",
- "archivedAt": "2022-02-22T19:09:27.346Z",
- "pausedAt": null,
- "filter": null,
- "conditions": {
- "ALL": [
- {
- "type": "INVALID_SSL_CERTIFICATE",
- "op": true
}
], - "AND_ANY_OF": [
- {
- "type": "PIN_CODE",
- "op": true
}
]
}, - "organizationUids": null,
- "threshold": {
- "type": "percentage",
- "percentage": "23"
}, - "periodicity": null,
- "action": null
}
]
Create Alert Rule
Create a new alert rule within your company by companyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
No parameters |
Body
FIeld | Type | Required | Description |
---|---|---|---|
name |
string | required | Name of the new alert rule |
companyUid |
string | required | Unique Company Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "alert rule name",
- "companyUid": "{{companyUid}}"
}
Response samples
- 201
{- "message": "OK"
}
Get Alert Rule
Get one specific alert rule by alertRuleUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertRuleUid |
string | required | Unique Alert Rule Identification |
path Parameters
alertRuleUid required | string Example: {{alertRuleUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "alertRuleUid": "9af876c55c17cf13c123261eaac78e59e9d2b5d913a79bf96c",
- "name": "Test Fry",
- "companyUid": "7fc1f0cd1b0ae527468fbe6b7a5a98b4cd93872235e11c6aaf",
- "createdAt": "2021-05-25T18:45:54.983Z"
}
Update Alert Rule
Update one existing alert rule by alertRuleUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertRuleUid |
string | required | Unique Alert Rule Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | optional | New name of the updated alert rule |
description |
string | optional | New description |
alertType |
string | optional | Accepted values 'DEVICE', 'POLICY', 'APPLET' |
organizationUids |
array | optional | Organizations which is checked against the rule |
filter |
object | optional | Pre-filter of devices which the alert will be checked against. It's used for percentage threshold of alert creation as base. The mandatory filter is organization set above. This is extended filter for example device applicationType (tizen, webos, etc.). |
conditions |
object | optional | Specify all conditions which devices has to match to state alert as applicable. |
threshold |
object | optional | Specify threshold of rule. It is comparing number of devices matched the conditions above relatively against the total number devices filtered by filter above |
periodicity |
object | optional | Specify how often the rule will be checked against the current state of devices. |
action |
object | optional | Optionally specify the action of alert rule. This action will happen when alert rule is creating an alert. |
Filter
Field | Type | Required | Description |
---|---|---|---|
applicationType |
string | optional | Type of application one of ('sssp', 'tizen', 'webos', 'android', 'chrome', 'brightsign', 'linux', 'windows', 'default' ) |
applicationVersion |
array | optional | Semver comparison of core app version [SemverOperator, string] - ([">", "3.12.0"]) |
frontDisplayVersion |
array | optional | Semver comparison of internal front-display library version[SemverOperator, string] - ([">", "9.15.0"]) |
firmwareType |
string | optional | Partial matching of string |
firmwareVersion |
string | optional | Partial matching of string |
managementPackageVersion |
array | optional | Semver comparison of core management package version ([">", "3.12.0"]) |
frontPackageVersion |
array | optional | Semver comparison of core front package version ([">", "3.12.0"]) |
tagUids |
string | optional | List of tags. Device has match all tags in list |
model |
string | optional | Partial matching of string |
name |
string | optional | Partial matching of string |
extendedManagement |
boolean | optional | Filter device with or without extended management |
extendedManagement |
Date | optional | Filter only devices provisioned since the date |
supportedResolutions |
ResolutionItem | optional | Filter only devices supporting specified resolution |
Conditions
NumericOperator
Operators |
---|
> |
< |
<= |
>= |
= |
!= |
TimeRangeOperator
Operators |
---|
> |
< |
Conditions values types
Condition type | Type | Example |
---|---|---|
OCCURRENCES_IN_TIME_RANGE_TO_PAST |
array | [operator: NumericOperator, occurrences: number, rangeInPastMs: number] -([">", 12, 36000]) |
NUMERIC_RANGE |
array | [operator: NumericOperator, nmbr: number] - (">", 12) |
STRING_OCCURRENCES_IN_TIME_RANGE_TO_PAST |
array | [str: string, operator: NumericOperator, occurrences: number, rangeInPastMs: number] - ("action", ">" 12, 36000) |
TIME_RANGE_TO_PAST |
array | [operator: TimeRangeOperator, rangeInPastMs: number] - ("<", 36000) |
PERCENTAGE_RANGE |
array | [operator: NumericOperator, percentage: number] - ("<", 50) |
NUMERIC_RANGE |
array | [operator: NumericOperator, nmbr: number] - ("<", 50) |
NUMERIC_RANGE |
string | 'DEVICE' |
MATCH_SEMVER |
array | [operator: SemverOperator, version: string] - (">", "3.12.0") |
STRING_LIST |
array | ["string1", "string2"] |
POLICY_LIST |
string | One of ('VOLUME', 'BRIGHTNESS', 'TIMERS', 'PROPRIETARY_TIMERS', 'RESOLUTION', 'ORIENTATION', 'REMOTE_CONTROL', 'APPLICATION_VERSION', 'FIRMWARE_VERSION', 'DEBUG', 'DATETIME', 'POWER_ACTIONS_SCHEDULE', 'TEMPERATURE', 'BUNDLED_APPLET') |
WIFI_OR_ETHERNET |
string | One of ('wifi', 'ethernet') |
INPUT_SOURCE |
string | One of ('urlLauncher', 'hdmi1', 'hdmi2', 'hdmi3', 'hdmi4') |
TIMERS |
array | TimerSettings[] |
RESOLUTION |
object | ResolutionItem |
ORIENTATION |
object | OrientationSettings |
Device condition
Condition | Condition values | Description |
---|---|---|
INCORRECT_TIME |
BOOLEAN | Is used when device has incorrect time based on current time & timezone of device |
INVALID_SSL_CERTIFICATE |
BOOLEAN | Is used when device is detected having some problems with SSL certificates (it can be even time related) |
FAILED_ACTIONS |
BOOLEAN | Is used when device performing/executing action has failed for amount of time in past |
CONNECTIONS |
BOOLEAN | Is used when device performing/executing action has failed for amount of time in past |
MODEL |
array | BOOLEAN if device has model or not |
SERIAL_NUMBER |
BOOLEAN | Check if device has serial number or not |
NAME |
string | Check if device partially match some string |
PIN_CODE |
boolean | Check if device has PIN code reported |
MANAGEMENT_PACKAGE_VERSION |
MATCH_SEMVER | Check if device match semver version |
FRONT_PACKAGE_VERSION |
MATCH_SEMVER | Check if device match semver version |
FRONT_DISPLAY_VERSION |
MATCH_SEMVER | Check if device match semver version |
FIRMWARE_TYPE |
string | Check if device match semver version |
TAG_UIDS |
STRING_LIST | Check if device has selected tags |
POLICIES |
POLICY_LIST | Check if device has selected policy settings |
LAST_PROVISION_AT |
TIME_RANGE_TO_PAST | Check if device was provisioned in specified time range in past. Useful to detect new devices are provisioned |
LAST_DEPROVISION_AT |
TIME_RANGE_TO_PAST | Check if device was deprovisioned in specified time range in past. Useful to detect devices are re-provisioned |
EXTENDED_MANAGEMENT |
BOOLEAN | Check if device has access to extended management |
ALIVE_AT |
TIME_RANGE_TO_PAST | Check if device last ping in specified time range in past |
NETWORK_INTERFACES |
WIFI_OR_ETHERNET | Check if device is connected using WiFi or Ethernet |
BATTERY_STATUS |
PERCENTAGE_RANGE | Check if device has enough or not enough battery |
STORAGE_STATUS |
PERCENTAGE_RANGE | Check if device has or has not enough free storage |
CURRENT_TIMEZONE |
MATCH_STRING | Check if timezone match the string |
DISPLAY_SETTING_BACKLIGHT |
PERCENTAGE_RANGE | Check if match expected value of display settings |
DISPLAY_SETTING_CONTRAST |
PERCENTAGE_RANGE | Check if match expected value of display settings |
DISPLAY_SETTING_SHARPNESS |
PERCENTAGE_RANGE | Check if match expected value of display settings |
DISPLAY_SETTING_MAX_TEMPERATURE |
NUMERIC_RANGE | Max temperature in celsius |
INPUT_SOURCE |
INPUT_SOURCE | Check if current input source is set to specified source |
VOLUME |
PERCENTAGE_RANGE | Check if current volume is expected |
BRIGHTNESS |
PERCENTAGE_RANGE | Check if current brightness is expected |
TIMERS |
TIMERS | Check if current native timers are set as expected |
PROPRIETARY_TIMERS |
TIMERS | Check if current proprietary timers are set as expected |
RESOLUTION |
RESOLUTION | Check if current resolution is set as expected |
ORIENTATION |
ORIENTATION | Check if current orientation is set as expected |
REMOTE_CONTROL |
BOOLEAN | Check if current RC is locked or not |
APPLICATION_VERSION |
MATCH_SEMVER | Check if current core app version is correct |
FIRMWARE_VERSION |
MATCH_STRING | Check if current FW version match some string |
DEBUG |
BOOLEAN | Check if debug is enabled or not |
POWER_ACTIONS_SCHEDULE |
SCHEDULED_POWER_ACTIONS | Check if current scheduled power actions are correctly set |
TEMPERATURE |
NUMERIC_RANGE | Check if current scheduled power actions are correctly set |
INSTALLED_PACKAGE |
MATCH_STRING | Check if specified package is installed |
SCREENSHOT |
OCCURRENCES_IN_TIME_RANGE_TO_PAST | Check if number of screenshots was received in time |
FEATURE_TESTS |
BOOLEAN | Check if feature tests has passed |
Policy condition
Condition | Condition values | Description |
---|---|---|
POLICY_VIOLATION_VOLUME |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_BRIGHTNESS |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_TIMERS |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_PROPRIETARY_TIMERS |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_RESOLUTION |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_ORIENTATION |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_REMOTE_CONTROL |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_APPLICATION_VERSION |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_FIRMWARE_VERSION |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_DEBUG |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_DATETIME |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_POWER_ACTIONS_SCHEDULE |
BOOLEAN | Check violation of any of existing policy device settings type |
POLICY_VIOLATION_TEMPERATURE |
BOOLEAN | Check violation of any of existing policy device settings type |
Applet condition
Condition | Condition values | Description |
---|---|---|
APPLET_COMMAND |
STRING_OCCURRENCES_IN_TIME_RANGE_TO_PAST | Is used when to check custom user defined commands occurrences in time |
Threshold
Field | Type | Required | Description |
---|---|---|---|
type |
string | required | Currently only percentage implemented - percentage' |
percentage |
number | required | The number of percent from 0 to 99 (100 is never matched) |
Periodicity
Field | Type | Required | Description |
---|---|---|---|
interval |
string | required | How often alert will be checked against current state in SECONDS' |
activeTimeWindows |
array | required | Alert rule won't be checked against current state out of specified active time windows when at least one specified. If no active time window specified, alert rule will be checked anytime. |
Action
Account alert actions
Action type | Type | Required | Description |
---|---|---|---|
type |
string | required | All specified accounts are notified using account notification settings' - (type: 'accounts') |
accountIds |
array of accountIds | required | AccountIds in array, which will be notified about alert |
Organization accounts alert actions
Action type | Type | Required | Description |
---|---|---|---|
type |
string | required | All accounts assigned to organization of creating rule are notified using account notification settings' (type: 'organization_accounts') |
Email alert actions
Action type | Type | Required | Description |
---|---|---|---|
type |
string | required | All accounts assigned to organization of creating rule are notified using account notification settings' (type: 'emailAddresses') |
emailAddresses |
array of emails | required | Array of email addresses, which will be notified about alert |
path Parameters
alertRuleUid required | string Example: {{alertRuleUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "My updated Alert rule name",
- "description": "Some sort of updated",
- "alertType": "DEVICE",
- "organizationUids": [
- "{{organizationUid}}"
], - "conditions": {
- "ALL": [
- {
- "type": "INCORRECT_TIME",
- "op": true
}
], - "AND_ANY_OF": [ ]
}, - "filter": {
- "applicationType": "webos",
- "applicationVersion": [
- ">",
- "2.1.0"
]
}, - "threshold": {
- "type": "percentage",
- "percentage": 10
}, - "periodicity": 30,
- "action": {
- "type": "emailAddresses",
- "emailAddresses": [
- "test@test.com"
]
}
}
Response samples
- 200
{- "message": "OK"
}
Archive Alert Rule
Archive one alert rule by alertRuleUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertRuleUid |
string | required | Unique Alert Rule Identification |
path Parameters
alertRuleUid required | string Example: {{alertRuleUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 204
# Empty response
Pause Alert Rule
Pause one alert rule by alertRuleUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertRuleUid |
string | required | Unique Alert Rule Identification |
path Parameters
alertRuleUid required | string Example: {{alertRuleUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 204
# Empty response
Unpause Alert Rule
Unpause one alert rule by alertRuleUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
alertRuleUid |
string | required | Unique Alert Rule Identification |
path Parameters
alertRuleUid required | string Example: {{alertRuleUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 204
# Empty response
Create Provision recipe
Creates a new Provision recipe for current Organization
Body
Field | Type | Required | Description |
---|---|---|---|
brand |
string | required | |
seriaNumber |
string | optional | |
model |
string | optional | |
macAddress |
string | optional | |
tagUids |
string | optional | List of tags. |
deviceName |
string | optional | |
policyUid |
string | optional | Unique policy identification. |
locationUid |
string | optional |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "deviceName": "Nice device name",
- "serialNumber": "1",
- "macAddress": "12:34:56:78:90:ab",
- "model": "Good Display LCD",
- "brand": "Good Display",
- "tagUids": [
- "12345678900d7618ef832994f819b2e6216d2a27c62bb0b526"
], - "policyUid": "1234567890c641df0b1a1701a1c6efb93fe053a8faeba5bce2",
- "locationUid": "123456789071821f914dcfbca02e6a27dd0eaf74b853f108cc"
}
Response samples
- 201
{- "message": "OK"
}
Get Provision recipes
Get all provision recipes for current Organization.
query Parameters
limit | number Example: limit=50 Start paginating result by given number items on page. Next page link is available in response under header |
descending | boolean Default: true Example: descending=true Default |
search | string Example: search=TV search by string contained in model, brand, serialNumber or macAddress |
status | string Enum: "Pending" "Applied" Example: status=Pending filter by device status |
brand | string Example: brand=Sony filter by device brand |
tagUids | Array of strings Example: tagUids={{tagUid}} filter by list of tags |
policyUids | Array of strings Example: policyUids={{policyUid}} filter by list of policies |
locationUid | string Example: locationUid={{locationUid}} filter by location |
model | string Example: model=LGE-55SM5C-BF-1 filter by device model matching |
macAddress | string Example: macAddress=12:34:56:78:90:ab filter by device mac address |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
[- {
- "status": "Pending",
- "uid": "1234567890c7dbe8ccd61e80e30d46b12902",
- "organizationUid": "1234567890423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "model": "Good Display LCD",
- "brand": "Good Display",
- "macAddress": "12:34:56:78:90:ab",
- "serialNumber": "1"
}, - {
- "status": "Pending",
- "uid": "2134567890c7dbe8ccd61e80e30d46b12902",
- "organizationUid": "1234567890423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "model": "Good Display LCD",
- "brand": "Good Display",
- "macAddress": "21:34:56:78:90:ab",
- "serialNumber": "2"
}
]
Get Provision recipe
Get Provision recipe for current Organization by recipeUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
recipeUid |
string | required |
path Parameters
recipeUid required | string Example: {{recipeUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "status": "Pending",
- "uid": "1234567890c7dbe8ccd61e80e30d46b12902",
- "organizationUid": "1234567890423d4171e348d6a1a1222e3b0075c8d7ebac868a",
- "model": "Good Display LCD",
- "brand": "Good Display",
- "macAddress": "12:34:56:78:90:ab",
- "serialNumber": "1"
}
Update Provision recipe
Update existing Provision recipe for current Organization
Parameters
Field | Type | Required | Description |
---|---|---|---|
recipeUid |
string | required |
Body
Field | Type | Required | Description |
---|---|---|---|
brand |
string | optional | |
seriaNumber |
string | optional | |
model |
string | optional | |
macAddress |
string | optional | |
tagUids |
string | optional | List of tags. |
deviceName |
string | optional | |
policyUid |
string | optional | Unique policy identification. |
locationUid |
string | optional |
path Parameters
recipeUid required | string Example: {{recipeUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "deviceName": "Different name",
- "model": "Bad Display LCD"
}
Response samples
- 200
{- "message": "OK"
}
Delete Provision recipe
Delete Provision recipe for current Organization by recipeUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
recipeUid |
string | required |
path Parameters
recipeUid required | string Example: {{recipeUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Upload provisioning recipes via CSV file
Creates a new Provision recipes for current Organization by uploading CSV file
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: text/csv
Responses
Response samples
- 201
{- "message": "OK",
- "linesProcessed": 2
}
Device is any digital signage display, player, Windows machine, Raspberry Pi 3, and Raspberry Pi 4. You can see all supported devices here
No matter what device you are using, the APIs are standardized across all of them.
Get Devices v1 Deprecated
This endoint is deprecated and will be removed in the future. Use Get Devices v2
instead.
Get all devices for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
applicationType |
string - ‘sssp’ , ‘tizen’ , ‘webos’ , ‘android’ , ‘linux’ , ‘default’ | optional |
one of supported applicationTypes |
search |
string | optional |
search by string contained in uid, duid, name of device, serial number, MAC address or verification hash |
model |
string | optional |
filter by device model matching |
minStorageStatusPercentage |
number 0 – 100 | optional |
filter by storage usage minimal value in percentage |
maxStorageStatusPercentage |
number 0 – 100 | optional |
filter by storage usage maximal value in percentage |
pagination |
number greater than 0 | optional |
Start paginating result by a given number of items on the page. Next page link is available in the response header Link .E.g.: <https://api.signageos/v1/device?pagination=50&createdUntil=2020-10-22T16%3A10%3A00.000Z>; rel="next" |
createdSince |
string | optional |
filter by device createdAt greater than or equal (inclusive) date time in ISO-8601 format. |
createdUntil |
string | optional |
filter by device createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
Important note
For Organizations with more than 500 devices, we strongly recommend using pagination.
query Parameters
pagination | integer Example: pagination=50 Start paginating result by given number items on page. Next page link is available on in response under header |
applicationType | string Enum: "sssp" "tizen" "webos" "android" "linux" "default" Example: applicationType=webos filter by application type |
search | string Example: search=Marge search by string contained in uid, duid or name of device |
model | string Example: model=LGE-55SM5C-BF-1 filter by device model matching |
maxStorageStatusPercentage | integer Example: maxStorageStatusPercentage=20 filter by storage usage maximal value in percentage |
minStorageStatusPercentage | integer filter by storage usage minimal value in percentage |
createdSince | string Example: createdSince=2017-08-02T13:45:39.000Z filter by device createdAt greater than or equal (inclusive) date time in ISO-8601 format. |
createdUntil | string Example: createdUntil=2017-08-02T13:45:40.000Z filter by device createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2dgdfgdfgd",
- "duid": "2221b195b6350a6c71318e56e4d493a585f42b6d9c387wqqww334",
- "name": "Test Emulator",
- "createdAt": "2021-04-18T22:26:39.405Z",
- "aliveAt": null,
- "pinCode": null,
- "applicationType": "default",
- "applicationVersion": null,
- "frontDisplayVersion": null,
- "firmwareVersion": null,
- "model": null,
- "serialNumber": null,
- "brand": "signageOS",
- "osVersion": "1.0.0",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b753dwwfgrte",
- "networkInterfaces": null,
- "storageStatus": null,
- "connections": [ ],
- "batteryStatus": null,
- "currentTime": null
}, - {
- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "duid": "c3e898cbc28a4d7c7b36dffa8dfd3efb41ae275cac03f425fc",
- "name": "Test Device",
- "createdAt": "2021-04-13T17:23:59.507Z",
- "aliveAt": "2021-04-14T16:01:58.754Z",
- "pinCode": "0000",
- "applicationType": "default",
- "applicationVersion": "8.10.1-ep-fix-acceptance-tests.4588",
- "frontDisplayVersion": "8.10.1-ep-fix-acceptance-tests.4588",
- "firmwareVersion": "Chrome-89.0.4389.114",
- "model": "Linux x86_64",
- "serialNumber": "8D9CF7D0A670",
- "brand": "signageOS",
- "osVersion": "1.0.0",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b75305fba4c",
- "networkInterfaces": {
- "wifi": {
- "macAddress": "eb:dd:dd:c7:5b:ee"
}, - "ethernet": {
- "domainNameServers": [
- "8.8.8.8"
], - "gateway": "35af6b1c-57dc-4173-98ab-2eb9039d98d4.1",
- "interfaceName": "eth0",
- "ipAddress": "35af6b1c-57dc-4173-98ab-2eb9039d98d4.local",
- "macAddress": "0c:dd:1c:9f:2c:dd",
- "netmask": "255.255.255.0"
}
}, - "storageStatus": {
- "updatedAt": "2021-04-14T15:59:42.806Z",
- "internal": {
- "capacity": 10737418799,
- "freeSpace": 10737418650
}, - "removable": {
- "capacity": 0,
- "freeSpace": 0
}
}, - "connections": [ ],
- "batteryStatus": null,
- "currentTime": {
- "requestTime": "2021-04-18T22:40:03.116Z",
- "reportedTime": "2021-04-14T16:59:29+02:00",
- "reportedTimestamp": 1618412369582,
- "time": "2021-04-19T00:40:03+02:00",
- "timezone": "Europe/Prague",
- "updatedAt": "2021-04-14T14:59:29.688Z"
}
}
]
Get Devices v2
Get all devices for current Organization.
This endpoint uses pagination. For more information view Pagination section. Max allowed page size is 1000.
query Parameters
applicationType | string Enum: "sssp" "tizen" "webos" "android" "linux" "default" Example: applicationType=tizen filter by application type |
search | string Example: search=Marge search by string contained in uid, duid or name of device |
model | string Example: model=LGE-55SM5C-BF-1 filter by device model matching |
brand | string Example: brand=Sony filter by device brand |
osVersion | string Example: osVersion=6.5 filter by device OS version |
serialNumber | string Example: serialNumber=EQK70AAY72Y8 filter by serial number |
firmwareVersion | string Example: firmwareVersion=4.3.0 filter by firmware version |
locationUid | string Example: locationUid={{locationUid}} filter by location |
appletUids | Array of strings Example: appletUids={{appletUid}} filter by list of applets |
policyUids | Array of strings Example: policyUids={{policyUid}} filter by list of policies |
tagUids | Array of strings Example: tagUids={{tagUid}} filter by list of tags |
alertUid | string Example: alertUid={{alertUid}} filter by alert |
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2dgdfgdfgd",
- "duid": "2221b195b6350a6c71318e56e4d493a585f42b6d9c387wqqww334",
- "name": "Test Emulator",
- "createdAt": "2021-04-18T22:26:39.405Z",
- "applicationType": "default",
- "firmwareVersion": "Chrome-89.0.4389.114",
- "model": "Linux x86_64",
- "serialNumber": "EQK70AAY72Y8",
- "brand": "signageOS",
- "osVersion": "1.0.0",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b753dwwfgrte",
- "locationUid": "qn7tks6io6vckl59hxpnmgbzdzxwob3xsh0ezowsqi8cox08o3",
- "connectionMethod": "websocket"
}, - {
- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "duid": "c3e898cbc28a4d7c7b36dffa8dfd3efb41ae275cac03f425fc",
- "name": "Test Device",
- "createdAt": "2021-04-13T17:23:59.507Z",
- "applicationType": "default",
- "firmwareVersion": "Chrome-89.0.4389.114",
- "model": "Linux x86_64",
- "serialNumber": "8D9CF7D0A670",
- "brand": "signageOS",
- "osVersion": "1.0.0",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b75305fba4c",
- "locationUid": null,
- "connectionMethod": "http"
}
]
Get Device v1 Deprecated
This endoint is deprecated and will be removed in the future. Use Get Device v2
instead.
Get one device detail by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
applicationType |
string/Enum | optional | One of supported applicationTypes tizen, webos, android, linux, brightsign, windows |
search |
string | optional | Search by string contained in uid, duid, name of device, serial number, MAC address or verification hash |
model |
string | optional | Filter by device model matching |
minStorageStatusPercentage |
number 0 – 100 | optional | Filter by storage usage minimal value in percentage |
maxStorageStatusPercentage |
number 0 – 100 | optional | Filter by storage usage maximal value in percentage |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "750dbe59c81b60170b3c2b10650fb200cc82d34e6b0120fc344322",
- "duid": "a69a6f99f89fa3c9df73759c2fca2164f2e695260fef5d234232e",
- "name": "Test Emulator",
- "createdAt": "2021-04-07T16:11:13.485Z",
- "aliveAt": "2021-04-10T13:54:38.226Z",
- "pinCode": "0000",
- "applicationType": "default",
- "applicationVersion": "8.7.0",
- "frontDisplayVersion": "8.7.0",
- "firmwareVersion": "Chrome-89.0.4389.114",
- "model": "Win32",
- "serialNumber": "5A1FC776B031",
- "brand": "signageOS",
- "osVersion": "1.0.0",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b75305fba4c",
- "networkInterfaces": {
- "wifi": {
- "macAddress": "ed:dd:3c:0d:fc:d1"
}, - "ethernet": {
- "domainNameServers": [
- "8.8.8.8"
], - "gateway": "9ed6b721-512e-40db-94d8-e43d03d12385.1",
- "interfaceName": "eth0",
- "ipAddress": "9ed6b721-512e-40db-94d8-e43d03d12385.local",
- "macAddress": "ed:dd:3c:0d:fc:d1",
- "netmask": "255.255.255.0"
}
}, - "storageStatus": {
- "updatedAt": "2021-04-10T13:54:52.660Z",
- "internal": {
- "capacity": 11306265635,
- "freeSpace": 10737451004
}, - "removable": {
- "capacity": 0,
- "freeSpace": 0
}
}, - "connections": [ ],
- "batteryStatus": null,
- "currentTime": {
- "requestTime": "2021-04-18T22:44:30.941Z",
- "reportedTime": "2021-04-10T15:54:39+02:00",
- "reportedTimestamp": 1618062879580,
- "time": "2021-04-19T00:44:30+02:00",
- "timezone": "Europe/Prague",
- "updatedAt": "2021-04-10T13:54:40.067Z"
}
}
Update Device Name Deprecated
This endpoint is deprecated and will be removed in the future. Use v2 PUT Configure Device
instead.
Update one device by deviceUid - Set device name.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required |
unique device identification |
Body
Field | Type | Description |
---|---|---|
name | string | device name, eg. Reception Display |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/x-www-form-urlencoded
name | string device name, eg. Reception Display |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device v2
Get one device detail by deviceUid
.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2dgdfgdfgd",
- "duid": "2221b195b6350a6c71318e56e4d493a585f42b6d9c387wqqww334",
- "name": "Test Emulator",
- "createdAt": "2021-04-18T22:26:39.405Z",
- "applicationType": "default",
- "firmwareVersion": "Chrome-89.0.4389.114",
- "model": "Linux x86_64",
- "serialNumber": "EQK70AAY72Y8",
- "organizationUid": "f4dc889c5bfae798bd652e5d0989e6805d45131b753dwwfgrte",
- "locationUid": "qn7tks6io6vckl59hxpnmgbzdzxwob3xsh0ezowsqi8cox08o3",
- "connectionMethod": "websocket"
}
Configure Device
Configure Device by deviceUid
.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
name | string |
connectionMethod | string Enum: "websocket" "http" |
Responses
Request samples
- Payload
{- "name": "string",
- "connectionMethod": "websocket"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Authentication Hash
Get authentication contains the authHash
for device by deviceUid
.
Get device Authentication Hash which is used for device-CMS authentication.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f8440676dwdaww",
- "authHash": "auth-hash-key",
- "createdAt": "2021-04-25T19:28:05.835Z"
}
Get Device by Authentication Hash
Get device by Authentication Hash which is used for device-CMS authentication by authHash. JS api sos.authHash
JS API Basics.
Parameters
Field | Type | Required | Description |
---|---|---|---|
authHash |
string | required |
device autHash from applet (can be used only 6 or more first characters of authHash) |
path Parameters
deviceAuthHash required | string |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406dwewwq",
- "authHash": "device-auth-hash",
- "createdAt": "2021-04-25T19:28:05.835Z"
}
Get device history
Action log includes complete history of actions performed with the device as well as the action originator (user/api) and the result. You can see the Action log in a History tab on device detail page in Box.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required |
unique device identification |
descending |
boolean | optional |
true or false |
limit |
number | optional |
limit the number of returned results |
since |
timestamp | optional |
limit result by date and time |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "87c7d3391241356f9a7088c70ab6827852077f54ee655eaea9",
- "deviceUid": "42e454d7db4dd54660a4250888b0c73414ef75e33077c51453142",
- "createdAt": "2021-11-15T13:08:44.029Z",
- "succeededAt": null,
- "failedAt": null,
- "type": "POWER_ACTION",
- "data": {
- "powerType": "APP_RESTART"
}, - "originator": {
- "account": {
- "accountId": 1252833502517195,
- "email": "john.doe@signageos.io"
}
}
}, - {
- "uid": "cf81f8e1aed58c90761244051a1a61bc9d05734d456ae5f0a0",
- "deviceUid": "42e454d7db4dd54660a4250888b0c73414ef75e33077c51453142",
- "createdAt": "2021-11-15T13:05:36.987Z",
- "succeededAt": "2021-11-15T13:05:40.987Z",
- "failedAt": null,
- "type": "CREATE_TIMING",
- "data": {
- "appletUid": "5c6e6ba12d1f07811c9ec96433868010bd92ef9d0daf8c7807",
- "appletVersion": "1.0.0",
- "startsAt": "2021-11-15T04:05:00.000Z",
- "endsAt": "2021-11-15T04:05:00.000Z",
- "configuration": {
- "identification": "f8b5f98605"
}, - "finishEvent": {
- "type": "DURATION"
}, - "position": 1
}, - "originator": {
- "account": {
- "accountId": 1252833502517195,
- "email": "john.doe@signageos.io"
}
}
}
]
To use any of the supported devices, you need the signageOS Core App. signageOS Core Apps are a natively-built application for various platforms allowing you to run your HTML5/JS application (aka Applet).
Update Core App Version
Request upgrade of the signageOS Core App version by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
applicationType |
string - ‘sssp’ ‘tizen’ ‘webos’ ‘android’ ‘chrome’ ‘default’ | required | One of supported applicationTypes |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
version |
string | sOS Core App version you want to set to device |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
applicationType required | string |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "version": "{{applicationVersion}}"
}
Response samples
- 200
{- "message": "OK"
}
Get Current Core App Version
Get version of sOS Core App on device.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required |
device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "ecdd1c06f9203314659dc438085dbe63fbfce951ef1dcbb0d4",
- "deviceUid": "some-device-uid",
- "createdAt": "2021-04-25T20:23:47.344Z",
- "succeededAt": "2021-04-25T20:23:47.793Z",
- "failedAt": null,
- "version": "8.10.0",
- "applicationType": "default"
}, - {
- "uid": "6811890d0c9b9f62b2588bd88ef709bb4e5c69da8463b27c34",
- "deviceUid": "some-device-uid",
- "createdAt": "2021-04-25T20:21:51.410Z",
- "succeededAt": "2021-04-25T20:21:51.647Z",
- "failedAt": null,
- "version": "8.10.0",
- "applicationType": "default"
}
]
Create Applet Command
Create device applet command by deviceUid
& appletUid
which will be delivered to device current active applet.
Command may contain any number of custom properties. The only required one is type
which is used to identify the command.
Originally the command was sent using the commandPayload
field, which is now deprecated. The command
field should be used instead.
Once the command is sent, it can be received inside the applet using the following customField:
sos.command.onCommand((commandEvent) => {
if (commandEvent.command.type === 'TestCommand') {
console.log(commandEvent.command.customField)
}
});
For more information, refer to the JS API documentation.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device unique identification |
appletUid |
string | required | Applet unique identification |
path Parameters
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
required | object Command object. Must contain at least type. May contain any number of custom properties. | ||||
|
Responses
Request samples
- Payload
{- "command": {
- "type": "TestCommand",
- "customField": "customValue",
- "anotherField": 123
}
}
Response samples
- 202
{- "message": "OK"
}
Get Applet Commands
Get all device applet commands by deviceUid.
Get commands – information on how the device operates or was set – for the specific device. You can access all device logs, including your custom logs, within this API call.
Device applet commands are available for the previous 3 days. Historical data of all commands is available as ZIP dump at Get Device Reports (Uptime, Applet Commands) endpoint: https://developers.signageos.io/api/#tag/DeviceMonitoring/paths/~1v1~1device~1%7BdeviceUid%7D~1report/get .
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required |
device unique identification |
appletUid |
string | optional |
applet unique identification |
type |
string | optional |
your log type - e.g.: MyCms.Content.PlayVideo |
receivedSince |
Date | optional |
get all commands since exact date (included) |
receivedUntil |
Date | optional |
get all commands till exact date (excluded) |
Sample response
Server never returns all data matching the parameters. Instead, it divides them into pages. First request returns data up to max. size of a page. If more data is available, it returns a header
Link with a link to the next page.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "command": {
- "type": "TestCommand",
- "customField": "customValue",
- "anotherField": 123
}
}
]
Get Applet Command By Command UID
Get one device applet command by deviceUid
, appletUid
& timingCommandUid
.
Get commands – information on how the device operates or was set – for the specific device. You can access all device logs, including your custom logs, within this API call.
Device applet commands are available for the previous 3 days. Historical data of all commands is available at Data report CSV dump.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device unique identification |
appletUid |
string | required | applet unique identification |
commandUid |
string | required | Command unique identification |
Sample response
Server never returns all data matching the parameters. Instead, it divides them into pages. First request returns data up to max. size of a page. If more data is available, it returns a header
Link with a link to the next page.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
commandUid required | string |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "command": {
- "type": "TestCommand",
- "customField": "customValue",
- "anotherField": 123
}
}
]
Update Device Brightness
Request change device brightness by deviceUid.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | <div class="red">required |
Body
Field | Type | Description |
---|---|---|
brightness1 |
number | device brightness in percent 0-100 |
timeFrom1 |
HH:MM:SS | starting time for brightness 1 |
brightness2 |
number | device brightness in percent 0-100 |
timeFrom2 |
HH:MM:SS | starting time for brightness 2 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "brightness1": 90,
- "timeFrom1": "09:00:00",
- "brightness2": 40,
- "timeFrom2": "20:00:00"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Brightness
Get requested device brightness changes by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "5ec82d905f10070f5b555e3bbe346f8e1f1d559f976070f344",
- "deviceUid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2c9613bc",
- "createdAt": "2021-04-18T23:44:55.995Z",
- "succeededAt": null,
- "failedAt": "2021-04-18T23:44:56.222Z",
- "brightness1": 90,
- "brightness2": 40,
- "timeFrom1": "09:00:00",
- "timeFrom2": "20:00:00"
}, - {
- "uid": "1eab00dc17eed54d58cc4cce705bb18ce5505f9411c19f705c",
- "deviceUid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2c9613bc",
- "createdAt": "2021-04-18T23:44:38.634Z",
- "succeededAt": null,
- "failedAt": "2021-04-18T23:44:38.937Z",
- "brightness1": 90,
- "brightness2": 40,
- "timeFrom1": "09:00:00",
- "timeFrom2": "20:00:00"
}
]
Set Device Debug
Request begin device debug mode by deviceUid
. Set debug flag for device to enable remote debugging.
- Read more about Native Debug specific details in our Knowledge base.
- Read more about Applet/Weinre Debug specific details in our Knowledge base.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
appletEnabled |
boolean | Enable weinre for device inside Applet |
nativeEnabled |
boolean | Enable native debug |
Note 1
Applet debug settings is only on-demand. So when you set it, the inspection tool is started. Once you do the REBOOT, RESTART, RELOAD or REFRESH power action, the tool is stopped & you must set debug again (turn it off then on again in BOX).
Note 2
Native debug settings behavior differs in every device OS brand (SSSP, Tizen, WebOS1,2+, Android etc.). Here are mentioned a little differences however for more info you can look at official documentation of display manufacturer.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "appletEnabled": true,
- "nativeEnabled": false
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Debug
Get begin device debug mode requests by deviceUid
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | <div class="red">required |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "b9659c67b7045168ca20bb3c99abc60cb420e8d7f49a91f71e",
- "deviceUid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2c9613bc",
- "createdAt": "2021-04-18T23:46:13.024Z",
- "succeededAt": null,
- "failedAt": "2021-04-18T23:46:13.248Z",
- "appletEnabled": true,
- "nativeEnabled": false
}
]
Update Device Firmware
Request change device firmware version by deviceUid
.
Set/upgrade Firmware version of a device.
- Available firmware versions are listed in Supported devices section. This feature is dangerous. You must be sure that a device will be kept on during upgrading. Otherwise, it can be irrecoverably broken and needs to be repaired by a vendor.
- Downgrading is available only for devices by some vendors - LG webOS, BrightSign
- Read more about Firmwares, upgrade options and other important items
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device uid |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
version |
string ex.: T-HKMLAKUC-2020.5 | Version of FW you want to upgrade to. Versions layout differs vendor to vendor. |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "version": "x86_64"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Firmware
Get last changed device firmware version requested to deviceUid. Get Firmware version last successfully sent to the device.
- Read more about Firmwares, upgrade options and other important items
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "DEVICE_CREATE_UID:d342377e18f83bc08d76c44e8b35c05c4e786f2bd3f7aeb42d",
- "deviceUid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2c9613bc",
- "createdAt": "2021-04-18T22:26:39.405Z",
- "succeededAt": null,
- "failedAt": null
}
Get Device Hourly Connected Status
DEPRECATED in favor of:
and
https://developers.signageos.io/api/#tag/DeviceApplet-Command
Get all device connected status grouped hourly by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device unique identification |
from |
Date | optional | Get all statistics from exact date (included) |
to |
Date | optional | Get all statistics to exact date (included) |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "6288c2cf6ffc335b92b9e8022a69d752bfe1f6d1c6d5724d1f",
- "createdAt": "2021-04-25T20:28:02.420Z",
- "deviceIdentityHash": "some-device-hash",
- "from": "2021-04-25T19:00:00.000Z",
- "to": "2021-04-25T19:59:59.999Z",
- "time": 1903872
}
]
Get Device Reports (Uptime, Applet Commands)
Get all device report files by deviceUid
.
Get Report files – historical data containing Device Applet commands, Applet Ready events, Connected/Disconnected actions.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device unique identification |
createdSince |
Date | optional | get all reports since exact date (included) |
createdUntil |
Date | optional | get all reports till exact date (excluded) |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
createdSince | string Example: createdSince=2016-08-02T13:45:39.000Z get all reports since exact date (included) |
createdUntil | string Example: createdUntil=2017-08-02T13:45:39.000Z get all reports till exact date (excluded) |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "createdAt": "2021-11-01T08:26:03.950Z",
- "urn": "/reports/112da4fdd8b382951aa996be98eda4281b793017db0a917ded5397/Web.Socket.Connected_default/2021-10-31.csv",
- "type": "Web.Socket.Connected_default"
}, - {
- "deviceUid": "112da4f28b382951aa996be98eda4281b79301ddda917ded5397",
- "createdAt": "2021-11-01T08:26:04.126Z",
- "urn": "/reports/112da4f28b382951aa996be98eda4281b7ddd17db0a917ded5397/Web.Socket.Disconnected_default/2021-10-31.csv",
- "type": "Web.Socket.Disconnected_default"
}
]
Get Device Temperature
Get all device temperature logs by deviceUid
.
Get logs of device temperature in time.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device unique identification |
createdSince |
Date | optional | Get all temperature logs since exact date (included) - Example: 2018-09-09T10:49:33.352Z |
createdUntil |
Date | optional | Get all temperature logs until exact date (excluded) - Example: 2018-09-10T10:49:33.352Z |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "c960b3a75fd60c041a41d6fd98c894668bf94fc9c628d266db",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:13:59.493Z"
}, - {
- "uid": "d2943ded95b0cd12dade7d097718d4f224bd1096d949f15b7d",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:18:59.497Z"
}, - {
- "uid": "e039164dcd9985b74b9760346057c9b69f1b8e5b5acc3dab44",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:23:59.564Z"
}, - {
- "uid": "0bf60f4ba8090a081e4233cad0abe6da3f155eec1c8ec60496",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:28:59.592Z"
}, - {
- "uid": "31372513ad3b14453e25e31d27aec1e41da0143f0da3ecb3cd",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:33:59.660Z"
}, - {
- "uid": "f78824c60fb95eabfab7dfabd29f7692695666057ada8abf51",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:38:59.649Z"
}, - {
- "uid": "b4fd19e4daaa2841e7bbf7bd9e8132eac48c93f6d7a7a0eb53",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:43:59.737Z"
}, - {
- "uid": "f8d483162309d3a994bc729ec9b9f6803aa3c787673278b983",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:48:59.780Z"
}, - {
- "uid": "dd004e4556e465b2965721593cb57532ec00099f606a057269",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:53:59.783Z"
}, - {
- "uid": "10704d280e43c20b6c43f7b94e80365835ea3f04370bca58aa",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T16:58:59.793Z"
}, - {
- "uid": "d61668dd9276ab4ac289b8983677c0bf85387f6235c5d048f1",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:03:59.884Z"
}, - {
- "uid": "9a9198172f57d29358e010d8d526577de650fe111d60b1c90d",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:08:59.847Z"
}, - {
- "uid": "c6e56d4b29e852c9d354cb8a4a6962e808f20762cc00bf829a",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:13:59.904Z"
}, - {
- "uid": "0f0c97a8a175b07c788d05d439aedbe8c906377a253fb8c428",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:18:59.949Z"
}, - {
- "uid": "1a82dc355ac636cdf01d885b2b9bccf3ac4204902dd0d276ae",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:23:59.960Z"
}, - {
- "uid": "8ff609316212bc87969af91531c32c0ed61cda3fcd3b6159ab",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:29:00.076Z"
}, - {
- "uid": "5afe7025a20919f4fa5d0c9745af137c901378db2f1b004591",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:34:00.077Z"
}, - {
- "uid": "80624f43d5afda8fc9000d5183e768004bee6327a3eaddb3e8",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:39:00.088Z"
}, - {
- "uid": "f224d45fbf31ea26e28907c7299723ac16d5cc78586cdd36e5",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:44:00.072Z"
}, - {
- "uid": "1a8ed552119dd462f6b1d972ee06817e9f1548bef16a3dcd7b",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:49:00.173Z"
}, - {
- "uid": "7d61ef5ce856274bce39a2cedd92db8e168044ab5e435e51b2",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:54:00.178Z"
}, - {
- "uid": "27366b2bdb1055acc3b1fd8df7e9c4cef81ccd49ea52354298",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T17:59:00.205Z"
}, - {
- "uid": "6e3922407c7a1ed610f39143df3bb3447d4f61eafac2d68999",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:04:00.194Z"
}, - {
- "uid": "898f5717487543423004e493cf000b75ad6b6f2fe2ca235f1e",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:09:00.251Z"
}, - {
- "uid": "7674219cd436512e6ed6125c52833b5f6a8816201bfb9809a0",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:14:00.266Z"
}, - {
- "uid": "8007c1dac5275dff3e9b6b89020df55513deb0468bddada00f",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:19:00.266Z"
}, - {
- "uid": "2751ec5d7adc21f04e8aaba4310b7bd6b8dd1eb0bbb13d8cff",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:24:00.346Z"
}, - {
- "uid": "f2e32ab4ffc51a93e685051cc0f95de305ee3d03368007dd68",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:29:00.336Z"
}, - {
- "uid": "9d5afdddeda88713085b86bb3adcd53c914da0b05a3d26cc58",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:34:00.371Z"
}, - {
- "uid": "d131857b870f2137a3134a8e4955dd2e707a8920d6ac88929d",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:39:00.427Z"
}, - {
- "uid": "019ad8506a63246f0657feea09602931f3974b8b8c1588c497",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:44:00.469Z"
}, - {
- "uid": "084adaf0c3c9fc59c426cfd65dcd80d39dfbe1abfac129296b",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:49:00.430Z"
}, - {
- "uid": "e2d0e3ebd56fd131af14ef77faa320e43a1846024b1e26fd66",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:54:00.455Z"
}, - {
- "uid": "b84364db4292c4e10a4d728cc54b8d684418ab2609b17d5fd3",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T18:59:00.553Z"
}, - {
- "uid": "067ed43985bd03b32b07964abdcb5547c7b88f65b43efed863",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:05:20.473Z"
}, - {
- "uid": "e826c6afddaa5d5e83f4e37ebe94e1eb610856d940cb685768",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:09:00.568Z"
}, - {
- "uid": "5b813e1bc7212eee90bdb9bad6a35b2678435954f6772eae66",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:14:00.583Z"
}, - {
- "uid": "c5b83e3951480566520ec9459c999924749455c988cc6d103b",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:19:00.655Z"
}, - {
- "uid": "44e81d563ef11f5fcccc8ed2968560546df9031901f068261b",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:24:00.765Z"
}, - {
- "uid": "f7ab6f472531699c5d92f1548c26ae9e2e99f92d15d6aac542",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:29:00.678Z"
}, - {
- "uid": "4dea43400e4f969b3c1bf65253ec41158bcc8e2f745f65d7f3",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:34:00.689Z"
}, - {
- "uid": "cf280a9e6ee6840b69efa88badfba4fd97b71293669b9bfeb0",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:39:00.686Z"
}, - {
- "uid": "4b25f027fa0241f02fc7d5843089074c50cbc5411882a2b282",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:44:00.799Z"
}, - {
- "uid": "9b917bf45de5db6e641164f870db64639087609736a01fe61a",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:49:00.748Z"
}, - {
- "uid": "ef72d22a73ab35757da6cae66deaa1aec8ab38eec9b8af7b1c",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:54:00.836Z"
}, - {
- "uid": "fe5250d11728201619b4d94948eac1364e477e0b319ea8ac74",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T19:59:00.815Z"
}, - {
- "uid": "0a4894ba135057613fb475a956c4258c70c5c2f18e08b651ca",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:04:00.866Z"
}, - {
- "uid": "866dd2f23e89b42f6c72343bb6dfe0c4629164d5a5fa032ae1",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:09:00.902Z"
}, - {
- "uid": "106d60952b72131b62ffc207a3fd7784b78a3ba0a28779d327",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:14:00.913Z"
}, - {
- "uid": "69a84a4d4470cc24aa956df3ff97ac1e88bc214a560d10e300",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:19:00.922Z"
}, - {
- "uid": "d07b26ca8fd734ec85593870220c7bf682fd557d4fd26a17ac",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:24:00.950Z"
}, - {
- "uid": "4ba0434db5cf2c868f69ed96a812b1e365033ca495a7fc8672",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:29:01.073Z"
}, - {
- "uid": "6071ed7f2c07c20ca95d9ecab1468d38ab7e8a7d09ad8df83f",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:34:01.033Z"
}, - {
- "uid": "24da68a42882bbd2ae7c89182a476d66eae0acf99ba997dde8",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:39:01.083Z"
}, - {
- "uid": "96b6722b09bd87b182fca2ab57bd32a70de55e5b0d32c13226",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:44:01.085Z"
}, - {
- "uid": "933813d50831819c17605a50a5a7b3b667930ef301589b5822",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 49,
- "createdAt": "2021-11-20T20:49:01.123Z"
}, - {
- "uid": "94ee54f2b554fbf4012220d3c7b752fa49820664e75d92754a",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:10:52.465Z"
}, - {
- "uid": "9315f72e1aca759fdc066c6e54cb2400bb7401854687e362f6",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:15:52.501Z"
}, - {
- "uid": "a4cb88a2b0d87bd819a66c4c2698ba27605556361d1a683a73",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:20:55.331Z"
}, - {
- "uid": "b41eb29079cf23c46be5ab4dbaa1f170cc4976a6036fc25dc6",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:25:52.560Z"
}, - {
- "uid": "7fc8a18eb3dd2ff74209e7e5106d3c3ed2c68a808073c6c14c",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:30:52.597Z"
}, - {
- "uid": "155cc18dd078219a1073b0e87b4ba22dea6ea3b1efba9d9790",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:35:52.612Z"
}, - {
- "uid": "907144722d1fbe455c8e3ee73a0b773e09e54b48f41f9b53b6",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:40:55.540Z"
}, - {
- "uid": "ebddeaa8985535921d9b68ff29c70376e6542104d29c73cce1",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:45:52.684Z"
}, - {
- "uid": "e3b4056872bf71d75e51c0fe6529f9941ca9313c4f5afadce4",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:50:54.041Z"
}, - {
- "uid": "ed81fe83c400106e7714c9fd14da621088e501b57c359f6104",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T04:55:52.734Z"
}, - {
- "uid": "000944cff4f742781af1bbacbba65b0f32f7f0b51e98b7b2ec",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:00:57.692Z"
}, - {
- "uid": "e593be2b109029aa6312fd5e59a7e33cd5b762218cf70f100c",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:05:52.774Z"
}, - {
- "uid": "9ba8db530a5faf282131a0b4400c63099cbe3aec4d0e11e1c3",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:10:52.769Z"
}, - {
- "uid": "bbccdc24c22cd830d17c815a53035f508e5837d2fd3d1a25ee",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:15:52.854Z"
}, - {
- "uid": "8779bcbd3e43e9b8450d49cb893d4169040b2c50b307fb6d76",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:20:57.443Z"
}, - {
- "uid": "8b79fdd814f6d01c70a33c8fd53ab3dd89b0fc4f7cf63463f1",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:25:52.926Z"
}, - {
- "uid": "3377ca928f787adf156305770bc7521f012463f6476c5708dd",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:30:52.952Z"
}, - {
- "uid": "14b5ae2108b3f7b861adc31bff9953f4d75b022b00aeef7628",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:35:53.006Z"
}, - {
- "uid": "3fbdef38ce205963655e2f73baa96e3373aac1ddfe8fe32e0e",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:40:56.127Z"
}, - {
- "uid": "757cd2d2562fcb16e94b0a7d005fb5ce8e5c619493468fda58",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:45:53.030Z"
}, - {
- "uid": "691403097d411e632cd389a9558353e870d5e7c35a9e7345b9",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:50:53.027Z"
}, - {
- "uid": "e0862b0c075928d669387e068f331cac3533de8b218e6d600c",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T05:55:53.030Z"
}, - {
- "uid": "535a93b14e9ba1a6bdec4b77847943b3f148ef39a653fc294c",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:00:58.652Z"
}, - {
- "uid": "e7e32c4d780d7ca4cc20ed715ba1b9c8fa15f2ccc63a60c6e0",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:05:53.083Z"
}, - {
- "uid": "660b88f372aa0625c2e090753f8fe673cf5ddee4f44bb90aef",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:10:53.111Z"
}, - {
- "uid": "21ac7766156e5b3ce6836f34f7dd8592ef2af7aa045be87499",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:15:53.148Z"
}, - {
- "uid": "f8780f4d099c02f7492b05f90d7b4187e1d2d18ee6273469e4",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:20:56.710Z"
}, - {
- "uid": "697ebd152890ee0f563688cf2d5754b74fc4ceccc131c9c7ad",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:25:53.211Z"
}, - {
- "uid": "930b4dbf0709052440f7ab794112b2d8dfae7b3f6026af53e3",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:30:53.261Z"
}, - {
- "uid": "1ac40871b3519ae2209bc2c67d8f6926685612d8ee87000199",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:35:53.231Z"
}, - {
- "uid": "4e8fffbef4160b470d1a1c257dcb211914864e66a50da8d4b2",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:40:56.249Z"
}, - {
- "uid": "9d598b8a8c6aa4d817c66972670c2435721957caa566b56d70",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:45:53.326Z"
}, - {
- "uid": "6b273a03a2a7417258cec9c2acc5e6e6efa09469a756ea6c51",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:50:53.314Z"
}, - {
- "uid": "c4dbbec1c88a1bda21b085d49ace261ef0096398e8e5ea6cd3",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T06:55:53.363Z"
}, - {
- "uid": "0eab2c517e20b78078e4a4e99b209685e9d67655c92b61f8b8",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:00:58.097Z"
}, - {
- "uid": "0673f9bea54ae79216480adcea13bb2cfe4edbe7fdb15cc23a",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:05:53.394Z"
}, - {
- "uid": "be945dedbfc455a29997e27bf80ec78ee91889ed9aaefec0b5",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:10:53.465Z"
}, - {
- "uid": "d551ffa1dd9cd251d238f901bb86226a396a5cc1b1d834e5dc",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:15:53.448Z"
}, - {
- "uid": "1d577da33cc594175a739d12dd418b71eb249305261ae675ba",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:20:56.943Z"
}, - {
- "uid": "2b6392e61c65c43fd3ba7e6aaa9e29c15ff4e9bb9c6f27b538",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:25:53.538Z"
}, - {
- "uid": "ae1c75414939d1cc0290077f720bfb0902ccf8bf8d94e0f9eb",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:30:53.560Z"
}, - {
- "uid": "9374856f1278034e4f5e6fc3c506c4e11b015d38a087d24ab8",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:35:53.582Z"
}, - {
- "uid": "85bddb78fc7be85d1e9f64025b3a02af175a092c85ae1ffdf1",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:40:56.825Z"
}, - {
- "uid": "5b1e6436740fc2beb0b80155ec2d5e1f7292f63d93ec64cedd",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:45:53.601Z"
}, - {
- "uid": "2f5e7dec889644930f62ceb4d74a800d88bbe60c07ede337f2",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:50:53.653Z"
}, - {
- "uid": "7667752337439391940ebd513b84bde65d0291aec32c608775",
- "deviceUid": "112da4f28b382951aa996be98eda4281b793017db0a917ded5397",
- "temperature": 48,
- "createdAt": "2021-11-27T07:55:53.681Z"
}
]
Get Offline Ranges
This endpoint is in development.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
limit | integer Example: limit=1 |
since | string Example: since=2017-08-02T13:45:40.000Z |
until | string Example: until=2022-12-02T13:45:40.000Z |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Set Device Organization
This method sets device to a selected organization by organizationUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
Content-Type | string Example: application/json |
x-auth | string Example: {{x-auth-account}} Replace by token of your account common for both organizations |
Request Body schema: application/json
organizationUid | string Organization UID |
Responses
Request samples
- Payload
{- "organizationUid": "{{organizationUid}}"
}
Response samples
- 204
- 404
# Empty response
Set Device Orientation and Resolution
This method is used for setting device orientation and resolution. Just send desired orientation and resolution.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
Body
content-type: application/json
or application/x-www-form-urlencoded
Recommended usage:
Field | Type | Description |
---|---|---|
orientation | string - ‘PORTRAIT’ ‘PORTRAIT_FLIPPED’ ’LANDSCAPE’ ‘LANDSCAPE_FLIPPED’ ‘AUTO’ must be in uppercase | set device orientation to portrait, landscape or auto. Auto works only for tablets with gyroscope. |
size | JSON `{ "width": 1920, "height": 1080 }` |
set specific device resolution, only for external players and devices supporting specific resolutions (BrightSign, Windows, selected Android players) To be used in combination with orientation field and possibly framerate field on supported device (BrightSign). resolution field needs to be omitted. |
framerate | number - 60 | specify exact video output framerate, only for BrightSign. To be used in combination with size and orientation field. |
Legacy usage:
Field | Type | Description |
---|---|---|
orientation | string - ‘PORTRAIT’ ‘PORTRAIT_FLIPPED’ ’LANDSCAPE’ ‘LANDSCAPE_FLIPPED’ ‘AUTO’ must be in uppercase | set device orientation to portrait, landscape or auto. Auto works only for tablets with gyroscope. |
resolution | string ‘FULL_HD’ ‘HD_READY’ must be in uppercase | set device resolution. Deprecated method to set resolution, framerate field is ignored if used in combination with this method |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "orientation": "LANDSCAPE",
- "size": {
- "width": 1920,
- "height": 1080
}, - "framerate": 60
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Orientation and Resolution
Get change device resolution requests by deviceUid
This method is used to get orientation and resolution you set to the device.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
- 404
[- {
- "uid": "e5b217fb7c0de5231c5426e72b8cf3b2dd9bdcd117307dwdwa",
- "deviceUid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e2dwqqqd2",
- "createdAt": "2021-04-18T23:50:28.781Z",
- "succeededAt": null,
- "failedAt": "2021-04-18T23:50:29.679Z",
- "resolution": "FULL_HD",
- "size": {
- "width": 1920,
- "height": 1080
}, - "orientation": "PORTRAIT",
- "videoOrientation": null
}
]
Install Device Package
Install a package with specific version to device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Required | Description |
---|---|---|---|
packageName |
string | required | PackageName of package to install |
version |
string | required | Version (typically semver) of package to install |
build |
string | optional | Build tag of package version to install. Typically architecture (arm, x386, x64 or versionCode for Android) |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "packageName": "com.google.android.webview",
- "version": "1.0.0",
- "build": "1000000000"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Installed Device Packages
Get package installs for device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "e61b03564612eaafc9e06c4020f23b40062268d66e40766cd5",
- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "createdAt": "2022-01-24T13:17:19.592Z",
- "succeededAt": "2022-01-24T13:17:38.446Z",
- "failedAt": null,
- "packageName": "signal-private-messenger-06f3c83",
- "version": "5.0.8",
- "build": null,
- "postponedAt": null
}, - {
- "uid": "a05ed2092745601f18714a0ab957ffc9d3410af822801b4107",
- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "createdAt": "2022-01-24T13:01:44.612Z",
- "succeededAt": null,
- "failedAt": null,
- "packageName": "signal-private-messenger-06f3c83",
- "version": "5.0.8",
- "build": null,
- "postponedAt": null
}, - {
- "uid": "be8f336cc2981ecb9880c7272e5ef00a1d0cb117d4eead0ae3",
- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "createdAt": "2022-01-22T19:41:16.617Z",
- "succeededAt": "2022-01-22T19:41:19.045Z",
- "failedAt": null,
- "packageName": "cloud-control-sample-app-fd421f9",
- "version": "0.2.0",
- "build": null,
- "postponedAt": null
}
]
Start Installed Device Package
Start specified package installation on device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
packageName |
string | required | Name of the package to start |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
packageName | string Example: packageName={{packageName}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Get Started Device Packages
Get package starts for device by deviceUid
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/x-www-form-urlencoded |
Responses
Response samples
- 200
- 404
[- {
- "uid": "e61b03564612eaafc9e06c4020f23b40062268d66e40766cd5",
- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "createdAt": "2022-01-24T13:17:19.592Z",
- "succeededAt": "2022-01-24T13:17:38.446Z",
- "failedAt": null,
- "packageName": "signal-private-messenger-06f3c83",
- "version": "5.0.8",
- "build": null,
- "postponedAt": null
}
]
Get Device Pin
Get device PIN code if already exists by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique device identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
- 404
{- "deviceUid": "device-uid",
- "pinCode": "8379"
}
Get Device Policies
Get policies currently assigned to the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "7a4741c842c86c7221ac662899272f7467ecbf30fb8dea5bf1",
- "priority": 1,
- "assignedAt": "2022-02-21T17:04:31.711Z"
}
]
Assign Policy to Device
Assign policy to device by deviceUid
and policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
uid |
string | Required | Uid of Policy to be assigned to the Device |
priority |
number | Required | Priority of the policy regarding the Device. Higher the number higher the priority. If multiple policies assigned conflicting policy item will be set by the Policy with higher priority. |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "uid": "{{policyUid}}",
- "priority": 1
}
Response samples
- 200
{- "message": "OK"
}
Get Device Policy
Get detail of policy assigned to the device by deviceUid
and policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
policyUid |
string | Required | Unique Policy Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "7a4741c842c86c7221ac662899272f7467ecbf30fb8dea5bf1",
- "name": "Brightness",
- "createdAt": "2021-06-16T07:51:06.917Z",
- "items": [
- {
- "type": "BRIGHTNESS",
- "value": [
- {
- "brightness": 36,
- "time": "16:56"
}
]
}
], - "note": "New policy created"
}
Unassign Policy from Device
Unassign Policy from Device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
policyUid |
string | Required | Unique Policy Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "message": "OK"
}
Policy status provides list of Device Policies assigned to the device.
You get the exact Policy used and list of settings this policy affects (e.g.: volume, brightness, timers,...)
Get Device Policy Status
Get active policy properties assigned on a device by deviceUid
, policyUid
and itemtype
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
policyUid |
string | Required | Unique Policy Identification |
itemType |
string | Required | Type of policy e.g. VOLUME . |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
policyUid required | string Example: {{policyUid}} |
itemType required | string Example: BRIGHTNESS |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "policyUid": "7a4741c842c86c7221ac662899272f7467ecbf30fb8dea5bf1",
- "itemType": {
- "type": "BRIGHTNESS",
- "value": [
- {
- "brightness": 36,
- "time": "16:56"
}
]
}, - "updatedAt": "2021-06-16T07:51:06.917Z"
}
Get Device Policy Status List
Get a list of all active policy properties assigned on a device by deviceUid
, policyUid
and itemType
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
policyUid |
string | Required | Unique Policy Identification |
itemType |
string | Required | Type of policy e.g. VOLUME . |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
policyUid | string Example: policyUid={{policyUid}} |
itemType | string Example: itemType=BRIGHTNESS |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "deviceUid": "b8d99e785d90251a459e838888b0649c8754bf77f50b02c18b671",
- "policyUid": "7a4741c842c86c7221ac662899272f7467ecbf30fb8dea5bf1",
- "itemType": [
- {
- "type": "BRIGHTNESS",
- "value": [
- {
- "brightness": 36,
- "time": "16:56"
}
]
}
], - "updatedAt": "2021-06-16T07:51:06.917Z"
}
Get Devices Last Alive
Get list of datetimes, when the devices were last active, for all or list of selected devices in the current organization.
This endpoint uses pagination. For more information view Pagination section.
query Parameters
deviceUids | Array of strings Example: deviceUids={{deviceUid}} List of device uids. For more information, view |
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
descending | boolean Default: true Example: descending=true Default |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "aliveAt": "2022-01-02T10:00:00.000Z"
}, - {
- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "aliveAt": null
}
]
Get Device Last Alive
Get the datetime, when the device was last active for a device in current organization.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "aliveAt": "2022-01-02T10:00:00.000Z"
}
Create Device Power Action
Perform device power action by deviceUid
.
Send Power action to a device – restart, shutdown/turn off, turn on, restart an android app, refresh applet and reload applet.
APP_RESTART
– Restart App on the display and clear HTML cachesSYSTEM_REBOOT
– Restart deviceAPPLET_RELOAD
– Hard reload of saved content and filesAPPLET_REFRESH
– Soft refresh of an applet (like F5)DISPLAY_POWER_ON
– Turn on display (not chip)DISPLAY_POWER_OFF
– Turn off display (not chip)APPLET_DISABLE
– Disable applet for the current session and show basic device infoAPPLET_ENABLE
– Enable applet again for the current session and show the current applet
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
devicePowerAction |
string - ‘APP_RESTART’ ‘SYSTEM_REBOOT’ ‘APPLET_RELOAD’ ‘APPLET_REFRESH’ ‘DISPLAY_POWER_ON’ ‘DISPLAY_POWER_OFF’ ‘APPLET_DISABLE’ ‘APPLET_ENABLE’ | the Power action type, UPPERCASE |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "devicePowerAction": "APP_RESTART"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Performed Device Power Actions
Get all performed device power actions by deviceUid
Get Power actions sent to the device – restart, shutdown/turn off, turn on, restart the android app, refresh applet and reload applet.
APP_RESTART
– Restart APP on the display and clear HTML caches;SYSTEM_REBOOT
– Restart deviceAPPLET_RELOAD
– Hard reload of saved content and filesAPPLET_REFRESH
– Soft refresh of the applet (like F5)DISPLAY_POWER_ON
– Turn on display (not chip)DISPLAY_POWER_OFF
– Turn off the display (not chip)APPLET_DISABLE
– Disable applet for the current session and show basic device infoAPPLET_ENABLE
– Enable applet again for the current session and show the current applet
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "3cffce6acb7a9899815517dd0137723af7e5bf17bee9aac993",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-25T21:22:23.829Z",
- "succeededAt": "2021-04-25T21:22:25.394Z",
- "failedAt": null,
- "powerType": "APP_RESTART"
}, - {
- "uid": "480453939e3b0e47e6e7c5f82dd9d5810e5fe216355a4f1103",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-25T21:19:47.040Z",
- "succeededAt": "2021-04-25T21:19:48.736Z",
- "failedAt": null,
- "powerType": "APP_RESTART"
}
]
Create Device Scheduled Power Action
Set device scheduled power action by deviceUid
.
Schedule new power action.
APP_RESTART
– Restart APP on the display and clear HTML caches;SYSTEM_REBOOT
– Restart deviceAPPLET_RELOAD
– Hard reload of saved content and filesAPPLET_REFRESH
– Soft refresh of the applet (like F5)DISPLAY_POWER_ON
– turn on display (not chip)DISPLAY_POWER_OFF
– Turn off the display (not chip)APPLET_DISABLE
– Disable applet for the current session and show basic device infoAPPLET_ENABLE
– Enable applet again for the current session and show current applet
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
powerAction |
string ‘APP_RESTART’ ‘SYSTEM_REBOOT’ ‘APPLET_RELOAD’ ‘APPLET_REFRESH’ ‘DISPLAY_POWER_ON’ ‘DISPLAY_POWER_OFF’ ‘APPLET_DISABLE’ ‘APPLET_ENABLE’ | the Power action type, UPPERCASE |
weekdays (weekdays[0] - for x-www-form-urlencoded) |
string[] ‘MONDAY’ ‘TUESDAY’ ‘WEDNESDAY’ ‘THURSDAY’ ‘FRIDAY’ ‘SATURDAY’ ‘SUNDAY’ | List of weekdays when the power action should be triggered, UPPERCASE |
time |
string - HH:MM:SS | Time in 24 hour format, when the power action should be triggered |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "powerAction": "APP_RESTART",
- "time": "12:45:00",
- "weekdays": [
- "MONDAY",
- "TUESDAY"
]
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Scheduled Power Actions
Get all set device scheduled power actions by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | Required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "0c825d89a7abd1d227e921966b341fdbe80a7eed87d1bc37b1",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-25T22:04:27.217Z",
- "succeededAt": "2021-04-25T22:04:27.533Z",
- "failedAt": null,
- "powerAction": "APP_RESTART",
- "weekdays": [
- "MONDAY",
- "TUESDAY"
], - "time": "12:45:00"
}
]
Delete Device Scheduled Power Action
Delete or cancel scheduled power action on a device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
scheduledPowerActionUid |
string | required | Scheduled power action id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
scheduledActionUid required | string Example: {{scheduledActionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Deprovision/remove Device
Unpair device by device UID and reset content
Deprovision device (removes device organization and removes device verification).
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
""
Response samples
- 200
- 400
- 404
{- "message": "OK"
}
Verify Device via Verification Hash
Register device to your account by sending Verification Hash.
When a device is successfully verified & paired with an organization. The request returns response code 201. Additionally in response Header Location
will be available link to just verified device verification resource.
Parameters
Field | Type | Required | Description |
---|---|---|---|
none |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
verificationHash |
string | Verification hash generated on screen during deployment |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "verificationHash": "{{verificationHash}}"
}
Response samples
- 201
- 404
{- "message": "OK"
}
Get Device Verification
Get device verification containing hash by deviceVerificationUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceVerificationUid |
string | required | Unique device verification identification |
path Parameters
deviceVerificationUid required | string Example: {{deviceVerificationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "d2f3e255fad2dd6f3e12f0f16dc594fe99654fec351f3fa338",
- "createdAt": "2021-05-04T10:38:54.483Z",
- "deviceUid": "e3f9f4291feff2dc0ee17319f1cdab15fb41007bbd0cd5c37a244",
- "hash": "e0a7fe",
- "verifiedAt": "2022-02-22T16:34:42.518Z"
}
Update Device Kiosk Mode/IR Remote Control
This endpoint enables/disables the IR Remote Control sensor on the SoC devices & locks/unlocks Android devices Kiosk mode.
If you want to disable IR Remote Control sensor to prevent anyone from controlling your device over IR remote control or if you want to lock tablet into kiosk mode.
Android Device Attention Required:
In order to prevent Android from displaying Android homepage and thus not showing your content, you must Enable Kiosk Mode (= Lock Remote Control) either through Box device settings or through API.
Always set the Remote Control to enabled=false
via this REST API or in Box on the device detail's Settings tab.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
locked |
boolean | FALSE – device is unlocked (possible to use IR control and kiosk mode is disabled) TRUE – device is locked (no IR control, kiosk mode enabled) |
kiosk |
boolean | alias to locked |
enabled |
boolean | DEPRECATED - TRUE – device is unlocked (possible to use IR control and kiosk mode is disabled) FALSE – device is locked (no IR control, kiosk mode enabled) |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "locked": false
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Kiosk Mode / IR Remote Control Status
If you want to know if you disabled IR Remote Control or if you locked the tablet into kiosk mode.
locked
FALSE
, IR Remote Control is UNLOCKED, you can use it to adjust device settings, KIOSK mode is disabledTRUE
, IR Remote Control is LOCKED, it is not possible to use it, KIOSK mode is enabled
kiosk
- alias to
locked
enabled DEPRECATED
TRUE
, IR Remote Control is UNLOCKED, you can use it to adjust device settings, KIOSK mode is disabledFALSE
, IR Remote Control is LOCKED, it is not possible to use it, KIOSK mode is enabled
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | device application id |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "46492231b9b4761f9bdbca0662a8aefd2c9f75e2202328b2c3",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-25T22:20:15.891Z",
- "succeededAt": null,
- "failedAt": "2021-04-25T22:20:16.098Z",
- "enabled": true,
- "locked": false,
- "kiosk": false
}
]
Assign Device To Location
path Parameters
deviceUid required | string Example: {{deviceUid}} |
locationUid required | string |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Get Last Screenshot By Devices
Get list of last screenshots. One screenshot for each listed device in current organization. If device doesn't have any screenshots it will be skipped.
This endpoint uses pagination. For more information view Pagination section.
query Parameters
deviceUids | Array of strings Example: deviceUids={{deviceUid}} List of device uids. For more information, view |
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
descending | boolean Default: true Example: descending=true Default |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "0e95c7cf-b3e1-41ad-ab71-a4321dafaaab",
- "deviceUid": "device-uid-1",
- "takenAt": "2022-01-01T10:00:00.000Z",
- "uri": "www.screenshot-url-1.com"
}, - {
- "uid": "0e95c7cf-b3e1-41ad-ab71-a4321dafaaab",
- "deviceUid": "device-uid-2",
- "takenAt": "2022-01-01T11:00:00.000Z",
- "uri": "www.screenshot-url-2.com"
}
]
Request New Device Screenshot
Request to take live screenshots from the device by deviceUid
. You can obtain extra screenshots at any time and it will be shown in a standard list of taken screenshots.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Screenshots
Get live screenshots from the device by deviceUid
. Usually, we take screenshots automatically every 6 minutes. But you can obtain extra screenshots at any time.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
takenSince | string <date-time> Example: takenSince={{takenSince}} Fetch data since this parameter. |
takenUntil | string <date-time> Example: takenUntil={{takenUntil}} Fetch data until this parameter. |
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
descending | integer Example: descending=5 Limit of results |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "deviceUid": "cf98c9d5f3442737e40221838bf2ef92f2b1173786ad3cb61519b",
- "takenAt": "2021-04-28T17:40:13.394Z",
- "uri": "www.screenshot-url-1.com"
}, - {
- "deviceUid": "cf98c9d5f3442737e40221838bf2ef92f2b1173786ad3cb61519b",
- "takenAt": "2021-04-28T17:40:08.374Z",
- "uri": "www.screenshot-url-2.com"
}
]
Get Device Storage
Get Current storage status of free, used & total memory in internal & external storage by deviceUid
.
Returned values are in Bytes.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "internal": {
- "capacity": 10737418240,
- "freeSpace": 10737418240
}, - "removable": {
- "capacity": 0,
- "freeSpace": 0
}, - "updatedAt": "2021-04-25T22:22:42.198Z"
}
Put Device Feature Test
Sets device feature tests by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "tests": [
- "cache",
- "display",
- "battery",
- "audio",
- "display",
- "file_system"
]
}
Response samples
- 204
- 404
# Empty response
Get Device Feature Test
Get the latest device feature tests by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "deviceUid": "f4a08a660c9e935abad3679001eff5646bfa657d5365aabf48749",
- "pendingTests": [ ],
- "successfulTests": [
- "cache",
- "audio",
- "display"
], - "failedTests": [
- "file_system"
], - "testResults": {
- "cache": {
- "title": "cache",
- "total": 2,
- "successful": 2,
- "failed": 0,
- "skipped": 0,
- "test": [
- {
- "beforeEach": [ ],
- "test": {
- "title": "should test cacheGet, cacheGetAll, cacheDelete",
- "skipped": false,
- "failed": false,
- "duration": 27
}, - "afterEach": [ ]
}, - {
- "beforeEach": [ ],
- "test": {
- "title": "should test cacheGetStorageInfo",
- "skipped": false,
- "failed": false,
- "duration": 5
}, - "afterEach": [ ]
}
], - "describe": [ ],
- "before": [ ],
- "after": [ ],
- "duration": 32
}, - "audio": {
- "title": "audio",
- "total": 1,
- "successful": 1,
- "failed": 0,
- "skipped": 0,
- "test": [
- {
- "beforeEach": [ ],
- "test": {
- "title": "Should set the volume",
- "skipped": false,
- "failed": false,
- "duration": 160
}, - "afterEach": [ ]
}
], - "describe": [ ],
- "before": [ ],
- "after": [ ],
- "duration": 160
}, - "battery": {
- "title": "battery",
- "total": 1,
- "successful": 0,
- "failed": 0,
- "skipped": 1,
- "test": [
- {
- "beforeEach": [ ],
- "test": {
- "title": "Should get battery status",
- "skipped": true,
- "failed": false,
- "duration": 3,
- "reason": "The device does not provide \"BATTERY_STATUS\" capability"
}, - "afterEach": [ ]
}
], - "describe": [ ],
- "before": [ ],
- "after": [ ],
- "duration": 3
}, - "display": {
- "title": "display",
- "total": 2,
- "successful": 2,
- "failed": 0,
- "skipped": 0,
- "test": [
- {
- "beforeEach": [ ],
- "test": {
- "title": "Should power on/off display",
- "skipped": false,
- "failed": false,
- "duration": 204
}, - "afterEach": [ ]
}, - {
- "beforeEach": [ ],
- "test": {
- "title": "Should set the screen brightness",
- "skipped": false,
- "failed": false,
- "duration": 152
}, - "afterEach": [ ]
}
], - "describe": [ ],
- "before": [ ],
- "after": [ ],
- "duration": 356
}, - "file_system": {
- "title": "file_system",
- "total": 51,
- "successful": 45,
- "failed": 1,
- "skipped": 5,
- "test": [ ],
- "describe": [
- {
- "title": "testing with internalStorageUnit",
- "total": 48,
- "successful": 45,
- "failed": 1,
- "skipped": 2,
- "test": [
- {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFile",
- "skipped": false,
- "failed": false,
- "duration": 1327
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFileNotExistsFail",
- "skipped": false,
- "failed": false,
- "duration": 12
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test WriteFile",
- "skipped": false,
- "failed": false,
- "duration": 688
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test WriteFileAlreadyExistsOverrides",
- "skipped": false,
- "failed": false,
- "duration": 589
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test AppendFile",
- "skipped": false,
- "failed": false,
- "duration": 603
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test AppendFileAlreadyExistsAppends",
- "skipped": false,
- "failed": false,
- "duration": 604
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test IsDirectory",
- "skipped": false,
- "failed": false,
- "duration": 366
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test IsDirectoryIfNotExistingFail",
- "skipped": false,
- "failed": false,
- "duration": 28
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DeleteFile",
- "skipped": false,
- "failed": false,
- "duration": 418
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DeleteDirectory",
- "skipped": false,
- "failed": false,
- "duration": 56
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DeleteDirectoryRecursively",
- "skipped": false,
- "failed": false,
- "duration": 395
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DeleteDirectoryNotRecursivelyFail",
- "skipped": false,
- "failed": false,
- "duration": 406
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DeleteFileNotExistingFail",
- "skipped": false,
- "failed": false,
- "duration": 44
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CreateDirectory",
- "skipped": false,
- "failed": false,
- "duration": 50
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CreateDirectoryFailIfAlreadyExists",
- "skipped": false,
- "failed": false,
- "duration": 9
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CreateDirectoryFailIfCreatingNested",
- "skipped": false,
- "failed": false,
- "duration": 20
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DownloadFile",
- "skipped": false,
- "failed": false,
- "duration": 377
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DownloadTextFile",
- "skipped": false,
- "failed": false,
- "duration": 900
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DownloadOverridesOriginalFile",
- "skipped": false,
- "failed": false,
- "duration": 1861
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DownloadToNotExistingContainingDirectoryFail",
- "skipped": false,
- "failed": false,
- "duration": 13
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test DownloadToExistingDirectoryPathFail",
- "skipped": false,
- "failed": false,
- "duration": 95
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ListFiles",
- "skipped": false,
- "failed": false,
- "duration": 741
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ListFilesOfNotExistingDirectoryFail",
- "skipped": false,
- "failed": false,
- "duration": 15
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ListFilesOfFileFail",
- "skipped": false,
- "failed": false,
- "duration": 353
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyFile",
- "skipped": false,
- "failed": false,
- "duration": 504
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyDirectory",
- "skipped": false,
- "failed": false,
- "duration": 597
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyFileToAlreadyExistingPathOverwrite",
- "skipped": false,
- "failed": false,
- "duration": 187
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyDirectoryToAlreadyExistingPathOverwrite",
- "skipped": false,
- "failed": false,
- "duration": 340
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyFileToAlreadyExistingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 711
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyFileToNotExistingContainingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 399
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test CopyFileFromNotExistingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 57
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveFile",
- "skipped": false,
- "failed": false,
- "duration": 461
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveDirectory",
- "skipped": false,
- "failed": false,
- "duration": 507
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveFileToAlreadyExistingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 705
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveFileToAlreadyExistingPathOverwrite",
- "skipped": false,
- "failed": false,
- "duration": 151
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveDirectoryToAlreadyExistingPathOverwrite",
- "skipped": false,
- "failed": false,
- "duration": 236
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveFileToNotExistingContainingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 415
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test MoveFileFromNotExistingPathFail",
- "skipped": false,
- "failed": false,
- "duration": 41
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test LinkFile",
- "skipped": true,
- "failed": false,
- "duration": 4,
- "reason": "Device doesn't provide FILE_SYSTEM_LINK capability"
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test testLinkFileToExistingPathFail",
- "skipped": true,
- "failed": false,
- "duration": 5,
- "reason": "Device doesn't provide FILE_SYSTEM_LINK capability"
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFileChecksum",
- "skipped": false,
- "failed": false,
- "duration": 473
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFileChecksum on problematic files",
- "skipped": false,
- "failed": true,
- "duration": 3648
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFileChecksumOfNotExistingFileFail",
- "skipped": false,
- "failed": false,
- "duration": 17
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test GetFileChecksumOfDirectoryFail",
- "skipped": false,
- "failed": false,
- "duration": 16
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ExtractFileZip",
- "skipped": false,
- "failed": false,
- "duration": 2790
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ExtractFileZipOverridesExisting",
- "skipped": false,
- "failed": false,
- "duration": 2968
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ExtractFileZipIfArchiveNotExistsFail",
- "skipped": false,
- "failed": false,
- "duration": 158
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}, - {
- "beforeEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "test": {
- "title": "should test ExtractFileZipIfTargetNotExists",
- "skipped": false,
- "failed": false,
- "duration": 363
}, - "afterEach": [
- {
- "title": "clear test directory",
- "skipped": false,
- "failed": false,
- "duration": 0
}
]
}
], - "describe": [ ],
- "before": [
- {
- "title": "Has internal storage unit?",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "after": [ ],
- "duration": 25723
}, - {
- "title": "testing with externalStorageUnit",
- "total": 1,
- "successful": 0,
- "failed": 0,
- "skipped": 1,
- "test": [ ],
- "describe": [ ],
- "before": [
- {
- "title": "Has external storage unit?",
- "skipped": true,
- "failed": false,
- "duration": 0,
- "reason": "No."
}
], - "after": [ ],
- "duration": 0
}, - {
- "title": "testing from externalStorageUnit to internalStorageUnit",
- "total": 1,
- "successful": 0,
- "failed": 0,
- "skipped": 1,
- "test": [ ],
- "describe": [ ],
- "before": [
- {
- "title": "Has internal *and* external storage units?",
- "skipped": true,
- "failed": false,
- "duration": 0,
- "reason": "No."
}
], - "after": [ ],
- "duration": 0
}, - {
- "title": "testing from internalStorageUnit to externalStorageUnit",
- "total": 1,
- "successful": 0,
- "failed": 0,
- "skipped": 1,
- "test": [ ],
- "describe": [ ],
- "before": [
- {
- "title": "Has internal *and* external storage units?",
- "skipped": true,
- "failed": false,
- "duration": 0,
- "reason": "No."
}
], - "after": [ ],
- "duration": 0
}
], - "before": [
- {
- "title": "Has internal *or* external storage unit?",
- "skipped": false,
- "failed": false,
- "duration": 0
}
], - "after": [ ],
- "duration": 25723
}
}, - "createdAt": "2022-02-22T17:57:12.433Z",
- "finishedAt": "2022-02-22T17:57:46.024Z"
}
Put Device Applet Test with Applet UID and Applet Version
Sets applet tests by deviceUid
, appletUid
and appletVersion
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
appletUid |
string | required | Unique Applet Identification |
appletVersion |
string (semver) | required | Applet version e.g. 2.0.1 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "tests": [
- "sample1",
- "sample2",
- "sample3"
]
}
Response samples
- 204
- 404
# Empty response
Get Device Applet Test By UID And Applet Version
Gets the latest applet test results by deviceUid
, appletUid
and appletVersion
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
appletUid |
string | required | Unique Applet Identification |
appletVersion |
string (semver) | required | Applet version e.g. 2.0.1 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
appletUid required | string Example: {{appletUid}} Unique Applet Identifier |
appletVersion required | string Example: {{appletVersion}} Version of your Applet, e.g. 1.0.12 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "appletUid": "d1aa183da1a70ca702f9f58bb991454363e37e3c21a6c1dc42",
- "appletVersion": "2.0.0",
- "deviceUid": "f4a08a660c9e935abad3679001eff5646bfa657d5365aabf48749",
- "pendingTests": [
- "sample1",
- "sample2",
- "sample3"
], - "successfulTests": [ ],
- "failedTests": [ ],
- "createdAt": "2022-02-22T18:06:58.628Z"
}
Update Device Time, Date and Timezone
Request change device time by deviceUid
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
Body
content-type: application/json
or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
time |
datetime - YYYY-MM-DDTHH:MM:SS |
Set current device date & time e.g. 2017-11-22T09:26:49 Input must be without timezone offset. The offset will be taken from the timezone parameter Accepted formats are: - YYYY-MM-DDTHH:MM:SS.mmm (2017-11-22T09:26:49.345) - YYYY-MM-DDTHH:MM:SS (2017-11-22T09:26:49) - YYYY-MM-DDT:HH:MM (2017-11-22T09:26) Will be set as 2017-11-22T09:26:00 - UNIX timestamp (1616140800000) - SQL TIMESTAMP (2013-01-01 00:00:00.000) |
timezone |
string - {Continent}/{City} |
Set device timezone by the IANA - List of all timezones can be found here - but read more about Tizen below. |
ntpServer |
string | Optional NTP server, e.g.: pool.ntp.org |
Remarks
Setting NTP server and timezone has side effects:
Platform | Side effect |
---|---|
Tizen | After calling this API, display Reboots! Tizen has limited set of available timezones |
RaspberryPi | After calling this API, RPi Reboots backend server which can take up to 60 seconds! During the reboot no JS API is available. Always wait for Promise resolution. |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "time": "2021-03-19T22:37",
- "timezone": "Europe/Prague",
- "ntpServer": "pool.ntp.org"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Time, Date and Timezone
This method is used for get settings of timestamp and timezone on device by devideUid
.
Current device date and time is available under
/device
endpoint
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "537861f1697e06fcd29596eddae43225471f572acbfa5a593b",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "timestamp": 1616207820000,
- "timezone": "US/Eastern",
- "createdAt": "2021-04-27T02:27:18.374Z",
- "failedAt": "2021-04-27T02:27:23.034Z",
- "postponedAt": null
}, - {
- "uid": "4b69737094dc17af9a0daafcdefab1c51cea395d26ae86a224",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "timestamp": 1616207820000,
- "timezone": "US/Eastern",
- "createdAt": "2021-04-26T16:59:57.952Z",
- "failedAt": "2021-04-26T17:00:02.289Z",
- "postponedAt": null
}, - {
- "uid": "18bc299f9361033b250515572bbb324ae1e6dc47f2f9080008",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "timestamp": 1616207820000,
- "timezone": "US/Eastern",
- "createdAt": "2021-04-25T23:39:38.815Z",
- "failedAt": "2021-04-25T23:39:39.013Z",
- "postponedAt": null
}, - {
- "uid": "bb7760902830766fe3f63999e1cf6401a94502a44fb4957e99",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "timestamp": 1616207820000,
- "timezone": "US/Eastern",
- "createdAt": "2021-04-25T23:31:54.196Z",
- "failedAt": "2021-04-25T23:31:54.551Z",
- "postponedAt": null
}
]
Create, Update and Remove Device Timer
When the device should be woken up and when to turn it off to standby.
This endpoint is used for adding the Timers and also for removing Timers.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
Body
content-type: application/json or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
type |
string - ‘TIMER_1’, ‘TIMER_2’, ‘TIMER_3’, ‘TIMER_4’, ‘TIMER_5’, ‘TIMER_6’, ‘TIMER_7’ | Which of seven timers you would like to set |
timeOn |
time / NULL, HH:MM:SS / NULL | Wake up time for selected timer |
timeOff |
time / NULL, HH:MM:SS / NULL | Turn off time for selected timer |
volume |
number / 0-100 | Volume, if device has speakers |
weekdays (weekdays[0-6] - for x-www-form-urlencoded) |
string[] / ex.: sun, mon, tue, wed, thu, fri, sat | For which days the timer should be applied |
level |
string - ‘NATIVE’ / ‘PROPRIETARY’ | Should the device turn off completely or should it just turn off the display |
How to remove Timers
Set timeOn
and timeOff
for respective type (TIMER_1, TIMER_2,..) to NULL
.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "type": "TIMER_1",
- "timeOn": "08:00:00",
- "timeOff": "23:00:00",
- "volume": "50",
- "weekdays": [
- "mon",
- "tue",
- "wed"
], - "level": "PROPRIETARY"
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Timers
List of device timer sets when the device should be woken up and when to turn it off. This retrieves previously set timers.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "f97377723257be1b0efaf0272d9567b3b43e0a1686eb80e41b",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-27T02:33:13.619Z",
- "succeededAt": null,
- "failedAt": null,
- "type": "TIMER_1",
- "level": "PROPRIETARY",
- "timeOn": "08:00:00",
- "timeOff": "23:00:00",
- "weekdays": [
- "mon",
- "tue",
- "wed"
], - "volume": 50
}
]
Get Device Latest Telemetry by Type
Telemetry provides access to the latest device settings reported from the device.
Using this endpoint you can get the current value of:
Settings type | Notes |
---|---|
DISPLAY_SETTING | Only available on Tizen with enabled Extended control |
INPUT_SOURCE | Only available on Tizen with enabled Extended control |
VOLUME | |
BRIGHTNESS | |
TIMERS | |
PROPRIETARY_TIMERS | |
RESOLUTION | |
ORIENTATION | |
REMOTE_CONTROL | |
APPLICATION_VERSION | |
FRONT_DISPLAY_VERSION | |
FIRMWARE_VERSION | |
DEBUG | |
DATETIME | |
POWER_ACTIONS_SCHEDULE | |
TEMPERATURE | |
ONLINE_STATUS | |
BUNDLED_APPLET | |
PROXY | |
WIFI_STRENGTH | |
AUTO_RECOVERY | Only available on Tizen and WebOS |
PEER_RECOVERY | only available on Tizen |
IMPORTANT: Telemetry works on the following Core Apps versions
Platform | Min. version |
---|---|
Tizen | 2.3.0 |
webOS | 2.3.0 |
Brightsign | 1.5.0 |
Android | 3.13.0 |
signageOS OS | 2.0.0 |
Windows | 2.2.0 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
telemetryType required | string Example: {{telemetryType}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "deviceUid": "f4a08a660c9e935abad3679001eff5646bfa657d5365aabf48749",
- "type": "BRIGHTNESS",
- "createdAt": "2022-01-27T17:26:42.640Z",
- "data": {
- "brightness": 75
}
}
Get Device History by Type
Telemetry history provides access to the device settings reported from the device.
This endpoint uses pagination. For more information view Pagination section. Max allowed page size is 100.
Using this endpoint you can get the current value of:
Settings type | Notes |
---|---|
DISPLAY_SETTING | Only available on Tizen with enabled Extended control |
INPUT_SOURCE | Only available on Tizen with enabled Extended control |
VOLUME | |
BRIGHTNESS | |
TIMERS | |
PROPRIETARY_TIMERS | |
RESOLUTION | |
ORIENTATION | |
REMOTE_CONTROL | |
APPLICATION_VERSION | |
FRONT_DISPLAY_VERSION | |
FIRMWARE_VERSION | |
DEBUG | |
DATETIME | |
POWER_ACTIONS_SCHEDULE | |
TEMPERATURE | |
ONLINE_STATUS | |
BUNDLED_APPLET | |
PROXY | |
WIFI_STRENGTH | |
AUTO_RECOVERY | Only available on Tizen and WebOS |
PEER_RECOVERY | only available on Tizen |
IMPORTANT: Telemetry works on the following Core Apps versions
Platform | Min. version |
---|---|
Tizen | 2.3.0 |
webOS | 2.3.0 |
Brightsign | 1.5.0 |
Android | 3.13.0 |
signageOS OS | 2.0.0 |
Windows | 2.2.0 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
telemetryType required | string Example: {{telemetryType}} |
query Parameters
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "deviceUid": "f4a08a660c9e935abad3679001eff5646bfa657d5365aabf48749",
- "uid": "ID-1",
- "type": "BRIGHTNESS",
- "createdAt": "2022-01-27T17:26:42.640Z",
- "data": {
- "brightness": 75
}
}, - {
- "deviceUid": "f4a08a660c9e935abad3679001eff5646bfa657d5365aabf48749",
- "uid": "ID-2",
- "type": "BRIGHTNESS",
- "createdAt": "2022-01-26T12:35:11.000Z",
- "data": {
- "brightness": 15
}
}
]
Get Devices Latest Telemetries
Get list all telemetry records (e.g.: REMOTE_CONTROL, OFFLINE_RANGE and etc.), for all or list of selected devices in the current organization.
This endpoint uses pagination. For more information view Pagination section.
query Parameters
deviceUids | Array of strings Example: deviceUids={{deviceUid}} List of device uids. For more information, view |
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "deviceUid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-03T10:00:00.000Z",
- "telemetries": {
- "OFFLINE_RANGE": {
- "uid": "dec419cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-03T10:00:00.000Z",
- "data": {
- "since": "2022-01-03T11:00:00.000Z",
- "until": "2022-01-03T12:00:00.000Z"
}
}, - "REMOTE_CONTROL": {
- "uid": "1cb593e9-546f-4fca-9e9c-b04a11b32468",
- "createdAt": "2022-01-02T10:00:00.000Z",
- "data": {
- "enabled": true
}
}
}
}, - {
- "deviceUid": "570c1f04-c035-45f9-9c1d-e3a082e9ea31",
- "createdAt": "2022-01-02T10:00:00.000Z",
- "telemetries": {
- "OFFLINE_RANGE": {
- "uid": "0e0c6ae9-ff66-42fa-862b-8cad55c3ff82",
- "createdAt": "2022-01-02T10:00:00.000Z",
- "data": {
- "since": "2022-01-02T11:00:00.000Z",
- "until": "2022-01-02T12:00:00.000Z"
}
}
}
}
]
Get Device Latest Telemetries
Get the latest telemetry readings of all types (e.g.: REMOTE_CONTROL, OFFLINE_RANGE and etc.), for a device in the current organization.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "deviceUid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-03T10:00:00.000Z",
- "telemetries": {
- "OFFLINE_RANGE": {
- "uid": "dec419cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "createdAt": "2022-01-03T10:00:00.000Z",
- "data": {
- "since": "2022-01-03T11:00:00.000Z",
- "until": "2022-01-03T12:00:00.000Z"
}
}, - "REMOTE_CONTROL": {
- "uid": "1cb593e9-546f-4fca-9e9c-b04a11b32468",
- "createdAt": "2022-01-02T10:00:00.000Z",
- "data": {
- "enabled": true
}
}
}
}
Update Device Volume
Set device volume on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
Body
content-type: application/json or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
volume |
number | Device volume in percent 0-100 |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "volume": 90
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Volume
Get device audio volume on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "33bc149a44a3948a57a8b7083fe73fb17d5fe98d6066d86cb1",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-30T01:31:35.756Z",
- "succeededAt": null,
- "failedAt": "2021-04-30T01:31:35.955Z",
- "volume": 90
}, - {
- "uid": "8020ec86df621d014c1703d9733d17fd4077bf41d61a551f21",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-30T01:30:33.709Z",
- "succeededAt": null,
- "failedAt": "2021-04-30T01:30:34.103Z",
- "volume": 50
}
]
Get Device Auto Recovery
Get configuration of device auto recovery process if device supports that
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "45e7ebad-2157-4c6a-989e-1b437abba812",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T11:00:00.000Z",
- "succeededAt": null,
- "failedAt": null,
- "enabled": true,
- "healthcheckIntervalMs": 30000
}, - {
- "uid": "973f5fe8-983b-4a78-81e8-22a8d9aca950",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T11:00:00.000Z",
- "succeededAt": "2022-01-01T11:00:05.000Z",
- "failedAt": null,
- "enabled": false,
- "autoEnableTimeoutMs": 30000
}, - {
- "uid": "2068ae82-4c2e-4fc1-87cf-0f2c09c27ad8",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "succeededAt": null,
- "failedAt": "2022-01-01T11:00:05.000Z",
- "enabled": false
}
]
Set Device Auto Recovery
Set configuration of device auto recovery process if device supports that.
Parameters
Field | Type | Required | Description |
---|---|---|---|
enabled |
boolean | required | Indicates whether peer recovery should be enabled or disabled |
healthcheckIntervalMs |
integer | required | When auto recovery is enabled, watchdog in node process checks periodically browser process with interval specified in ms. This attribute is required only if enabled is true |
autoEnableTimeoutMs |
integer | required | When peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically. This attribute is required only if enabled is false |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/jsonrequired
enabled | boolean When set to true, process is enabled, otherwise it is disabled |
healthcheckIntervalMs | integer >= 30000 When auto recovery is enabled, watchdog in node process checks periodically browser process with interval specified in ms |
autoEnableTimeoutMs | integer >= 30000 When peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically |
Responses
Request samples
- Payload
{- "enabled": true,
- "healthcheckIntervalMs": 60000,
- "autoEnableTimeoutMs": 600000
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Device Peer Recovery
Get peer recovery settings history of a single device.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
[- {
- "uid": "45e7ebad-2157-4c6a-989e-1b437abba812",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T11:00:00.000Z",
- "succeededAt": null,
- "failedAt": null,
- "enabled": false
}, - {
- "uid": "973f5fe8-983b-4a78-81e8-22a8d9aca950",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T11:00:00.000Z",
- "succeededAt": "2022-01-01T11:00:05.000Z",
- "failedAt": null,
- "enabled": false,
- "autoEnableTimeoutMs": 30000
}, - {
- "uid": "2068ae82-4c2e-4fc1-87cf-0f2c09c27ad8",
- "deviceUid": "5426c8ca-f440-4777-8170-afdefb94ed52",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "succeededAt": null,
- "failedAt": "2022-01-01T11:00:05.000Z",
- "enabled": true
}
]
Update Device Peer Recovery
Set device peer recovery on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
enabled |
boolean | required | Indicates whether peer recovery should be enabled or disabled |
urlLauncherAddress |
string | required | When peer recovery is enabled, this URL address has to be set in URL launcher on device that is recovered. This attribute is required only if enabled is true |
autoEnableTimeoutMs |
integer | required | When peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically. This attribute is required only if enabled is false |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
enabled | boolean Indicates whether peer recovery should be enabled or disabled |
urlLauncherAddress | string When peer recovery is enabled, this URL address has to be set in URL launcher on device that is recovered |
autoEnableTimeoutMs | integer >= 30000 When peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically |
Responses
Request samples
- Payload
{- "enabled": true,
- "autoEnableTimeoutMs": 600000
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get Firmwares
Get all available firmware versions
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "5e7795e88a27353ce3a3fbe2",
- "createdAt": "2018-07-09T14:56:26.000Z",
- "applicationType": "tizen",
- "version": "T-HKMLAKUC-2020.5"
}, - {
- "uid": "5e7795e83a71b992779cc7c5",
- "createdAt": "2018-07-11T10:41:02.000Z",
- "applicationType": "webos",
- "version": "04.02.20"
}
]
Create Firmware
Create new firmware version.
Currently for internal usage only
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "applicationType": "linux",
- "version": "0.378",
- "hashes": [
- "md5"
]
}
Create Location
Create location
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | yes | name of the location |
coordinates |
{ lat: number, long: number } | no | this field is mutually exclusive with field address, only one can be in payload. Range from -90 to 90 for latitude and -180 to 180 for longitude |
address |
string | no | this field is mutually exclusive with field coordinates, only one can be in payload |
customId |
string | no | unique id which might be used e.g. for referencing the device to other systems |
description |
string | no | any additional info about the location |
Warning: Fields
coordinates
andaddress
are mutually exclusive, but at least one of them must be in payload
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "test location",
- "address": "Howard Street, San Francisco, CA, USA",
- "customId": "custom-id-123",
- "description": "description note"
}
Response samples
- 200
{- "message": "OK"
}
Get Location
Get location
Parameters
Field | Type | Required | Description |
---|---|---|---|
uid |
string | required |
location id |
path Parameters
locationUid required | string Example: {{locationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/x-www-form-urlencoded |
Responses
Update Location
Update location
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | no | name of the location |
coordinates |
{ lat: number, long: number } | no | this field is mutually exclusive with field address, only one can be in payload. Range from -90 to 90 for latitude and -180 to 180 for longitude |
address |
string | no | this field is mutually exclusive with field coordinates, only one can be in payload |
customId |
string | no | unique id which might be used e.g. for referencing the device |
| description
| string | no | any additional info about the location |
Warning: Fields
coordinates
andaddress
are mutually exclusive, but at least one of them must be in payload
path Parameters
locationUid required | string Example: {{locationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "test location",
- "coordinates": {
- "lat": 37.78119,
- "long": -122.40492
}, - "organizationUid": "org-uuid-123",
- "customId": "custom-id-123",
- "description": "description note updated"
}
Response samples
- 200
{- "message": "OK"
}
Delete Location
Delete location
Parameters
Field | Type | Required | Description |
---|---|---|---|
uid |
string | required | unique location id |
path Parameters
locationUid required | string Example: {{locationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/x-www-form-urlencoded |
Responses
Response samples
- 200
{- "message": "OK"
}
Add Attachment to Location
Add one file attachment to location
path Parameters
locationUid required | string Example: {{locationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: image/* |
Request Body schema: image/*
Accepts only binary image files
Only Content-type of 'image/png', 'image/jpeg' or 'image/gif' is allowed
Responses
Response samples
- 200
{- "message": "OK"
}
Remove Attachments from Location
path Parameters
locationUid required | string Example: {{locationUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "attachments": [
- "location/attachment-uid_1.png",
- "location/attachment-uid_1.jpeg"
]
}
Response samples
- 200
{- "message": "OK"
}
Assign Organization Tag To Location
path Parameters
locationUid required | string Example: {{locationUid}} |
tagUid required | string |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Create Organization
Creates a new Organization for the current account
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET(separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here. - Are you using REST API for creating Organizations? Make sure that the user token used for creating a new Organization belongs to the user with Company role
Master
orOwner
. - It is important to note that after creating a Company through REST API, the default Device plan is set to 3.0. This can be changed from within SignageOS Box under your Company profile
Parameters
Field | Type | Required | Description |
---|---|---|---|
no parameters required |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | Organization name Can contain only letters and numbers separated by dashes and it must start and end with a letter or a number Min 2 and max 255 length Example: signageos-test-org-1 |
title |
string | required | Organization title Min 2 and max 255 length Example: SignageOS Testing Organization |
In the response, you can find Location header with a link to the created organization. |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "my-organization",
- "title": "My new organization"
}
Response samples
- 201
{- "message": "OK"
}
Get Organizations
Get all Organizations for current account
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
organizationUid |
string | optional | filter by organization identification |
accountId |
number | optional | filter by account identification |
name |
string | optional | filter by name of the organization |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
x-oauth-client_secret | string Example: {{x-oauth-client_secret}} |
Responses
Response samples
- 200
[- {
- "uid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "name": "example-company",
- "title": "Example",
- "createdAt": "2019-05-25T08:28:50.372Z",
- "oauthClientId": "8a2cfadab69a748e7595c8eb11e547f7361c7429f00f4cxxwQ",
- "oauthClientSecret": "cca347855de76c22f84c7109307a50afa980111a77542ea389b99bb2ebdwerrw"
}
]
Get Organization
Get the Organization details by organizationUid
for the current account
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
organizationUid |
string | optional | filter by organization identification |
accountId |
number | optional | filter by account identification |
name |
string | optional | filter by name of the organization |
path Parameters
organizationUid required | string Example: {{organizationUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "_id": "5de7ba9ad28dcd1c79d4184557",
- "uid": "f4dc889c5bfae798bd652e5d0989e6805d4513154857772487",
- "name": "example",
- "title": "Example Company",
- "createdAt": "2018-05-24T08:56:52.550Z",
- "oauthClientId": "12a1547f940455abe604ae0f1ea41ab11d21659684418787542",
- "oauthClientSecret": "2e220142ed58adef375bdfc0d0b14a65c9f5d99127ab86c0c7fe4174845424457",
- "subscriptionType": "all",
- "accountIds": [
- 5484814875484848,
- 1587484844875757
], - "parentUid": "5d9bd72df4d187053cc7d2474c781cf590b10d2d7a12dwers",
- "isCompany": false,
- "accountMasterIds": [
- 3603263040896487,
- 6859689187230000
], - "maxDevicesCount": 100
}
Delete Organization
Delete Organization by organizationUid
for the current account.
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
organizationUid |
string | required | organization identification |
path Parameters
organizationUid required | string Example: {{organizationUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Update Organization
Update existing organization
path Parameters
organizationUid required | string Example: {{organizationUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
title required | string Organization title |
Responses
Request samples
- Payload
{- "title": "My new organization title"
}
Response samples
- 200
{- "message": "OK"
}
Update Organization Device Plan
Sets the organization's Device Plan.
We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Available Device Plans
- open
- 1.0
- 2.0
- 3.0
Parameters
Field | Type | Required | Description |
---|---|---|---|
newOrganizationUID |
string | required | unique organization identification |
subscriptionType |
string | required | subscription type. (One of: "open", "1.0", "2.0", "3.0") |
path Parameters
newOrganizationUID required | string Example: {{newOrganizationUID}} |
subscriptiontype required | string Example: {{subscriptiontype}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Create organization token
Creates organization token.
We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
newOrganizationUID required | string Example: {{newOrganizationUID}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "Your Token Name"
}
Response samples
- 201
{- "id": "fbb807a23f009af05dww",
- "securityToken": "454f512635cd7dwdwdwdwdwfwwxw2eb161a7fdwdwerr",
- "name": "Example Token Name"
}
Delete organization token
Deletes organization token in your organization by organizationUid
and organizationSecurityTokenId
.
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
organizationUid |
string | required | Unique Organization Identification |
organizationSecurityTokenId |
string | required | Security token |
path Parameters
organizationUid required | string Example: {{organizationUid}} |
organizationSecurityTokenID required | string Example: {{organizationSecurityTokenID}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Get Company organizations
Get list of all organizations within your company.
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
companyUid |
string | required | Company identification |
path Parameters
companyUid required | string Example: {{companyUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "name": "example-org",
- "title": "Example",
- "createdAt": "2021-05-25T08:28:50.372Z",
- "oauthClientId": "8a2cfadab69a748e7595c8eb11e547f7361c7429f00f4cxxwQ",
- "oauthClientSecret": "cca347855de76c22f84c7109307a50afa980111a77542ea389b99bb2ebdwerrw"
}
]
Get organization devices count
Get count of all devices in your organization by organizationUid
.
- We use different authentication in the x-auth header for
/organization
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
Parameters
Field | Type | Required | Description |
---|---|---|---|
organizationUid |
string | required | Unique Organization Identification |
path Parameters
organizationUid required | string Example: {{organizationUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "name": "example-org",
- "title": "Example",
- "createdAt": "2021-05-25T08:28:50.372Z",
- "oauthClientId": "8a2cfadab69a748e7595c8eb11e547f7361c7429f00f4cxxwQ",
- "oauthClientSecret": "cca347855de76c22f84c7109307a50afa980111a77542ea389b99bb2ebdwerrw",
- "devicesCount": 42
}
Get Policies
Get all policies for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination |
number greater than 0 | optional |
Start paginating result by a given number of items on the page. Next page link is available in the response header Link .E.g.: <https://api.signageos/v1/policy?pagination=50&createdUntil=2020-10-22T16%3A10%3A00.000Z>; rel="next" |
createdUntil |
string | optional |
Filter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
archived |
boolean | optional |
Filter archived/active policies. Accepted values '0', '1', 'true', 'false' |
query Parameters
pagination | number Example: pagination=50 Start paginating result by given number items on page. Next page link is available on in response under header |
createdUntil | string Example: createdUntil=2017-08-02T13:45:40.000Z Filter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see |
archived | boolean Filter archived/active policies. Accepted values '0', '1', 'true', 'false' |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "a75e1c9087af913c32ec35cd7b5b812193163d06cef952cb00",
- "name": "My device Policy",
- "createdAt": "2021-03-30T18:57:33.669Z",
- "items": [ ],
- "note": "New policy created"
}
]
Create Policy
Create new policy in specifies Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
No parameters |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | Name of new policy |
organizationUid |
string | required | UID of organization where will be policy created. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "My new policy",
- "organizationUid": "{{organizationUid}}"
}
Response samples
- 201
{- "message": "OK"
}
Get Policy
Get one policy by policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
policyUid |
string | Required | Unique Policy Identification |
path Parameters
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "a75e1c9087af913c32ec35cd7b5b812193163d06cef952cb00",
- "name": "My device Policy",
- "createdAt": "2021-03-30T18:57:33.669Z",
- "items": [ ],
- "note": "New policy created"
}
Update Policy
Update existing policy in the organization by policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
policyUid |
string | required | Unique Policy Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | New name for updated policy. |
note |
string | required | Sets new policy note. |
items |
array | required | An array of policy items. |
path Parameters
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "My updated Policy name",
- "note": "Set high volume and brightness by my store opening hours",
- "items": [
- {
- "type": "VOLUME",
- "value": {
- "volume": 100
}
}, - {
- "type": "VOLUME",
- "value": {
- "volume": 90
}, - "applicationType": "tizen"
}, - {
- "type": "BRIGHTNESS",
- "value": [
- {
- "brightness": 100,
- "time": "10:00"
}, - {
- "brightness": 10,
- "time": "22:00"
}
]
}
]
}
Response samples
- 200
{- "message": "OK"
}
Clone Policy
Clone existing policy in organization by policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
policyUid |
string | required | Unique Policy Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
name |
string | required | New name of the cloned policy. |
organizationUid |
string | required | Organization UID where will be new policy cloned. |
path Parameters
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "My new cloned policy",
- "organizationUid": "{{organizationUid}}"
}
Response samples
- 200
{- "message": "OK"
}
Archive Policy
Archive existing policy by policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
policyUid |
string | required | Unique Policy Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
archived |
boolean | required | If true policy is archived and not active. |
path Parameters
policyUid required | string Example: {{policyUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "archived": true
}
Response samples
- 200
{- "message": "OK"
}
Get organization tags
Get all tags for current organization
This endpoint uses pagination. For more information view Pagination section. Max allowed page size is 500.
query Parameters
limit | integer Example: limit={{limit}} Page size. For more information, view Pagination section. |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "8dda7620af7b485ab14fb1e6fb9952717d276e32adb8aa291c",
- "organizationUid": "48889e30b1423d4171e348d6a1a1222e3b0075c8d7abcc868a",
- "name": "example",
- "createdAt": "2022-07-22T13:00:00.000Z",
- "color": null,
- "parentTagUid": null
}
]
Create Tag
Create tag
Payload
{
name: string;
color?: string;
parentTagUid?: string;
}
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "Organization tag 1"
}
Get Organization Tag
Gets organization tag
path Parameters
uid required | string Example: {{uid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "8dda7620af7b485ab14fb1e6fb9952717d276e32adb8aa291c",
- "organizationUid": "48889e30b1423d4171e348d6a1a1222e3b0075c8d7abcc868a",
- "name": "example",
- "createdAt": "2022-07-22T13:00:00.000Z",
- "color": null,
- "parentTagUid": null
}
Update Tag
Update tag
Payload
{
name: string;
color?: string;
parentTagUid?: string;
}
path Parameters
uid required | string Example: {{uid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "name": "Tag 1 updated"
}
Create Timing
Timing might be a misleading name (apologies), but it has nothing to do with scheduling content. Timing is an endpoint that will allow you to set your Applet on device.
Create new Timing record for deploying selected Applet and to the target device.
Parameters
Field | Type | Required | Description |
---|---|---|---|
no query parameters |
Body
content-type: application/json or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
deviceUid |
string | Unique device identification |
appletUid |
string | Applet unique identification |
appletVersion |
string (semver) | Version of your applet |
startsAt |
Date YYYY-MM-DDTHH:MM:SS.sss | Since when the Applet should be set on device e.g. 2017-11-22T09:26:49.246 |
endsAt |
Date - YYYY-MM-DDTHH:MM:SS.sss | Untill when the Applet should be set on device e.g. 2017-11-22T09:26:49.246 |
configuration |
JSON | Unique configuration specific to the applet and device, usually your internal ID’s, links to APIs, etc. |
position |
number | When more then one Applet is set for device, in which order are they available on the device |
finishEventType |
string - ‘DURATION’ , ‘SCREEN_TAP’ , ‘IDLE_TIMEOUT’ | Which event is triggering switch between multiple Applets‘DURATION’ – after specific amount of time‘SCREEN_TAP’ – after display is touched‘IDLE_TIMEOUT’ – after time of inactivity (without any tapping on display) |
finishEventData |
any | used for setting DURATION or IDLE_TIMEOUT values of finishEventType |
Remarks on startsAt and endsAt
- When you set endsAt to timing, it sticks to the device until the applet with the later startsAt date is in the system. In most cases you will set startsAt and endsAt date to the same value.
configuration
values have to be always akey
-value
pairs wherevalue
is a string. To pass JSON object useJSON.stringify()
.
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "deviceUid": "{{deviceUid}}",
- "appletUid": "{{appletUid}}",
- "appletVersion": "{{appletVersion}}",
- "startsAt": "2017-12-01T12:00:00",
- "endsAt": "2017-12-31T12:00:00",
- "position": "1",
- "finishEventType": "DURATION",
- "finishEventData": 1000,
- "configuration": "{\"identification\":\"XXX\"}"
}
Response samples
- 200
{- "message": "OK"
}
Get Timings
Timing might be a misleading name (apologies), but it has nothing to do with scheduling content. Timing is an endpoint that will allow you to set your Applet on device.
Get all your Timings.
Parameters
Field | Type | Required | Description |
---|---|---|---|
timingUid |
string | optional | unique timing identification |
deviceUid |
string | optional | unique device identification |
current |
boolean | optional | retrieve current timing set for device |
query Parameters
deviceUid | string Example: deviceUid={{deviceUid}} |
current | boolean |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "4dcb018285c5ca8709bcc3beea45c306e6823ff9648e8edf6c",
- "appletUid": "ae831411425df581cae9d74c2a8c04386166d0cbb70ef377f2",
- "deviceUid": "cf98c9d5f3442737e40221838bf2ef92f2b1173786ad3cb61519b",
- "createdAt": "2021-03-31T09:40:30.431Z",
- "updatedAt": "2021-04-12T13:24:01.269Z",
- "startsAt": "2021-04-09T06:40:00.000Z",
- "endsAt": "2021-04-11T06:40:00.000Z",
- "configuration": {
- "identification": "502f4d2588"
}, - "appletVersion": "0.0.1",
- "finishEvent": {
- "type": "DURATION"
}, - "position": 1
}
]
Get Timing
Timing might be a misleading name (apologies), but it has nothing to do with scheduling content. Timing is an endpoint that will allow you to set your Applet on device.
Get Timing by timingUid
or by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
timingUid |
string | required |
unique timing identification |
deviceUid |
string | optional |
unique device identification |
current |
boolean | optional |
retrieve current timing set for device |
path Parameters
timingUid required | string Example: {{timingUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "4dcb018285c5ca8709bcc3beea45c306e6823ff9648e8edf6c",
- "appletUid": "ae831411425df581cae9d74c2a8c04386166d0cbb70ef377f2",
- "deviceUid": "cf98c9d5f3442737e40221838bf2ef92f2b1173786ad3cb61519b",
- "createdAt": "2021-03-31T09:40:30.431Z",
- "updatedAt": "2021-04-12T13:24:01.269Z",
- "startsAt": "2021-04-09T06:40:00.000Z",
- "endsAt": "2021-04-11T06:40:00.000Z",
- "configuration": {
- "identification": "502f4d2588"
}, - "appletVersion": "0.0.1",
- "finishEvent": {
- "type": "DURATION"
}, - "position": 1
}
Update Timing
Timing might be a misleading name (apologies), but it has nothing to do with scheduling content. Timing is an endpoint that will allow you to set your Applet on device.
Update device Timing with the selected Applet and assign it to the device. You can update the applet version and more.
Parameters
Field | Type | Required | Description |
---|---|---|---|
timingUid |
string | required | unique Timing identification |
Body
content-type: application/json or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
appletVersion |
string (semver) | version of your applet |
startsAt |
Date YYYY-MM-DDTHH:MM:SS.sss | since when the Applet should be set on device e.g. 2017-11-22T09:26:49.246 |
endsAt |
Date - YYYY-MM-DDTHH:MM:SS.sss | untill when the Applet should be set on device e.g. 2017-11-22T09:26:49.246 |
configuration |
JSON | unique configuration specific to the applet and device, usually your internal ID’s, links to APIs, etc. |
position |
number | when more then one Applet is set for device, in which order are they available on the device |
finishEventType |
string - ‘DURATION’ , ‘SCREEN_TAP’ , ‘IDLE_TIMEOUT’ | Which event is triggering switch between multiple Applets‘DURATION’ – after specific amount of time‘SCREEN_TAP’ – after display is touched‘IDLE_TIMEOUT’ – after time of inactivity (without any tapping on display) |
finishEventData |
any | used for setting DURATION or IDLE_TIMEOUT values of finishEventType |
Remarks on startsAt and endsAt:
- When you set endsAt to timing, it sticks to device until applet with later startsAt date is in the system. In the most of cases you just set startsAt and endsAt date to the same value.
configuration
values have to be always akey
-value
pairs wherevalue
is a string. To pass JSON object useJSON.stringify()
path Parameters
timingUid required | string Example: {{timingUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "deviceUid": "{{deviceUid}}",
- "appletUid": "{{appletUid}}",
- "appletVersion": "{{appletVersion}}",
- "startsAt": "2017-12-01T12:00:00",
- "endsAt": "2018-12-31T12:00:00",
- "position": "1",
- "finishEventType": "DURATION",
- "finishEventData": 1000,
- "configuration": "{'identification':'XXX'}"
}
Response samples
- 200
{- "message": "OK"
}
Delete Timing
Timing might be a misleading name (apologies), but it has nothing to do with scheduling content. Timing is an endpoint that will allow you to set your Applet on device.
Delete existing Timing by unique id.
Parameters
Field | Type | Required | Description |
---|---|---|---|
timingUid |
string | required |
unique timing identification |
path Parameters
timingUid required | string Example: {{timingUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Create new emulator
Create a new emulator in your organization.
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "organizationUid": "{{organizationUid}}"
}
Response samples
- 201
{- "message": "OK"
}
Get list of emulators
Get all emulators within your organization.
query Parameters
organizationUid | string Example: organizationUid=2b6d9c3873b5a852221b195b6350a6c71318e56e4d493a585f4 filter by organizationUid |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "c0752280cc7d009c57422be6927b660d7d71456d76b5e23c98a2c",
- "duid": "2221b195b6350a6c71318e56e4d493a585f42b6d9c3873b5a85",
- "name": "Test Emulator",
- "createdAt": "2021-04-18T22:26:39.405Z"
}, - {
- "uid": "f66f0737ea50d13b6298383c98a2c590ec137b18a2b5a85a8a5a85",
- "duid": "95ab223dcccb9591bc25907475f027502482df668df668dfe834",
- "name": "Test Emulator 2",
- "createdAt": "2020-01-13T12:52:29.839Z"
}
]
Remove emulator
Delete specific emulator by emulatorUid
.
path Parameters
emulatorUid required | string Example: {{emulatorUid}} |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 204
# Empty response
Get uptime stats
Get device connection uptime for the device.
query Parameters
since | string Example: since=2017-08-02T13:45:40.000Z Default date is month ago |
until | string Example: until=2017-08-02T13:45:40.000Z Default date is today |
deviceUid | string Example: deviceUid={{deviceUid}} All devices per organization are included by default and you can specify one device by its uid |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "uptime": 58728858,
- "downtime": 61175894,
- "total": 119904752,
- "availabilityPercent": 96,
- "since": "2022-03-01T14:37:02.972Z",
- "until": "2022-04-01T14:37:02.973Z"
}
Update extended management remote server URL
Set device extended management remote server URL on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
Body
content-type: application/json or application/x-www-form-urlencoded
Field | Type | Description |
---|---|---|
url |
string | Device extended management remote server URL |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
Responses
Request samples
- Payload
{
}
Response samples
- 200
- 404
{- "message": "OK"
}
Get extended management remote server URL
Get device extended management remote server URL on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid |
string | required | Unique Device Identification |
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "uid": "33bc149a44a3948a57a8b7083fe73fb17d5fe98d6066d86cb1",
- "deviceUid": "9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f84406761fb6",
- "createdAt": "2021-04-30T01:31:35.756Z",
- "succeededAt": null,
- "failedAt": "2021-04-30T01:31:35.955Z",
}
Set telemetry intervals
Configure device telemetry check intervals
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
screenshots | number or null |
temperature | number or null |
applicationVersion | number or null |
frontDisplayVersion | number or null |
brightness | number or null |
datetime | number or null |
orientation | number or null |
powerActionsSchedule | number or null |
proprietaryTimers | number or null |
remoteControl | number or null |
resolution | number or null |
timers | number or null |
volume | number or null |
storage | number or null |
battery | number or null |
policy | number or null |
peerRecovery | number or null |
autoRecovery | number or null |
default | number or null |
Responses
Request samples
- Payload
{- "battery": 1500000,
- "brightness": 1600000,
- "screenshots": 1200000,
- "temperature": 1200000,
- "applicationVersion": 1200000,
- "frontDisplayVersion": 1200000,
- "datetime": 1200000,
- "orientation": 1200000,
- "powerActionsSchedule": 1200000,
- "proprietaryTimers": 1200000,
- "remoteControl": 1200000,
- "resolution": 1200000,
- "timers": 1200000,
- "volume": 1200000,
- "storage": 1200000,
- "policy": 1200000,
- "peerRecovery": 1200000,
- "autoRecovery": 1200000,
- "default": 1200000
}
Response samples
- 200
{- "message": "OK"
}
Get telemetry intervals
Get device telemetry check intervals
path Parameters
deviceUid required | string Example: {{deviceUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "battery": 1500000,
- "brightness": 1600000,
- "screenshots": 1200000,
- "temperature": 1200000,
- "applicationVersion": 1200000,
- "frontDisplayVersion": 1200000,
- "datetime": 1200000,
- "orientation": 1200000,
- "powerActionsSchedule": 1200000,
- "proprietaryTimers": 1200000,
- "remoteControl": 1200000,
- "resolution": 1200000,
- "timers": 1200000,
- "volume": 1200000,
- "storage": 1200000,
- "policy": 1200000,
- "peerRecovery": 1200000,
- "autoRecovery": 1200000,
- "default": 1200000
}
Assign organization tag to the device.
Enables to assign organization tag to the device that belongs to this organization.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
tagUid required | string Example: {{tagUid}} Organization tag uid |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Unassign organization tag which is assigned to the device.
Enables to unassign organization tag on the device.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
tagUid required | string Example: {{tagUid}} Organization tag uid |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
- 404
{- "message": "OK"
}
Get tags assigned to the device
Get list of tags which was assigned to the device
This endpoint uses pagination. For more information view Pagination section.
path Parameters
deviceUid required | string Example: {{deviceUid}} |
query Parameters
limit | number Example: limit=50 Start paginating result by given number items on page. Next page link is available in response under header |
descending | boolean Default: true Example: descending=true Default |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "uid": "ca6319cdf9bbf8ad41001a9c04e54ad13f76cc45d7c80e78a21b8",
- "organizationUid": "0674e138eaca0c51daeb93354ac8b2fbcc45a6b5e65a6e28e4",
- "createdAt": "2022-01-10T10:00:00.000Z",
- "color": "29 0 51",
- "parentTagUid": null
}, - {
- "uid": "cfa3f5a1d50d7618ef832994f819b2e6216d2a27c62bb0b526",
- "organizationUid": "0674e138eaca0c51daeb93354ac8b2fbcc45a6b5e65a6e28e4",
- "createdAt": "2022-01-01T10:00:00.000Z",
- "color": "255 0 255",
- "parentTagUid": null
}
]
Add organization member
Adds a new organization member for the provided organization. If the email does not exist, invitation email is sent.
- We use different authentication in the x-auth header for
/organization/:organizationUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET(separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
organizationUid required | string Example: {{organizationUid}} Organization uid |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
role | string Enum: "owner" "manager" "user" "guest" |
string |
Responses
Request samples
- Payload
{- "role": "user",
- "email": "john.doe@signageos.io"
}
Response samples
- 201
{- "message": "OK"
}
Get organization members
Gets all organization members for given organization
- We use different authentication in the x-auth header for
/organization/:organizationUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
organizationUid required | string Example: {{organizationUid}} Organization uid |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "id": 1252866600347193,
- "username": "john.doe_fea0bcc5",
- "email": "john.doe@signageos.io",
- "firstname": "John",
- "lastname": "Doe",
- "role": "guest",
- "assignedAt": "2022-10-07T14:09:39.444Z"
}, - {
- "id": 1252866600347193,
- "username": "peter.smith_39687dec",
- "email": "peter.smith@signageos.io",
- "firstname": "Peter",
- "lastname": "Smith",
- "role": "owner",
- "assignedAt": "2021-06-15T11:37:47.690Z"
}
]
Edit organization member
Edits organization member role for the provided organization.
- We use different authentication in the x-auth header for
/organization/:organizationUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET(separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
organizationUid required | string Example: {{organizationUid}} Organization uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
role | string Enum: "owner" "manager" "user" "guest" |
Responses
Request samples
- Payload
{- "role": "user"
}
Response samples
- 200
{- "message": "OK"
}
Get organization member
Get all organization members for given organization
- We use different authentication in the x-auth header for
/organization/:organizationUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
organizationUid required | string Example: {{organizationUid}} Organization uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "id": 1252866600347193,
- "username": "john.doe_fea0bcc5",
- "email": "john.doe@signageos.io",
- "firstname": "John",
- "lastname": "Doe",
- "role": "user",
- "assignedAt": "2022-10-07T14:10:39.444Z"
}
Delete organization member
Deletes organization member for given organization
- We use different authentication in the x-auth header for
/organization/:organizationUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
organizationUid required | string Example: {{organizationUid}} Organization uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Add company member
Adds a new company member for the provided company. If the email does not exist, invitation email is sent.
- We use different authentication in the x-auth header for
/company/:companyUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET(separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
companyUid required | string Example: {{companyUid}} Company uid |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
role | string Enum: "owner" "manager" "user" "guest" |
string |
Responses
Request samples
- Payload
{- "role": "user",
- "email": "john.doe@signageos.io"
}
Response samples
- 201
{- "message": "OK"
}
Get company members
Gets all company members for given company
- We use different authentication in the x-auth header for
/company/:companyUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
companyUid required | string Example: {{companyUid}} Company uid |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
[- {
- "id": 1252866600347193,
- "username": "john.doe_fea0bcc5",
- "email": "john.doe@signageos.io",
- "firstname": "John",
- "lastname": "Doe",
- "role": "guest",
- "assignedAt": "2022-10-07T14:09:39.444Z"
}, - {
- "id": 1252866600347193,
- "username": "peter.smith_39687dec",
- "email": "peter.smith@signageos.io",
- "firstname": "Peter",
- "lastname": "Smith",
- "role": "owner",
- "assignedAt": "2021-06-15T11:37:47.690Z"
}
]
Edit company member
Edits company member role for the provided company.
- We use different authentication in the x-auth header for
/company/:companyUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET(separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
companyUid required | string Example: {{companyUid}} Company uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
role | string Enum: "owner" "manager" "user" "guest" |
Responses
Request samples
- Payload
{- "role": "user"
}
Response samples
- 200
{- "message": "OK"
}
Get company member
Get all company members for given company
- We use different authentication in the x-auth header for
/company/:companyUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
companyUid required | string Example: {{companyUid}} Company uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "id": 1252866600347193,
- "username": "john.doe_fea0bcc5",
- "email": "john.doe@signageos.io",
- "firstname": "John",
- "lastname": "Doe",
- "role": "user",
- "assignedAt": "2022-10-07T14:10:39.444Z"
}
Delete company member
Deletes company member for given company
- We use different authentication in the x-auth header for
/company/:companyUid/member
endpoints, which consists of USER TOKEN_ID and TOKEN_SECRET (separated by “:”). You can find both on the Settings page (https://box.signageos.io/settings) in SignageOS Box. Learn more here.
path Parameters
companyUid required | string Example: {{companyUid}} Company uid |
accountId required | string Example: {{accountId}} Account id |
header Parameters
x-auth | string Example: {{x-auth-account}} Account authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Get Packages
Get all packages for current Organization.
query Parameters
limit | number Example: limit=50 Start paginating result by given number items on page. Next page link is available in response under header |
descending | boolean Default: true Example: descending=true Default |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
[- {
- "uid": "bd74395949f7de6f143e59f00e8e351b8a01899873bb76be78",
- "createdAt": "2017-05-24T08:58:56.994Z",
- "packageName": "com.example.android.webview",
- "label": "Example WebView",
- "description": "Example WebView is a browser for Android",
- "ownerOrganizationUid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "createdByAccountId": 436778
}, - {
- "uid": "23568258a06d973c8876ffe41c288a19f3833bd2c9fbe5d7cd",
- "createdAt": "2022-05-24T08:58:56.994Z",
- "packageName": "com.example.android.kiosk",
- "label": "Example Kiosk",
- "description": "Example Kiosk is a signage experience for your TV",
- "ownerOrganizationUid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "createdByAccountId": 436778
}
]
Create New Package
Creates new package with the specified properties
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: application/json
packageName required | string^[a-zA-Z][\w\-.]*\w$ No special chars |
label required | string |
description | string |
Responses
Request samples
- Payload
{- "packageName": "com.example.new.package",
- "label": "Example New Package",
- "description": "This is newly created package"
}
Get One Package
Get one package by the given uid.
path Parameters
packageUid required | string Example: {{packageUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "uid": "23568258a06d973c8876ffe41c288a19f3833bd2c9fbe5d7cd",
- "createdAt": "2022-05-24T08:58:56.994Z",
- "packageName": "com.example.android.kiosk",
- "label": "Example Kiosk",
- "description": "Example Kiosk is a signage experience for your TV",
- "ownerOrganizationUid": "a326d675e4688a7ee2bf4ab951a5299a87c036a8e69e9e2dwwq",
- "createdByAccountId": 436778
}
Update one Package
Updates package properties
path Parameters
packageUid required | string Example: {{packageUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: application/json
label | string |
description | string |
Responses
Request samples
- Payload
{- "label": "Updated Example Package Label",
- "description": "Updated example description"
}
Response samples
- 200
{- "message": "OK"
}
Get Package Versions
Get all version of the given package.
path Parameters
packageUid required | string Example: {{packageUid}} |
query Parameters
limit | number Example: limit=50 Start paginating result by given number items on page. Next page link is available in response under header |
descending | boolean Default: true Example: descending=true Default |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
[- {
- "uid": "bd74395949f7de6",
- "createdAt": "2022-06-22T17:07:52.000Z",
- "packageName": "com.example.android.webview",
- "applicationType": "android",
- "version": "1.2.3-beta.4",
- "build": "59f00e8e351b8a0",
- "buildHash": "a06d973c8876ffe41c288a1",
- "publishedSince": "2022-06-28T17:07:52.000Z"
}, - {
- "uid": "dy74395749f7de6",
- "createdAt": "2022-06-22T17:07:52.000Z",
- "packageName": "com.example.android.webview",
- "applicationType": "android",
- "version": "1.2.3",
- "build": "34a00e8e351b5fd",
- "buildHash": "2a6571da26602a67be14ea",
- "publishedSince": "2022-06-28T17:07:52.000Z"
}
]
Create New Package Version
Creates new package version with the specified properties.
This resource have to be called after uploading the package version binary to the /package/{packageUid}/file
resource. If the file is missing the package version can't be created.
path Parameters
packageUid required | string Example: {{packageUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: multipart/form-data
metadata required | string |
binary required | string <binary> |
Responses
Request samples
- Payload
{ "metadata": "{ \"version\": \" 1.2.0-rc.2\", \"build\": \"ef430098dd\" }", "binary": "JUUyJTlDJTkzJTIwJUMzJUEwJTIwbGElMjBtb2Rl" }
Get One Package Version
Get one Package Version by the given buildHash and applicationType.
path Parameters
packageUid required | string Example: {{packageUid}} |
packageVersionUid required | string Example: {{packageVersionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "uid": "bd74395949f7de6",
- "createdAt": "2022-06-22T17:07:52.000Z",
- "packageName": "com.example.android.webview",
- "applicationType": "android",
- "version": "1.2.3-beta.4",
- "build": "59f00e8e351b8a0",
- "buildHash": "a06d973c8876ffe41c288a1",
- "publishedSince": "2022-06-28T17:07:52.000Z",
- "note": "Example WebView note",
- "specs": {
- "packageName": "com.example.android.webview",
- "sdkVersion": 29,
- "supportedAbis": [
- "arm64-v8a",
- "armeabi-v7a",
- "x86_64"
]
}
}
Update one Package Version
Updates Package Version properties
path Parameters
packageUid required | string Example: {{packageUid}} |
packageVersionUid required | string Example: {{packageVersionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Request Body schema: application/json
note required | string or null |
Responses
Request samples
- Payload
{- "note": "Update package version note"
}
Response samples
- 200
{- "message": "OK"
}
Delete one Package Version
Deletes Package Version
path Parameters
packageUid required | string Example: {{packageUid}} |
packageVersionUid required | string Example: {{packageVersionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "message": "OK"
}
Publish Package Version
Published Package Version is available for installation to a device
path Parameters
packageUid required | string Example: {{packageUid}} |
packageVersionUid required | string Example: {{packageVersionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "message": "OK"
}
Unpublish Package Version
Unpublished Package Version is not available for installation to a device
path Parameters
packageUid required | string Example: {{packageUid}} |
packageVersionUid required | string Example: {{packageVersionUid}} |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Responses
Response samples
- 200
{- "message": "OK"
}
Get bulk operations
Get bulk operations by organizationUid.
query Parameters
limit | integer Example: limit=50 |
offset | integer Example: offset=50 |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "a75e1c9087af913c32ec35cd7b5b812193163d06cef952cb00",
- "name": "My Bulk Operation",
- "filter": {
- "applicationType": "tizen"
}, - "deviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "failedDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "successfulDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "skippedDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "createdAt": "2021-03-30T18:57:33.669Z",
- "pausedAt": "2021-03-30T18:57:33.669Z",
- "stoppedAt": "2021-03-30T18:57:33.669Z",
- "resumedAt": "2021-03-30T18:57:33.669Z",
- "archivedAt": "2021-03-30T18:57:33.669Z",
- "finishedAt": "2021-03-30T18:57:33.669Z",
- "isRunning": true,
- "schedule": {
- "datetime": "2021-03-30T18:57:33.669Z",
- "timezone": "Europe/Amsterdam"
}, - "rollingUpdate": {
- "batchSize": 200,
- "batchDelay": 100000,
- "stopThreshold": 20
}, - "operationType": "SET_APPLICATION_VERSION",
- "data": {
- "applicationType": "tizen",
- "version": "1.0.0"
}, - "progress": {
- "total": 1000,
- "failed": 100,
- "inProgress": 400,
- "succeeded": 500
}
}
Create bulk operation
Create bulk operation.
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
name | string |
required | object |
object | |
object | |
operationType required | string Value: "SET_APPLICATION_VERSION" |
required | object |
Responses
Request samples
- Payload
{- "name": "string",
- "filter": {
- "identityHash": "string",
- "identityHashes": [
- "string"
], - "identityHashesExclude": [
- "string"
], - "uids": [
- "string"
], - "uidsExclude": [
- "string"
], - "duids": [
- "string"
], - "duidsExclude": [
- "string"
], - "accountId": 0,
- "organizationUid": "string",
- "applicationType": "string",
- "applicationTypeNotEqual": "string",
- "model": "string",
- "firmwareVersion": "string",
- "search": "string",
- "minStorageStatusPercentage": 0,
- "maxStorageStatusPercentage": 0,
- "bannedSince": "string",
- "tagUids": [
- "string"
], - "policyUids": [
- "string"
], - "createdSince": "string",
- "createdUntil": "string",
- "onlyWithTimeOutOfThresholdMs": 0,
- "filterModelName": "string"
}, - "schedule": {
- "datetime": "2021-01-30T08:30:00Z",
- "timezone": "Europe/Prague",
- "deferFilter": true
}, - "rollingUpdate": {
- "batchSize": 0,
- "batchDelay": 0,
- "stopThreshold": 0
}, - "operationType": "TELEMETRY_INTERVALS",
- "data": {
- "deviceIdentityHash": "string",
- "telemetryCheckIntervals": {
- "screenshots": 0,
- "temperature": 0,
- "applicationVersion": 0,
- "frontDisplayVersion": 0,
- "brightness": 0,
- "datetime": 0,
- "debug": 0,
- "firmwareVersion": 0,
- "orientation": 0,
- "powerActionsSchedule": 0,
- "proprietaryTimers": 0,
- "remoteControl": 0,
- "resolution": 0,
- "timers": 0,
- "volume": 0,
- "storage": 0,
- "battery": 0,
- "policy": 0,
- "peerRecovery": 0,
- "autoRecovery": 0,
- "default": 0
}
}
}
Response samples
- 201
{- "message": "OK"
}
Get bulk operation
Get bulk operation by bulkOperationUid.
path Parameters
bulkOperationUid required | string Example: b14606b90abe94acd006349f2cftd53d650d6dd545a2e40b5a83d Unique Bulk Operation Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "uid": "a75e1c9087af913c32ec35cd7b5b812193163d06cef952cb00",
- "name": "My Bulk Operation",
- "filter": {
- "applicationType": "tizen"
}, - "deviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "failedDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "successfulDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "skippedDeviceUids": [
- "d064416b9bac9adadcf6b26d6c589f7c1fa2b6e3ebc5c77466189",
- "3baeb4f08ea4db7ea8a9be617c24a6121908aa4d6dc5c95916de0",
- "a4269ffafbd0a6e396755ad503c7331b4290d52ed48225717dc96"
], - "createdAt": "2021-03-30T18:57:33.669Z",
- "pausedAt": "2021-03-30T18:57:33.669Z",
- "stoppedAt": "2021-03-30T18:57:33.669Z",
- "resumedAt": "2021-03-30T18:57:33.669Z",
- "archivedAt": "2021-03-30T18:57:33.669Z",
- "finishedAt": "2021-03-30T18:57:33.669Z",
- "isRunning": true,
- "schedule": {
- "datetime": "2021-03-30T18:57:33.669Z",
- "timezone": "Europe/Amsterdam"
}, - "rollingUpdate": {
- "batchSize": 200,
- "batchDelay": 100000,
- "stopThreshold": 20
}, - "operationType": "SET_APPLICATION_VERSION",
- "data": {
- "applicationType": "tizen",
- "version": "1.0.0"
}, - "progress": {
- "total": 1000,
- "failed": 100,
- "inProgress": 400,
- "succeeded": 500
}
}
Pause bulk operation
Pause bulk operation by bulkOperationUid.
path Parameters
bulkOperationUid required | string Example: b14606b90abe94acd006349f2cftd53d650d6dd545a2e40b5a83d Unique Bulk Operation Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Stop bulk operation
Stop bulk operation by bulkOperationUid.
path Parameters
bulkOperationUid required | string Example: b14606b90abe94acd006349f2cftd53d650d6dd545a2e40b5a83d Unique Bulk Operation Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}
Resume bulk operation
Resume bulk operation by bulkOperationUid.
path Parameters
bulkOperationUid required | string Example: b14606b90abe94acd006349f2cftd53d650d6dd545a2e40b5a83d Unique Bulk Operation Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Request Body schema: application/json
object | |||||||
|
Responses
Request samples
- Payload
{- "rollingUpdate": {
- "batchSize": 1000,
- "batchDelay": 10000,
- "stopThreshold": 20
}
}
Response samples
- 200
{- "message": "OK"
}
Archive bulk operation
Archive bulk operation by bulkOperationUid.
path Parameters
bulkOperationUid required | string Example: b14606b90abe94acd006349f2cftd53d650d6dd545a2e40b5a83d Unique Bulk Operation Identification |
header Parameters
x-auth | string Example: {{x-auth}} Authorization key and token |
Content-Type | string Example: application/json |
Responses
Response samples
- 200
{- "message": "OK"
}