Logs
Starts a watcher session and returns the websocket URL to read the logs from.
Session started; open the websocket immediately.
Where to open the log websocket, and the watcher session that keeps it fed.
Websocket URL to read the logs from. Valid for 10 seconds: open the socket right away.
Watcher session to send to ping. Opaque, 32 hexadecimal characters.
The caller is not authenticated.
The caller does not hold the global:administrator role.
GET /api/admin/logs/connect HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"websocketUri": "https://example.com",
"sessionId": "text"
}Extends the session by 45 seconds. Answers 204 whatever the session's state; when logs stop arriving, call connect again to start a new session.
Request body to keep a watcher session alive.
Session returned by connect.
Ping accepted.
No content
sessionId is missing or blank.
The caller is not authenticated.
The caller does not hold the global:administrator role.
POST /api/admin/logs/ping HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"sessionId": "text"
}No content
Last updated

