SERVERSIDE.AI
  • Welcome to serverside.ai
  • Getting Started
    • Prerequisites
    • Onboarding Guide
      • Serverside.ai: Create an account
      • Prepare content source
        • Encoding specification
        • Packaging specification
        • Ad-Marker specification
          • SSAI LIVE - SCTE35
          • SSAI VoD - AdCuePoints
      • Request SSAI enabled stream
    • Features
  • Content Source
    • Encoding
    • Packaging
      • HLS
      • DASH
    • Protection
    • Ad-Marker Specifications
  • Video Player/App
    • Live - DASH/HLS
    • VOD - DASH/HLS
    • VAST Tracking
      • Live - DASH
      • Live - HLS
      • VOD - DASH/HLS
      • ClientSideTracking SDK
    • Timeshift/Startover for LIVE
    • Playlist size for LIVE
    • PauseLiveTV
  • Ad-Server Integration
    • Ad-Server Parameter
      • Equativ/ SmartAdServer
      • Freewheel
      • Google Ad Manager
      • SpotX
    • GVA - Generic VAST Adapter
      • GVA - Configuration
    • 3rd Party Audience Data Integration/DMP
  • Ad Media Condition and Delivery
    • Ad Media - Origin integration
    • Ad Media - CDN integration
    • Prefetch API
  • Manual - User Interface
    • Account
    • Channels/Streams
    • Reports
    • Assets
  • REST API
    • Channels
      • API routes - Channels
      • VOD Channels
      • Detailed channel analysis errors
    • Reports
      • API Routes - reports
    • Playlists
    • Error responses for all routes
    • Further Documentation
  • Support
    • About support case management
    • Creating a case
    • Case language
    • Case processing
    • Booking a meeting
    • Requesting elevated attention
    • Closing a case
  • FAQ - Questionnaire - Glossary
    • Q&A
    • Questionnaire
    • Glossary
    • Files
  • Quality of Service
  • Release Notes
    • Version 2.1.0.x
    • Version 2.0.7.x
    • Version 2.0.6.x
    • Version 2.0.5.x
Powered by GitBook
On this page
  • Systems - get systems
  • Reports - get reports by system
  • Reports - get report
  1. REST API
  2. Reports

API Routes - reports

Systems - get systems

GET https://admin.serverside.ai/api/v2/systems

This route lists all of your systems. You will need the system id to list or query reports.

Path Parameters

Name
Type
Description

x-api-key

string

Your serverside.ai API key

[
    {
        "_id": "5d80ead4eb46fe2ea810a244",
        "name": "ams",
        "type": "azure-media-services",
        "settings": {
            "resourceGroup": "<RESOURCE GROUP>",
            "activeDirectoryClientSecret": "<A SECRET>",
            "storageAccount": "<ACCOUNT NAME>",
            "azureMediaServiceName": "<SERVICE NAME>",
            "activeDirectoryTenantId": "<UUID>",
            "storageKey": "<STORAGE KEY>",
            "activeDirectoryClientId": "<UUID>",
            "azureSubscriptionId": "<UUID>",
            "container": "<CONTAINER>"
        },
        "id": "<UUID>",
        "createdBy": "user@company.com",
        "createdAt": "2019-09-17T14:16:52.669Z",
        "tenant": "Another New Company",
        "__v": 0
    },
    {
        "_id": "<ID>",
        "name": "ssai",
        "type": "ssai",
        "settings": {
            "url": "https://staging-live.serverside.ai/channel-api/api/v1/channels",
            "username": "<USERNAME>",
            "password": "<PASSWORD>",
            "elasticSearchDomain": "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxx.eu-central-1.aws.cloud.es.io:9243",
            "elasticSearchUser": "<USER>",
            "elasticSearchPassword": "<PASSWORD>",
            "elasticSearchIndex": "<INDEX>"
        },
        "id": "<GUID>",
        "createdBy": "user@company.com",
        "createdAt": "2019-09-17T14:15:28.902Z",
        "tenant": "Another New Company",
        "__v": 0,
        "modifiedAt": "2019-09-25T09:18:52.382Z",
        "modifiedBy": "user@company.com"
    }
]

Reports - get reports by system

GET https://admin.serverside.ai/api/v2/systems/:systemid/reports

This route lists all the report names for a system. Use the id (UUID) from the GET systems route above.

Path Parameters

Name
Type
Description

:systemid

string

id (UUID) of the relevant system.

Headers

Name
Type
Description

x-api-key

string

Your serverside.ai API key

[
    "Incoming-Events",
    "Event-Count",
    "Ad-Campaign",
    "Audience-Share",
    "Viewing-Time",
    "Unique-Users",
    "Channel-Lineup",
    "Per-Region",
    "Viewer-Engagement",
    "Device-Types"
]

Reports - get report

GET https://admin.serverside.ai/api/v2/systems/:systemid/reports/:report-name

Get the report name from the 'get reports by system' route above.

Path Parameters

Name
Type
Description

:systemid

string

id of relevant system (UUID)

:report-name

string

e.g. "Viewing-Time"

Query Parameters

Name
Type
Description

start

number

Start datetime as a number (UNIX timestamp)

end

number

End datetime as a number (UNIX timestamp)

interval

number

Sampling interval in milliseconds

{
    "chartType": "Bar",
    "labels": [
        "'11.",
        "'12.",
        "'13.",
        "'14.",
        "'15.",
        "'16.",
        "'17.",
        "'18.",
        "'19.",
        "'20.",
        "'21.",
        "'22.",
        "'23.",
        "'24.",
        "'25."
    ],
    "series": [
        {
            "name": "Viewing Time Sum",
            "data": [
                58417.43,
                21547.801,
                36662.05,
                22057.06,
                8219.564999999999,
                20154.076,
                11223.451,
                58562.409,
                21852.694,
                21611.001,
                0,
                102.65899999999999,
                95233.44200000001,
                95105.662,
                15863.242
            ]
        }
    ],
    "category": "Viewer Engagement"
}
PreviousReportsNextPlaylists

Last updated 5 years ago