/gateways/{serial}/logs

Creates a request for Logs from a Gateway

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The serial of the Gateway to request logs from

Body Params
string
required

One of "all" (all available lines in the log, up to 50MB), "last100" (last 100 lines), or "lastHour" (last hour, default)

string

The system unit to request logs for. Empty string returns all logs.

Responses

401

Unauthorized

404

Gateway not found

500

Error requesting logs or saving or marshaling GatewayLogRequest

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json