Provides the total video watch By a User📣 this endpoint provides the total video watch By Region of the contents of a User across different regions✳ list of request parameters
start_time
end_time
group_by = time_interval_hour
🔰 this endpoint gives the Total video watch information analytics of a User📢 Info message : Here URL is contructed like GET/projects/<project_id>/users/<user_id>/analytics/total-watch?start_time=<time>&end_time=<time>&group_by=time_interval_hourhere 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
userId
stringÂ
required
Example:
e0e070ec-cd91-48f8-8aaa-930ae18a5ed8
analyticsType
stringÂ
required
Example:
total-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:
time_interval_hour
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/users/e0e070ec-cd91-48f8-8aaa-930ae18a5ed8/analytics/total-watch?start_time=2024-02-25T17:59:59.999Z&end_time=2024-03-03T17:59:59.999Z&group_by=time_interval_hour'
Responses
🟢200OK
application/json
Body
message
stringÂ
required
result
objectÂ
required
message
stringÂ
required
result
objectÂ
required
success
booleanÂ
required
Example
{"message":"user analytics was found.","result":null,"success":true}