(Available from version 1.9) This operation returns detailed CDN usage data for all real-time streams in the account. Defaults: from = last billing date, to = end of current day.
Success
object (Array of real-time streams) An array of real-time streams and the details of their CDN usage. | |
object Page information for the results generated by the query. | |
object The time frame represented in the response. |
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.10/usage/real_time_streams"
{- "real_time_streams": [
- {
- "id": "tvctq36g",
- "name": "My Real Time Stream",
- "bytes_in": 0,
- "bytes_out": 222
}, - {
- "id": "bac1256",
- "name": "My Other Real Time Stream",
- "bytes_in": 888,
- "bytes_out": 1111
}
], - "pagination": {
- "payload_version": "2.0",
- "total_records": 269,
- "next_page_key": "2jj8syfl",
- "per_page": 10,
- "total_pages": 27
}, - "limits": {
- "from": "2019-11-07T00:00:00.000Z",
- "to": "2019-12-05T00:00:00.000Z"
}
}
(Available from version 1.9) This operation returns CDN usage details for a specific stream target. Defaults: from = last billing date, to = end of current day.
Success
object (real_time_stream) | |
object The time frame represented in the response. |
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.10/usage/real_time_streams/2adffc17"
{- "real_time_stream": {
- "id": "tvctq36g",
- "name": "My Real Time Stream",
- "bytes_in": 222,
- "bytes_out": 0
}, - "limits": {
- "from": "2019-11-07T00:00:00.000Z",
- "to": "2019-12-05T00:00:00.000Z"
}
}