{ "opencollection": "1.0.0", "info": { "name": "Brightcove Analytics API Reference Access Tokens Delivery Rule Actions API", "version": "1.0.0" }, "items": [ { "info": { "name": "Delivery Rule Actions", "type": "folder" }, "items": [ { "info": { "name": "Fetch the Actions for the account", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/actions", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List the Actions defined for an account" }, { "info": { "name": "Create an Action", "type": "http" }, "http": { "method": "POST", "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/actions", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create an Action" }, { "info": { "name": "Fetch a specific Action", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/actions/:action_id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account id" }, { "name": "action_id", "value": "", "type": "path", "description": "ID of the Action to query on" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Fetch a specific Action based on its ID" }, { "info": { "name": "Update an Action", "type": "http" }, "http": { "method": "PUT", "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/actions/:action_id", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account id" }, { "name": "action_id", "value": "", "type": "path", "description": "ID of the Action to query on" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update an Action. The Action ID in the body must match the one in the URL." }, { "info": { "name": "Delete an Action", "type": "http" }, "http": { "method": "DELETE", "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/actions/:action_id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account id" }, { "name": "action_id", "value": "", "type": "path", "description": "ID of the Action to query on" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete an Action" } ] } ], "bundled": true }