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 URLhttps://api.catapult.inetwork.com/v1/users/{userId}/media
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 |