Profiles

Create new profile

Creates a new player profile

post/profile

Request

  • Base URL
    https://api-v2.pandavideo.com.br
  • URL
    https://api-v2.pandavideo.com.br/profile
  • Auth
    API key in header Authorization

Request body

namestring required

Profile name (3-255 characters)

exclusiveboolean
is_defaultboolean
source_video_idstring uuid

Seed config from this video instead of system defaults

hideControlsOnStartboolean
generalobject
controlsstring[]
availableQualitiesstring[] nullable

Example request

{
  "colors": {
    "primaryColor": "#8000FA",
    "controlsColor": "#FFFFFF",
    "captionsColor": "#FFFFFF",
    "captionsBackgroundColor": "#000000",
    "background": "#000000"
  },
  "vsl": {
    "autoplay": true,
    "alternativeProgressHeight": 10,
    "alternativeProgressVelocity": 2,
    "alternativeProgress2xLimit": 50,
    "mutedIndicatorIcon": true,
    "mutedIndicatorFontSize": 22,
    "mutedIndicatorTextTop": "Click here",
    "mutedIndicatorTextBottom": "to activate the sound",
    "mutedIndicatorBackgroundColor": "rgba(128, 0, 250, 1.00)",
    "mutedIndicatorTextColor": "rgba(255, 255, 255, 1.00)",
    "mutedIndicatorAnimation": "impact",
    "mutedIndicatorSize": "small",
    "mutedIndicatorBorderSize": 2,
    "mutedIndicatorLoopDuration": 15,
    "gtagIds": [
      null
    ],
    "pandaBranding": true
  },
  "saveProgress": {
    "saveProgress": true,
    "initQuality": 720,
    "saveProgressScreen": true,
    "saveProgressTitle": "Continue learning?",
    "saveProgressBackgroundOpacity": 0.8,
    "saveProgressButton1Title": "Continue",
    "saveProgressButton2Title": "Start over"
  }
}

Response

Profile created

idstring uuid
namestring

Changes

No recorded changes to this operation across all 1 revision of this API.