Aex Brain
ReferenceAPI

Receive host commands

GET/v1/hosts/{host_id}/commands

Authorization

hostToken
AuthorizationBearer <token>

The scoped token returned by POST /v1/hosts, sent as Authorization: Bearer . Identifies this registered host; do not substitute the server API token.

In: header

Path Parameters

host_id*string
Match^host_[A-Za-z0-9]{20,32}$

Response Body

text/event-stream

application/json

curl -X GET "https://example.com/v1/hosts/string/commands" \  -H "Authorization: Bearer YOUR_TOKEN"
"string"