StatisticsGet Stream Statistics

Get Stream Statistics

Return the details of restream statistics

curl -X GET "https://api.5centscdn.com/v2/streams/publish/1001/statistics" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
[
  {
    "platform": [
      {
        "id": 46674,
        "time": 0,
        "bitrate": "",
        "fps": "",
        "cpu": "",
        "mem": "",
        "log": "[http @ 0x5574d50fa780] HTTP error 503 Service Unavailable
http://fms-02-01-midgress.5centscdn.com:8080/testalthaf2/testpublish2/mpeg.2ts: Server returned 5XX Server Error reply
",
        "node": false
      }
    ],
    "status": "Enabled",
    "lastseen": 0
  }
]
GET
/streams/publish/{streamid}/statistics
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

streamidstring
Required

Stream ID

Example:
1001

Responses

platformarray

Restream platform configuration object.

statusstring

Current deployment or operational status of the stream.

lastseeninteger

Elapsed time since the stream was last detected as active.