{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Media Storage API API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Media Storage API", "type": "folder" }, "items": [ { "info": { "name": "List uploaded media", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/media", "params": [ { "name": "filter", "value": "", "type": "query", "description": "Consolidated filter parameter (deepObject style). Originally: filter[content_type][]" } ] }, "docs": "Returns a list of stored media files." }, { "info": { "name": "Upload media", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/media", "body": { "type": "json", "data": "{}" } }, "docs": "Upload media file to Telnyx so it can be used with other Telnyx services" }, { "info": { "name": "Retrieve stored media", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/media/:media_name", "params": [ { "name": "media_name", "value": "", "type": "path", "description": "Uniquely identifies a media resource." } ] }, "docs": "Returns the information about a stored media file." }, { "info": { "name": "Update stored media", "type": "http" }, "http": { "method": "PUT", "url": "https://api.telnyx.com/v2/media/:media_name", "params": [ { "name": "media_name", "value": "", "type": "path", "description": "Uniquely identifies a media resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a stored media file." }, { "info": { "name": "Deletes stored media", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/media/:media_name", "params": [ { "name": "media_name", "value": "", "type": "path", "description": "Uniquely identifies a media resource." } ] }, "docs": "Deletes a stored media file." }, { "info": { "name": "Download stored media", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/media/:media_name/download", "params": [ { "name": "media_name", "value": "", "type": "path", "description": "Uniquely identifies a media resource." } ] }, "docs": "Downloads a stored media file." } ] } ], "bundled": true }