{ "opencollection": "1.0.0", "info": { "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Stream Videos API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Stream Videos", "type": "folder" }, "items": [ { "info": { "name": "APIs.io Engineering Platform List videos", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "status", "value": "", "type": "query" }, { "name": "creator", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "asc", "value": "", "type": "query" }, { "name": "search", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query" }, { "name": "end", "value": "", "type": "query" }, { "name": "include_counts", "value": "", "type": "query" } ] }, "docs": "Lists up to 1000 videos from a single request. For a specific range, refer to the optional parameters." }, { "info": { "name": "APIs.io Engineering Platform Initiate video uploads using TUS", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream", "headers": [ { "name": "Tus-Resumable", "value": "" }, { "name": "Upload-Creator", "value": "" }, { "name": "Upload-Length", "value": "" }, { "name": "Upload-Metadata", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Initiates a video upload using the TUS protocol. On success, the server responds with a status code 201 (created) and includes a `location` header to indicate where the content should be uploaded. Refer to https://tus.io for protocol details." }, { "info": { "name": "APIs.io Engineering Platform Retrieve video details", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Fetches details for a single video." }, { "info": { "name": "APIs.io Engineering Platform Edit video details", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit details for a single video." }, { "info": { "name": "APIs.io Engineering Platform Delete video", "type": "http" }, "http": { "method": "DELETE", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deletes a video and its copies from Cloudflare Stream." }, { "info": { "name": "APIs.io Engineering Platform Retrieve embed Code HTML", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/:identifier/embed", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Fetches an HTML code snippet to embed a video in a web page delivered through Cloudflare. On success, returns an HTML fragment for use on web pages to display a video. On failure, returns a JSON response body." }, { "info": { "name": "APIs.io Engineering Platform Create signed URL tokens for videos", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/:identifier/token", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a signed URL token for a video. If a body is not provided in the request, a token is created with default values." }, { "info": { "name": "APIs.io Engineering Platform Upload videos from a URL", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/copy", "headers": [ { "name": "Upload-Creator", "value": "" }, { "name": "Upload-Metadata", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Uploads a video to Stream from a provided URL." }, { "info": { "name": "APIs.io Engineering Platform Upload videos via direct upload URLs", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/direct_upload", "headers": [ { "name": "Upload-Creator", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a direct upload that allows video uploads without an API key." }, { "info": { "name": "APIs.io Engineering Platform Storage use", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/stream/storage-usage", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "creator", "value": "", "type": "query" } ] }, "docs": "Returns information about an account's storage use." } ] } ], "bundled": true }