API Reference

Get Bandwidth by Video


Retrieve DRM bandwidth consumption data for videos within a specified time frame.

Endpoint

GET /analytics/traffic

Parameters

ParameterTypeDescription
video_idstringID of th evideo for which data is being fetched
start_datestringStart date of the time frame (YYYY-MM-DD)
end_datestringEnd date of the time frame (YYYY-MM-DD)

Responses

📘

Responses

  • 200: Success.
  • 400: Bad request. Check the provided parameters.
  • 401: Unauthorized. Authentication failed or not provided.
  • 404: Not found.
  • 500: Internal server error. Please try again later

Example

GET https://api-v2.pandavideo.com/analytics//traffic?type=drm&start_date={startDate}&end_date={endDate}&video_id={videoId}

Notes

  • The video_id parameter specifies the unique identifier of the video for which DRM bandwidth consumption data is requested.
  • start_date and end_date define the time frame within which bandwidth consumption data is analyzed.
  • The response includes total_consumed indicating the total bandwidth consumed during the specified period and average_daily_consumption, which represents the average daily consumption within the given time frame.

This documentation provides an overview of how to use the endpoint to retrieve DRM bandwidth consumption data for videos during a specified period. Adjust the parameters accordingly in your API requests to fetch the required bandwidth consumption information.

Language
Credentials
Header
Click Try It! to start a request and see the response here!