Get HTTP Access Log Entries

GET/homes/{homeId}/httpLogEntries

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

Get HTTP access log entries for home.

Authentication

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

Must contain the API key of a user or service account with permissions to read home logs or a Project API Key.

Path parameters

NameTypeRequiredConstraintsDescription
homeIdintegerYesThe unique ID for a specified home.

Query parameters

NameTypeRequiredConstraintsDescription
beginstringYesReturn entries bound by this timestamp. Format must conform to RFC3339.
endstringYesReturn entries bound by this timestamp. Format must conform to RFC3339.
maxEntriesintegerNoLimit the number of entries returned.

Responses

200

Content type: application/json

Entry in an HTTP access log.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
clientIpstringNoread-only (server-generated)IP address of caller.
latencyintegerNoread-only (server-generated)Elapsed time of call in nanoseconds.
methodstringNoread-only (server-generated)HTTP method.
pathstringNoread-only (server-generated)URI path of HTTP request.
statusCodeintegerNoread-only (server-generated)Returned status code of HTTP request.
timestampstringNoread-only (server-generated); format: date-timeTimestamp of entry creation.

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.

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.