{ "opencollection": "1.0.0", "info": { "name": "LinkedIn Compliance Events Access Control Use Cases > Video Ad API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.linkedin.com/oauth/v2/authorization", "accessTokenUrl": "https://www.linkedin.com/oauth/v2/accessToken", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Use Cases > Video Ad", "type": "folder" }, "items": [ { "info": { "name": "LinkedIn Get Multiple Videos", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/images", "headers": [ { "name": "LinkedIn-Version", "value": "{{insert_version}}" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "ids", "value": "List({{image_urn1}},{{image_urn2}})", "type": "query" } ] }, "docs": "This API retrieves multiple videos." }, { "info": { "name": "LinkedIn Initialize Video Upload", "type": "http" }, "http": { "method": "POST", "url": "https://api.linkedin.com/videos", "headers": [ { "name": "LinkedIn-Version", "value": "{{insert_version}}" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "action", "value": "initializeUpload", "type": "query" } ] }, "docs": "Use the `initializeUpload` action to register the upload. When you initialize, you declare the upcoming upload. Use the upload URL from the `uploadInstructions` to upload the video." }, { "info": { "name": "LinkedIn Get a Single Video", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/images/:image_urn", "headers": [ { "name": "LinkedIn-Version", "value": "{{insert_version}}" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "image_urn", "value": "urn:li:organization:123456", "type": "path" } ] }, "docs": "This API retrieves a single video." } ] } ], "bundled": true }