...
REST queries and responses
REST query | REST query body example | REST response | Response states | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
/cdn/show_nodes |
| 200 – OK 500 – Internal Server Error | Show CDN nodes state |
Parameters
Parameter name | Description | Example |
---|---|---|
globalState |
Node state: ACTIVE |
or PASSIVE | ACTIVE |
id |
Node address | 192.168.1.64 |
processingState |
If this node participates in stream playback route elections: NEW_STREAMS_ALLOWED - |
participates GROUP_CONNECTION_ALLOWED - |
not participates | NEW_STREAMS_ALLOWED |
role |
Node role: ORIGIN, TRANSCODER |
or EDGE | ORIGIN |
REST query /cdn/show_nodes may be sent to certain node, the node responds with all visible CDN nodes state excluding itself.
...