This endpoint retrieves all Pages.
Request
To retrieve all Pages please make a GET request to the following URL:
HTTP Method | URL |
---|---|
GET | https://industrial.api.ubidots.com/api/v2.0/pages/ |
Header
Parameter | Required? | Description |
---|---|---|
X-Auth-Token | Yes | Authentication Token of account |
$ curl -X GET '<https://industrial.api.ubidots.com/api/v2.0/pages/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73'
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"id": "66e9a2aae24bae000e144c24",
"url": "https://industrial.ubidots.com/api/v2.0/pages/66e9a2aae24bae000e144c28",
"label": "my_first_page",
"name": "My First Page",
"isActive": true,
"createdAt": "2024-09-17T15:39:22.669736Z",
"settings": {
}
},
{
"id": "66e9e91b66ed14000c3c7f56",
"url": "https://industrial.ubidots.com/api/v2.0/pages/66e9e91b66ed14000c3c7f53",
"label": "my_second_page",
"name": "Gateway Heatmap Dashboard",
"isActive": true,
"createdAt": "2024-09-17T20:39:55.660067Z",
"settings": {
}
},
{
"id": "66f6e0645b9284000df59a10",
"url": "https://industrial.ubidots.com/api/v2.0/pages/66f6e0645b9284000df59a09",
"label": "bars-breakdown-page",
"name": "Bar Breakdown Page",
"isActive": true,
"createdAt": "2024-09-27T16:42:12.162488Z",
"settings": {
}
}
]
}
{
"code": 400001,
"message": "Validation Error.",
"detail": {
....
}
}
{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}
Response
An object with an array results containing all Pages.