Profiles

Update profile

Updates a player profile, propagating to linked videos

put/profile/{profile_id}

Request

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

Request body

namestring
exclusiveboolean
hideControlsOnStartboolean nullable
generalobject
controlsstring[]
availableQualitiesstring[] nullable

Allowed resolutions with the p suffix, e.g. ["480p","720p"]. null or empty array means no restriction.

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

Updated profile

idstring uuid
namestring
pullzone_namestring
is_defaultboolean
isDefaultboolean

Same as is_default (camelCase alias)

availableQualitiesstring[] nullable
feature_tagsstring[]
created_atstring date-time
updated_atstring date-time
hideControlsOnStartboolean nullable
controlsstring[]
generalobject

Example response

{
  "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"
  }
}

Changes

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