Report Status of Device Log Request

PATCH/deviceLogger/{token}

Base URL: https://api.tinkermode.com

Update the status of a log request. A device should use this endpoint to report errors in uploading the requested log file.

Authentication

This endpoint does not require authentication.

Path parameters

NameTypeRequiredConstraintsDescription
tokenstringYesAuthentication token that is passed to device by DDP

Request body

Content type: application/json

PropertyTypeRequiredConstraintsDescription
statusstringYesone of: failure, nologsLog request status to be reported.

Responses

204 Status of request updated successfully.

403 Request failed because of invalid data or denied permission.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

500 An unexpected error has occurred.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

503 The service is temporarily unavailable.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.