Read All Variables Endpoint POST
Reads all the values of the users' variable in either of the two formats.
Basic Authentication Endpoints
POST
/var/read-all/format1
content_copy
POST
/var/read-all/format2
content_copy
Authorization Header
This endpoint uses Basic Authentication for the reading of the variable and its properties.
Parameter
Description
username
The registered username of the account.
password
The registered password of the account.
Bearer Token Authentication Endpoints
POST
/var/read-all-viatoken/format1
content_copy
POST
/var/read-all-viatoken/format2
content_copy
Authorization Header
This endpoint uses Bearer Authentication for the reading of the variable and its properties.
Parameter
Description
Bearer
A user's generated token
Responses
Successful Variable Reading
- Status Code: 200 Ok
- Response Body (Sample):
json (format1)
{
{
"variable_name"
:
"Temperature"
,
"updated_at"
:
"2024-03-21T04:37:47.981Z"
},
{
"variable_name"
:
"Temperature2"
,
"updated_at"
:
"2024-03-21T04:37:47.981Z"
}
]
}