Directives
Get a directive
Changed onReturns a v1 directive. A directive owned by v0 returns 404.
get/robots/v1/directives/{DIRECTIVE_ID}
Request
- Base URLhttps://api.mux.com
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
DIRECTIVE_IDstring required
Directive ID returned by directive creation or listing (drv_...).
Response
V1 directive
Example response
{
"data": {
"name": "Moderate new assets",
"subject": {
"type": "video.asset"
},
"bindings": [
{
"reference_id": "moderation",
"workflow": "moderate",
"parameters": {
"on_flagged": {
"action": "delete_playback_ids"
}
}
}
],
"id": "drv_example123",
"resources": [],
"_links": {
"self": {
"href": "/robots/v1/directives/drv_example123"
}
},
"created_at": 1700000000,
"updated_at": 1700000000
}
}Changes
- info
added the optional property
////////////to the response with the status
- info
- info
endpoint added
- info