Vodlix
  • Introduction
  • Requirements
    • Installation and Setup Guide for Vodlix
  • User Manual
    • Front End
      • Signup
      • Login
      • Profile Selection
      • Homepage
      • Movies
      • TV Shows
      • Recently Added
      • My List
      • Watch Movie
      • Watch Series
      • Search
      • Choose Plan
      • Account Settings
      • Log Out
    • Admin Area
      • How to Access Admin Area
      • Login In Admin Area
      • Dashboard
      • Settings
        • Website Configuration
          • Website Settings
            • Custom Domain settings
            • Website Title
            • Website Slogans
            • Player Branding URL
            • Default Country
            • Date Format
            • Timezone
            • Blocked Countries
            • Meta Description
            • Google Analytics ID
            • Email Settings
            • Video Settings
            • Channels and Photos
            • Playlist and Series
            • General Settings
            • Comments Settings
          • User Settings and Registeration
            • Turn on Registration
            • Email Verification
            • Minimum age after Registeration
          • Display and Listing Settings
            • Movies Listing
            • Series Listing
          • Uploading and Conversion Settings
            • Upload Options
            • Stay MP4 as it is
            • Stream Via
            • Server Path for Modules
            • Set Video Resolution Generation
            • Allowed Extensions
            • Video Upload form Settings
            • Thumbs Settings
            • Video Conversion Settings
        • Branding
        • Menu Manager
        • Email settings
          • Email settings
          • Email Template Settings
        • Language Settings
          • Edit Language Phrases
          • Add New Phrases
        • Global Announcement
        • Billing & Payments
      • Subscription Management
        • Manage Subscribers
        • Manage Packages
        • Creating a new subscription package
        • Linking Subscription plans with Payment Gateways
        • Promotions and Discounts
      • Content Management
        • Content Ingestion
          • Uploading a Movie
          • Uploading A Series
            • Create a new series
            • Upload a new episode to a series
          • Embedding Video
          • How to put a live streaming link
        • Manage Videos/Content
          • Edit Video
          • Watch
          • Activate/Deactivate a video
          • Make it featured
          • Reconvert the video
          • File conversion details
          • Delete
          • Add movies to editor's pick
          • Apply Ad
          • URL Macro Variables Guide
        • Series and Seasons
          • Difference between Movies and TV Shows
          • How to create Series and Season
          • Add New Series
          • Add New Season
          • Adding Content in Series
          • Publishing and UnPublishing Content
        • Artist Manager
        • Manage Content Categories
        • Editor's Pick
        • Manage Pages
        • Mass Upload Videos
        • List Inactive Videos
        • Notification Settings
      • User Management
      • Ads Management
        • Ads Manager
          • Add Player Ad
          • Manage Ads
        • Manage Pages
      • Stats & Reports
        • Analytics
        • Reports
        • Invoice
      • Tool Box
      • Plugin Manager
      • Templates and Players
        • Template Manager
        • Templates Editor
        • Player Manager
        • Players Settings
    • Monetization
      • Selecting Business Model for Videos
        • Make Video AVOD
        • Make Video TVOD
        • Make Video SVOD
        • How to set custom monetization model for a video
      • Selecting Business Model for Series
  • Developer Guide
    • API Documentation
      • Guidelines for Session Initialization
      • Guidelines for Implementing Stats
      • Device Management
        • Add Device
        • Update Device Activity
        • Device Check
      • Kick / Logout User
      • Get User Device Activity
  • Installation & Setup
    • Server Configuration
      • System Rrequirements
    • DRM Configuration
      • FPS Deployment Package Guide
Powered by GitBook
On this page

Was this helpful?

  1. Developer Guide
  2. API Documentation

Get User Device Activity

API Documentation

API Route

{{apiBase}}/v2/device/user_activity/{userid}

Authentication

  • Required: Yes

  • Method: Send the API key as APIKEY in the request headers.

Request Details

  • Method: GET

Path Parameters:

  • userid: (Required) User ID to specify.

Optional Query Parameters:

  • sso: Single Sign-On (SSO) value.

Responses

Success:

{
    "status": 200,
    "timestamp": 1694597541,
    "time": 1.05,
    "ip": "182.187.142.133",
    "message": "User activity found",
    "data": [
        {
            "userid": "303",
            "session_id": "1694594281495105451",
            "app": "androidtv_app",
            "os": "android",
            "device_type": "tv",
            "device_name": "google sdk_google_atv64_amati_arm64",
            "timestamp": "13 September 2023 08:38:01 AM",
            "count": 4,
            "device_uuid": "STT9.221129.002",
            "last_active": "1 minute ago",
            "content_id": "5207",
            "content_type": "1",
            "activity_status": "not active"
        }, {...}
    ]
}

Error: No User Activity Found

{
    "status": 400,
    "timestamp": 1694597529,
    "time": 1.078,
    "ip": "182.187.142.133",
    "message": "No user activity found",
    "error_code": "resource_not_found",
    "data": []
}

Error: No User Found

{
    "status": 400,
    "timestamp": 1694597325,
    "time": 0.126,
    "ip": "182.187.142.133",
    "message": "No user found",
    "error_code": "resource_not_found",
    "data": []
}
PreviousKick / Logout UserNextServer Configuration

Last updated 1 year ago

Was this helpful?