Media
List media files (JSON body)
Same as the GET form with the parameters in a JSON body, which keeps the API key out of URLs. If client_id is also in the query string, the body is ignored. In form fields page and limit are ignored.
post/media/list/
Request
- Base URL: https://wbiztool.com/api/v1
- URL: https://wbiztool.com/api/v1/media/list/
- Auth: none required
Request body
Example request
{
"client_id": 12345,
"api_key": "YOUR_API_KEY"
}Response
The files (status: 1), newest first, or an error (status: 0). Errors also come back with HTTP 200 and status: 0: client_id is required, api_key is required, client_id must be a valid integer, Invalid API key, Invalid client_id for this API key, Error retrieving media files: ….
Example response
{
"data": {
"media_files": [
{
"file_size_display": "242.5 KB",
"mime_type": "application/pdf"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.