get-source-thumbnail
Use the interface to get the source thumbnail.
Request Mode
POST http://ip/mwapi/get-source-thumbnail
Parameter |
Description |
sourceId |
The source ID |
mediaProgress |
The media progress (0 - 1000000) |
Response Body
JSON structure is as follows:
{
"status": 0,
"thumbnail": {...}
}
1. Response Status
"status": 0
Name |
Description |
status |
0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |
2. Content of thumbnail
"thumbnail": {
"encoding": "base64",
"data": "..."
}
Name |
Description |
encoding |
The encoding mode |
data |
The encoded data |
HTTP Accessing Thumbnail