Methods
Objects
Media management
Method | Description |
---|---|
media.get_quota_status | What's my quota status ? |
media.import_file_from_base64_async | Import temporary file from base64 blob. Supported filetypes include: a... |
media.import_file_from_url_async | Import temporary file from URL. Supported filetypes include: aac, ac3,... |
media.get_quota_status
What's my quota status ?
method: media.get_quota_status
params: []
No parameters.
Type | Description | Format/Object |
---|---|---|
object | Quota status | Object: Media.Quota |
media.import_file_from_base64_async
Import temporary file from base64 blob. Supported filetypes include: aac, ac3, mp2, mp3, wav, gsm, ogg, pcma, pcmu, etc. (ffmpeg)
method: media.import_file_from_base64_async
params: [string data, object webhook]
Parameter | Type | Description | NULL |
---|---|---|---|
data | string | Base64 encoded file data | NO |
webhook | object |
Dynamic webhook. Status updates will be sent to this specific webhook. You only need to set 'endpoint' and optionally 'options'. The job result will contain a temporary file name. Object: Webhook |
YES |
Type | Description | Format/Object |
---|---|---|
string | Job ID |
media.import_file_from_url_async
Import temporary file from URL. Supported filetypes include: aac, ac3, mp2, mp3, wav, gsm, ogg, pcma, pcmu, etc. (ffmpeg)
method: media.import_file_from_url_async
params: [string url, object webhook]
Parameter | Type | Description | NULL |
---|---|---|---|
url | string | Url of the file to be imported | NO |
webhook | object |
Dynamic webhook. Status updates will be sent to this specific webhook. You only need to set 'endpoint' and optionally 'options'. The job result will contain a temporary file name. Object: Webhook |
YES |
Type | Description | Format/Object |
---|---|---|
string | Job ID |