Error message

User warning: The following module is missing from the file system: fast_404. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /mnt/www/html/ooyala/docroot/includes/bootstrap.inc).

Gestión de etiquetas: Asignar

API de Backlot v1

http://api.ooyala.com/partner/labels
?pcode=<pcode>
&embedCodes=<embedCode1>,<embedCode2>
&expires=<expiration>
&labels=/hello,/bye
&mode=assignLabels
&signature=<signature>
    
   

API de Backlot v2: Etiqueta única

[PUT] /v2/assets/<asset_id>/labels/<label_id>
    
   

API de Backlot v2: Varias etiquetas

[POST] /v2/assets/asset_id/labels/
[
  "label_id",
  "label_id",
  ...
]     
    
   

Ejemplo

El siguiente ejemplo crea una etiqueta:

[PUT] /v2/assets/IzNnllMjphu2XF3_UgPROoCi9B2rtWs/labels
[
  "638aed2a18734375b3b332cb85999dd2", 
  "814efb109416490a98ee3f4fcd6784cf"
]
    

Backlot devuelve una respuesta similar a la siguiente:

{
  "items": [
    {
      "name": "Sports",
      "id": "814efb109416490a98ee3f4fcd6784cf",
      "parent_id": null,
      "full_name": "/Sports"
    },
    {
      "name": "Hobbies",
      "id": "638aed2a18734375b3b332cb85999dd2",
      "parent_id": null,
      "full_name": "/Hobbies"
    }
  ]
}