Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 1.63 KB

media.md

File metadata and controls

23 lines (18 loc) · 1.63 KB

Media

The Media resource lets you upload your media files to Bandwidth API servers so they can be used in applications without requiring a separate hosting provider. You can upload files up to 65MB and file storage is free for an unlimited number of files. Files you upload can only be accessed by you when you supply your API access token and secret. They are not available to anonymous users. Bandwidth API supports the Cache-Control header when you upload files.

{% raw %}

You can upload files up to `65MB` and file storage is free for an unlimited number of files.

{% endraw %} ### Base URL

https://api.catapult.inetwork.com/v1/users/{userId}/media

Capabilities

Verb Path about
GET /v1/users/{userId}/media Get a list of your media files
PUT /v1/users/{userId}/media/{mediaName} Uploads a media file
GET /v1/users/{userId}/media/{mediaName} Downloads a media file you uploaded
DELETE /v1/users/{userId}/media/{mediaName} Permanently deletes a media file you uploaded