- 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
avg video 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 ********************
Query Params
start_time
stringÂ
optional
Example:
2024-02-22T17:59:59.999Z
end_time
stringÂ
optional
Example:
2024-02-29T17:59:59.999Z
group_by
stringÂ
optional
Example:
country
Body Params application/json
object {0}
Example
{
"start_time": "2024-02-24T17:59:59.999Z",
"end_time": "2024-03-02T17:59:59.999Z",
"metrics": [
{
"name": "avg_media_watch_time",
"filters": [],
"group_bys": []
}
],
"filters": [],
"group_bys": [
"geo_region"
]
}
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?start_time=2024-02-22T17:59:59.999Z&end_time=2024-02-29T17:59:59.999Z&group_by=country' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_time": "2024-02-24T17:59:59.999Z",
"end_time": "2024-03-02T17:59:59.999Z",
"metrics": [
{
"name": "avg_media_watch_time",
"filters": [],
"group_bys": []
}
],
"filters": [],
"group_bys": [
"geo_region"
]
}'
Responses
🟢200OK
application/json
Body
object {0}
Examples
{"message":"Users by country retrieved successfully","result":[{"name":"BD","value":7451},{"name":"","value":35},{"name":"DE","value":17},{"name":"KW","value":9},{"name":"IQ","value":8},{"name":"GB","value":7},{"name":"US","value":7},{"name":"SE","value":6},{"name":"OM","value":5},{"name":"IN","value":4},{"name":"NL","value":3},{"name":"IT","value":2},{"name":"FR","value":2},{"name":"AU","value":1},{"name":"JP","value":1},{"name":"AF","value":1}]}
🟢200OK
🟢200OK
🟢200OK