Get tracelogging state
Description
This feature is used in development context where extra verbose log is required to understand why a device acts like it does.
Request
GET /v1/domains/:domain/devices/:deviceId/tracelog
Response
Successful response contains the following JSON formated body:
{
ttl: number
}
Response Status codes:
-
200 on success
-
404 if tracelog is not currently enabled
Request headers
This request must have the following headers:
Authorization: bearer <ApiKey>
X-Nabto-Organization: <organizationId>
Example
Request
curl "https://api.cloud.nabto.com/v1/domains/:domain/devices/:deviceId/tracelog" \
-H "Authorization: Bearer <ApiKey>" \
-H "X-Nabto-Organization: <OrganizationId>"
Response
{
ttl: 42
}