Data monitor
Last updated
Last updated
POST
https://api.upswift.io/v1/send_app_monitor
Using this call, you can send any parameter and value from the edge device to Upswift servers.
Name | Type | Description |
---|---|---|
GET
https://api.upswift.io/v1/app_monitor_details
Using this call, you will get the last 100 Data Monitor
records that were received from your devices.
If you set device_token
, you will receive the records for that device regardless if you also set the project_name
. If only project_name
is set, you will receive records from all devices of that project. If both of them are not set, you will receive records from all devices from all projects.
Name | Type | Description |
---|---|---|
user_token
string
This is your account token. Can be found under the Settings category on Upswift dashboard.
device_token
string
This is your device token.
app_parameters
array
A list of JSONs that represents all the parameters you want to send and their new values. The parameter names must exist at the Data Monitor
category in the dashboard. The value's type you send can be either String
, Integer
, Float
or Boolean
. Example of an array: [{"app_parameter_name": "APP_PARAMETER_NAME", "app_parameter_value": "APP_PARAMETER_VALUE"}]
user_token
string
This is your account token. You can find it under the Settings category on the dashboard.
device_token
string
This is your device token.
project_name
string
This is the project name of the project you would like to get all its devices Data monitor records.