{ "opencollection": "1.0.0", "info": { "name": "Brightcove Analytics API Reference Access Tokens Custom Fields API", "version": "1.0.0" }, "items": [ { "info": { "name": "Custom Fields", "type": "folder" }, "items": [ { "info": { "name": "Get Video Fields", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "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": "Gets a list of custom fields for the account (note that this operation may later return standard fields as well - current it returns an empty array for `standard_fields`)" }, { "info": { "name": "Get Custom Fields", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields/custom_fields", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "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": "Gets a list of custom fields for the account" }, { "info": { "name": "Create a Custom Field", "type": "http" }, "http": { "method": "POST", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields/custom_fields", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "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 a new custom field for the account" }, { "info": { "name": "Get a Custom Field", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields/custom_fields/:{custom_field_id}", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account ID." }, { "name": "custom_field_id", "value": "", "type": "path", "description": "Custom Field ID." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Gets a list of custom fields for the account" }, { "info": { "name": "Update a Custom Field", "type": "http" }, "http": { "method": "PATCH", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields/custom_fields/:{custom_field_id}", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account ID." }, { "name": "custom_field_id", "value": "", "type": "path", "description": "Custom Field 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": "Update a new custom field for the account" }, { "info": { "name": "Delete a Custom Field", "type": "http" }, "http": { "method": "DELETE", "url": "https://analytics.api.brightcove.com/v1/accounts/:{account_id}/video_fields/custom_fields/:{custom_field_id}", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Video Cloud account ID." }, { "name": "custom_field_id", "value": "", "type": "path", "description": "Custom Field ID." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a new custom field for the account" } ] } ], "bundled": true }