Duplicate player.

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

Examples

REQUEST
Accept: application/json

RESPONSE
202 (ACCEPTED)
[
  "player_status": "duplicating",
]

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

uuid
required

The UUID of the player you want to duplicate

Validations:

  • Must be a String

organization_id
optional , nil allowed

The organization the player will be copied to
Default: Your current organization

Validations:

  • Parameter has to be Integer.

player_name
optional

The name which should be given to the duplicate player
Default: Original player name with ‘(copy)’ appended to it

Validations:

  • Must be a String

duplicate_videos
optional

Whether or not videos should be duplicated for the player. This will be true when copying to an organization other than your current active organization.
Default: false

Validations:

  • Must be one of: true, false, 1, 0.