Player Management API (Deprecated)
Was this article helpful?
The Player Management API allows for the listing of available players and the assignment of a player to particular embed code(s).
There are two modes, 'list' and 'assign'. As in the Query API, interaction with the Player Management API is through signed REST-style requests to http://api.ooyala.com/partner/players.
- pcode – Provider Code
- expires – Query expiration time in seconds since epoch (00:00:00 1/1/1970 GMT)
- mode – One of list or assign
- signature – The digital signature of the request. The signature should be calculated using SHA-256 with the signature generation rules.
List all avilable players. No additional parameters required.
<?xml version="1.0" encoding="UTF-8"?> <players size=1> <player> <pid>e870d9c7-cd69-4b56-b8fd-3cf10a83cf12</pid> <name>Default Player</name> </player> </players>
Additional required parameters: embedCodes, pid
Assigns a comma-separated list of video embed codes (or a single embed code) to a particular player. An existing player will be overwritten when using this mode. Returns a text file with 'OK' on success or an error message on failure.