check-source-used
Use the interface to check whether the source file is used.
Request Mode
POST http://ip/mwapi/check-source-used
Parameter | Description |
---|---|
sourceType | The source type 1: picture 2: video 6: music 10: GFX 11: scene background picture 13: PDF 14: web page |
id | The source ID |
Response Body
JSON structure is as follows:
{
"result":0,
"message":"success",
"info":{
"used":1
}
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
used | 0: not used 1: used by one presentation 2: used by the current preview scene, undeletable |