/api/preview/clear
Use this interface to delete all images subscribed for preview.
Protocol |
HTTP/HTTPS GET |
URL |
ip[:port]/api/preview/clear |
Content-Type |
Response: Content-Type: multipart/x-mixed-replace |
Request URL parameters
Parameter |
Description |
id |
Connection ID. |
Request Example
GET /api/preview/clear?id=123456 HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
Response Parameters
Parameter |
Description |
Content-Type |
Value: 'application/json; charset=UTF-8' |
Response Body
Response Example
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
content-length: xx
{
"result": 0
}