Version 8.3.8

Back | 

GetUgcPlayerInfo

Returns basic ugc project metadata an title info for building ugc form

URL Format

/ws/get_ugc_player_info/api/{app_token}/p/{ugc_project_uuid}

Parameters

Name Req Type Description
ugc_project_uuid string The uuid of the ugc project for which the metadata info is required
app_token string The user api token

Request Headers

Name

Possible Responses

  • 202 Project Found
  • 338 Invalid Project UUID

Example Response

{
  "response": {
    "success": {
      "code": 216,
      "message": "Ugc Project Found",
      "details": ""
    },
    "getUgcProjectResponse": {
      "ugcProject": {
        "class": "UgcProject",
        "uuid": "cz03l1zg",
        "maxFilesize": 2097152000,
        "maxDuration": 10800,
        "keepOriginalSize": 1,
        "videoWidth": 320,
        "videoHeight": 240,
        "callbackUrl": "",
        "titleLabel": "xxxx",
        "titleMultiline": 0,
        "titleWidth": 200,
        "titleHeight": 30,
        "titleMaxLength": 100,
        "transcoderRequestProfileid": 621,
        "metanames": [
          {
            "class": "GenericMetaname",
            "id": 66401,
            "fieldType": "textArea",
            "fieldOptions": "",
            "defaultValue": "",
            "metaname": "dwsdwd",
            "displayName": "dwsdwd",
            "width": 200,
            "height": 30,
            "minLength": 0,
            "maxLength": 100,
            "minWords": 0,
            "maxWords": 0,
            "isRequired": 0,
            "sortnum": 0,
            "isHidden": 0,
            "isOTT": 0
          },
          {
            "class": "GenericMetaname",
            "id": 66411,
            "fieldType": "text",
            "metaname": "sdfsdf",
            "displayName": "sdfsdf",
            "width": 200,
            "height": 30,
            "maxLength": 100,
            "isRequired": 0,
            "sortnum": 1,
            "isHidden": 0,
            "isOTT": 0
          },
          {
            "class": "GenericMetaname",
            "id": 66413,
            "fieldType": "text",
            "metaname": "sdfsdf",
            "displayName": "sdfsdf",
            "width": 200,
            "height": 30,
            "maxLength": 100,
            "isRequired": 0,
            "sortnum": 2,
            "isHidden": 0,
            "isOTT": 0
          },
          {
            "class": "GenericMetaname",
            "id": 66415,
            "fieldType": "text",
            "metaname": "sdfsdf",
            "displayName": "sdfsdf",
            "width": 200,
            "height": 30,
            "maxLength": 100,
            "isRequired": 0,
            "sortnum": 3,
            "isHidden": 0,
            "isOTT": 0
          },
          {
            "class": "GenericMetaname",
            "id": 66417,
            "fieldType": "text",
            "metaname": "sdfdsf",
            "displayName": "sdfdsf",
            "width": 200,
            "height": 30,
            "maxLength": 100,
            "isRequired": 1,
            "sortnum": 4,
            "isHidden": 1,
            "isOTT": 0
          }
        ],
        "elements": {
          "colorPlayerBG": "#FFFFFF",
          "imgBackground": "",
          "colorLoadingAnimation": "#EEEEEE",
          "colorPrimary": "#333366",
          "colorControlSetTint": null
        }
      }
    }
  }
}