api.video
  1. Analytics
api.video
  • Account
    • Show account
      GET
  • Analytics
    • List live stream player sessions
      GET
    • List player session events
      GET
    • List video player sessions
      GET
  • Authentication
    • Authenticate
      POST
    • Refresh token
      POST
  • Live
    • List all live streams
      GET
    • Create live stream
      POST
    • Delete a live stream
      DELETE
    • Show live stream
      GET
    • Update a live stream
      PATCH
    • Delete a thumbnail
      DELETE
    • Upload a thumbnail
      POST
  • Players
    • List all players
      GET
    • Create a player
      POST
    • Delete a player
      DELETE
    • Show a player
      GET
    • Update a player
      PATCH
    • Delete logo
      DELETE
    • Upload a logo
      POST
  • Videos - Delegated upload
    • Upload with an upload token
      POST
    • List all active upload tokens.
      GET
    • Generate an upload token
      POST
    • Delete an upload token
      DELETE
    • Show upload token
      GET
  • Videos
    • List all videos
    • Create a video
    • Delete a video
    • Show a video
    • Update a video
    • Upload a video
    • Show video status
    • Pick a thumbnail
    • Upload a thumbnail
  • Captions
    • List video captions
    • Delete a caption
    • Show a caption
    • Update caption
    • Upload a caption
  • Chapters
    • List video chapters
    • Delete a chapter
    • Show a chapter
    • Upload a chapter
  • Webhooks
    • List all webhooks
    • Create Webhook
    • Delete a Webhook
    • Show Webhook details
  1. Analytics

List video player sessions

GET
/analytics/videos/{videoId}
Retrieve all available user sessions for a specific video. Tutorials that use the analytics endpoint.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ws.api.video/analytics/videos/vi4k0jvEUuaTdRAEjQ4Prklg'
Response Response Example
200 - response
{
    "data": [
        {
            "client": {
                "name": "Firefox",
                "type": "browser",
                "version": "67.0"
            },
            "device": {
                "model": "unknown",
                "type": "desktop",
                "vendor": "Dell"
            },
            "location": {
                "city": "Paris",
                "country": "France"
            },
            "os": {
                "name": "Microsoft Windows",
                "shortname": "W10",
                "version": "Windows10"
            },
            "referrer": {
                "medium": "organic",
                "searchTerm": "video encoding hosting and delivery",
                "source": "https://google.com",
                "url": "https://api.video"
            },
            "session": {
                "endedAt": "2019-06-24T11:49:19.243Z",
                "loadedAt": "2019-06-24T11:45:01.109Z",
                "sessionId": "psEmFwGQUAXR2lFHj5nDOpy"
            }
        }
    ],
    "pagination": {
        "currentPage": 1,
        "currentPageItems": 1,
        "itemsTotal": 1,
        "links": [
            {
                "rel": "self",
                "uri": "/analytics/sessions/psEmFwGQUAXR2lFHj5nDOpy?currentPage=1&pageSize=25"
            },
            {
                "rel": "first",
                "uri": "/analytics/sessions/psEmFwGQUAXR2lFHj5nDOpy?currentPage=1&pageSize=25"
            },
            {
                "rel": "last",
                "uri": "/analytics/sessions/psEmFwGQUAXR2lFHj5nDOpy?currentPage=1&pageSize=25"
            }
        ],
        "pageSize": 25,
        "pagesTotal": 1
    }
}

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Body

🟠404Not Found
Modified at 2023-08-15 05:52:15
Previous
List player session events
Next
Authenticate
Built with