Manage Material

Note:

This function is supported only when <isSupportMaterialMgr>> in XML_PublishServerCap is "true" (related API: /ISAPI/Publish/capabilities).

For integration via Device Network SDK, the related text protocol data should be transmitted by the specific API (i.e., NET_DVR_STDXMLConfig) to realize the applications. Refer to Integrate by Transmitting Text Protocol for details.

Function

Request URI

Get the capability of material management parameters

GET /ISAPI/Publish/material/<ID>/capabilities

Create a specific material

POST /ISAPI/Publish/MaterialMgr/material

Get, set or delete a specific material

GET, PUT, or DELETE /ISAPI/Publish/MaterialMgr/material/<ID>

Delete multiple materials

DELETE /ISAPI/Publish/MaterialMgr/material

Set materials in a batch

Search for material

Download material thumbnail

GET /ISAPI/Publish/MaterialMgr/material/<ID>/thumbnail/download?format=json

Download local material

GET /ISAPI/Publish/MaterialMgr/material/<ID>/download