Updated
Edit on GitHub
Console: remote
Copy as MarkdownThese routes are on the console, port 3375. They take an API token as Authorization: Bearer ndt_...; see API tokens.
Remote sessions in progress.
List the devices with a remote session on the relay now.
Only the devices the account may see.
Needs device.connect. neodesk remote sessions calls it.
200: Done (application/json)
| Field | Type | Required | What it is |
|---|---|---|---|
sessions |
array of string | yes | Device IDs |
| Error | When |
|---|---|
| 401 | No session or API token, or one that is not valid (code session_required or token_invalid) |
| 403 | The account or the token may not do this, or a write from a browser came without a good CSRF token |