curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/links/{linkId}/sources/{sourceId}/stats \
--header 'Authorization: Bearer <token>'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/links/{linkId}/sources/{sourceId}/stats \
--header 'Authorization: Bearer <token>'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
ID of link to return
Source to analyse
successful operation
The response is of type object
.