- Source:
Methods
(static) deleteMedium(})
Delete media with ID.
- Source:
Delete media with ID
Parameters:
Name | Type | Description |
---|---|---|
} |
String | id |
(static) getMedia(Terms)
Get media matching search.
- Source:
Get media matching search
Parameters:
Name | Type | Description |
---|---|---|
Terms |
Array.<Object, string, number> | Array with Object of search query, messaage to commit to store (or undefined) and the limit to retrieve |
(static) upload(medium)
Upload a file.
- Source:
Upload a file
Parameters:
Name | Type | Description |
---|---|---|
medium |
FormData | File to upload |