Provides the Avg Video Watch By Region of a project#
📣 this endpoint provides the Avg Video Watch By Region of the contents of a collection of the project across different regions✳ list of request parameters
start_time
end_time
group_by = media_series
🔰 this endpoint gives all the avgerage views information analytics of a collection of a project📢 Info message : Here URL is contructed like GET/projects/<project_id>/collections/<project_id>/analytics/avg-video-watch?start_time=<time>&end_time=<time>&group_by=media_serieshere time should be formated in RFC3339
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
projId
stringÂ
required
Example:
66a1084b-4b6b-4001-a4ad-d34d13463068
collectionId
stringÂ
required
Example:
384bf2ba-1fcb-4de8-9411-6d68000eb3c7
analyticsType
stringÂ
required
Example:
avg-video-watch
Query Params
start_time
stringÂ
optional
Example:
2024-02-25T17:59:59.999Z
end_time
stringÂ
optional
Example:
2024-03-03T17:59:59.999Z
group_by
stringÂ
optional
Example:
media_series
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://localhost:8080/v1/projects/66a1084b-4b6b-4001-a4ad-d34d13463068/collections/384bf2ba-1fcb-4de8-9411-6d68000eb3c7/analytics/avg-video-watch?start_time=2024-02-25T17:59:59.999Z&end_time=2024-03-03T17:59:59.999Z&group_by=media_series'
Responses
🟢200OK
application/json
Body
object {0}
Example
{"message":"collection analytics was found.","result":{"message":"Dataset retrieved successfully","result":{"filters":[{"field":"media_series","operator":"equal","values":["384bf2ba-1fcb-4de8-9411-6d68000eb3c7"]}],"group_bys":["media_series"],"metrics":[{"data":[{"avg_media_watch_time":205.6690313111546,"media_series":"384bf2ba-1fcb-4de8-9411-6d68000eb3c7"}],"filters":null,"group_bys":["media_series"],"name":"avg_media_watch_time"}]}},"success":true}