- Documentation
- API Reference
- Projects
- importer.vidinfra.com
- Auth
- User Registration
- User Login
- Verify-email
- Forgot Password
- Forgot Password Verify OTP
- Forgot Password Set
- Resend OTP
- Logout
- Set Password
- Check Account exists
- Update Password
- Google Oauth Redirect
- Google Oauth Callback
- api-access-check
- New Auth token using Refresh token
- Github Oauth Redirect
- Google Oauth Callback Copy
- Get User Sessions
- Delete User Sessions
- User
- Organization
- Organization's invitations
- Audits
- Members
- API Keys
- Folders
- Videos
- Video Metas
- Video Captions
- Video Chapter
- Uploads
- Tags
- Players
- Webhook Endpoints
- Advertisements
- Webhook Event Logs
- Analytics Direct Api
- geo-distributionGET
- Project ViewsGET
- avg video watch POST
- Total watch TimePOST
- Project Avg Watch per Unique userPOST
- Total Player Error GET
- project popularity-analysisGET
- Project Collection InsightsPOST
- Collection ViewsPOST
- Collection avg Watch timePOST
- Collection Avg Watch per unique userPOST
- Collection Geo DistributionPOST
- Get all UsersGET
- User media viewsPOST
- User Avg video watchPOST
- user Player logPOST
- user sessionsPOST
- Get all VideoGET
- video Player error POST
- Video ViewPOST
- video Geo DistributionPOST
- video Avg watchPOST
- copyPOST
- Streams
- Stream Metas
- Usages
- Encoding profile
- Project Matrics
- Access Control
- Analytics
- Project Get geo-distribution
- project views
- Project avg video watch
- Project Total Watch
- Project Avg Watch per Unique user
- Project All Player Errors
- Project Popularity Analysis
- Project Collections insights
- Collection Geo Distribution
- Collection avg watch time
- Collection avg watch per unique User
- Collection Player error
- Video Geo Distribution
- Video views
- Video Avg Watch
- Video Player Log
- User
- User Avg Video Watch
- User Total Watch
- User player error log
- Plan
- Upload Tokens
- subscribe
- Transaction
- Invoice
- vimeo video importer
- test
- transcoding service
- transcoding service v2
- Welcome to vidinfraGET
- health checkGET
- Regions ListGET
- keyPOST
- Untitled EndpointGET
video Avg watch
Developing
POST
https://gotipath-stream.analytics.gotipath.com/report/v1/66a1084b-4b6b-4001-a4ad-d34d13463068/dataset
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
object {0}
Example
{
"end_time": "2024-03-03T17:59:59.999Z",
"filters": [
{
"field": "media_id",
"operator": "equal",
"values": [
"b0953ed8-bdc7-46ba-8bce-e6f625f9d31b"
]
}
],
"group_bys": [
"time_interval_hour"
],
"metrics": [
{
"filters": [],
"group_bys": [],
"name": "avg_media_watch_time"
}
],
"start_time": "2024-02-25T17:59:59.999Z"
}
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 POST 'https://gotipath-stream.analytics.gotipath.com/report/v1/66a1084b-4b6b-4001-a4ad-d34d13463068/dataset' \
--header 'Content-Type: application/json' \
--data-raw '{
"end_time": "2024-03-03T17:59:59.999Z",
"filters": [
{
"field": "media_id",
"operator": "equal",
"values": [
"b0953ed8-bdc7-46ba-8bce-e6f625f9d31b"
]
}
],
"group_bys": [
"time_interval_hour"
],
"metrics": [
{
"filters": [],
"group_bys": [],
"name": "avg_media_watch_time"
}
],
"start_time": "2024-02-25T17:59:59.999Z"
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{"message":"Dataset retrieved successfully","result":{"metrics":[{"name":"avg_media_watch_time","group_bys":["time_interval_hour"],"filters":null,"data":[{"avg_media_watch_time":3,"time_interval_hour":"2024-02-28T09:00:00Z"},{"avg_media_watch_time":5,"time_interval_hour":"2024-02-28T10:00:00Z"},{"avg_media_watch_time":100.33333333333333,"time_interval_hour":"2024-02-28T15:00:00Z"},{"avg_media_watch_time":4,"time_interval_hour":"2024-02-28T16:00:00Z"},{"avg_media_watch_time":1277,"time_interval_hour":"2024-02-28T18:00:00Z"},{"avg_media_watch_time":5,"time_interval_hour":"2024-02-29T18:00:00Z"},{"avg_media_watch_time":1773.5,"time_interval_hour":"2024-02-29T19:00:00Z"},{"avg_media_watch_time":2.25,"time_interval_hour":"2024-03-01T07:00:00Z"}]}],"group_bys":["time_interval_hour"],"filters":[{"field":"media_id","operator":"equal","values":["b0953ed8-bdc7-46ba-8bce-e6f625f9d31b"]}]}}