Get Device Log Request

GET/devices/{deviceId}/logRequests/{logRequestId}

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

Get a single log request

Authentication

Send an Authorization header of the form ModeCloud <AUTH_CODE>.

Must contain a user or service account who has read access to the device, or project API key.

Path parameters

NameTypeRequiredConstraintsDescription
deviceIdintegerYesDevice ID
logRequestIdstringYes

Responses

200

Content type: application/json

PropertyTypeRequiredConstraintsDescription
contentTypestringNoMIME type of file uploaded for this request.
deviceIdintegerNoID of device associated with log request.
filenamestringNoFilename of uploaded device log.
idstringNoUnique ID of log request
projectIdintegerNoID of project associated with log request.
statusunknownNoone of: success, failure, requested, uploading, cancelledStatus of log request.
tokenstringNoRequest token sent to device.
tsstringNoformat: date-timeCreation timestamp of log request.
uploadIdstringNoUnique ID assigned to an upload session.
urlstringNoURL for downloading the stored device log.

401 Authorization is required to access this resource.

Content type: application/json

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

403 Request failed because of denied permission.

Content type: application/json

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

404 The requested logRequest does not exist or is not accessible.

Content type: application/json

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

429 Request failed because of rate limit.

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.