get https://api-v2.pandavideo.com/analytics/traffic
Retrieve bandwidth consumption data for videos within a specific folder within a specified time frame.
Endpoint
GET /analytics/traffic
Parameters
| Parameter | Type | Description |
|---|---|---|
| folder_id | string | ID of the folder for which data is being fetched |
| start_date | string | Start date of the time frame (YYYY-MM-DD) |
| end_date | string | End 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?folder_id=b5c5ef0c-0b3e-480b-8bb9-46092713df17&start_date=2023-11-16&end_date=2023-11-19
Notes
- The
folder_idparameter specifies the unique identifier of the folder for which bandwidth consumption data is requested. start_dateandend_datedefine the time frame within which bandwidth consumption data is analyzed.- The response includes
total_consumedindicating the total bandwidth consumed during the specified period andaverage_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 bandwidth consumption data for videos within a specific folder during a specified period. Adjust the parameters accordingly in your API requests to fetch the required bandwidth consumption information.
