Push a player to YouTube

Supported Formats

json

Errors

Code Description
400 Bad Request: body has wrong syntax or unable to handle request
401 Unauthorized: auth_token omitted or authentication failed
403 Forbidden: This action cannot be performed
404 Not Found: The requested resource could not be found
406 Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
422 Unprocessable Entity: body has wrong attributes

Examples

REQUEST
Content-Type: application/json
{
  "channel_id": "GGh3dAgDwNXR1whyLT1a5MfA",
  "scheduled_timestamp": "1374178204",
  "privacy_setting": "private",
  "embeddable_setting": true
}

RESPONSE
200 (OK)

Params

Param name Description
auth_token
optional

API token needed to authorize requests
This can appear as an attribute in the body of the request or the query parameters on the URL

Validations:

  • Must be a String

id
required

Validations:

  • Parameter has to be Integer.

channel_id
required

YouTube channel id

Validations:

  • Must be a String

privacy_setting
optional

YouTube privacy setting
Default: public

Validations:

  • Must be one of: public, private, unlisted.

embeddable_setting
optional

Whether the youtube videos created for this player can be embedded in iframes

Validations:

  • Parameter has to be Boolean.

scheduled_timestamp
optional

Timestamp (Unix Time)
Default: Now

Validations:

  • Parameter has to be TimeStamp.