Set player thumbnails to existing thumbnails or download and create thumbnails from a given URLs

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
409 Conflict: Conflict with the current state of the resource
422 Unprocessable Entity: body has wrong attributes

Examples

REQUEST
Content-Type: application/json
[
  {
    "url": "http://www.pictureplace.com/thumbnail.jpg"
  },
  {
    "uuid": "uuid"
  }
]

RESPONSE
200 (OK)
[
  {
    "thumbnail": {
      "thumbnail_type": "custom",
      "url": "http://www.pictureplace.com/thumbnail.jpg",
      "uuid": "new_uuid",
      "uuid": "34Jf4iLz234v1M2TQRbg",
      "created_at": 1414002317,
      "updated_at": 1414002317
    },
    "created_at": 1414002317,
    "updated_at": 1414002317
  },
  {
    "thumbnail": {
      "thumbnail_type": "generated",
      "url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png",
      "uuid": "uuid",
      "uuid": "34Jf4iLz234v1M2TQRbg",
      "created_at": 1403632462,
      "updated_at": 1403632498
    },
    "created_at": 1413997943,
    "updated_at": 1414002049
  }
]

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

player_uuid
required

Validations:

  • Must be a String

uuid
optional

The thumbnail to add to the selected thumbnails for this player. Thumbnail must already belong to this player.
Either uuid or url must be set.

Validations:

  • Must be a String

url
optional

The URL for an image to upload to vidyard. This creates a new thumbnail to add to the selected thumbnails for this player.

Validations:

  • Must be a String