XML message about capability of HTTP listening server
<HttpHostNotificationCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <hostNumber>2</hostNumber> <urlLen max=""/> <protocolType opt="HTTP,HTTPS,EHome"/> <parameterFormatType opt="XML,querystring,JSON"/> <addressingFormatType opt="ipaddress,hostname"/> <ipAddress opt="ipv4,ipv6"/> <portNo min="" max=""/> <userNameLen min="" max=""/> <passwordLen min="" max=""/> <httpAuthenticationMethod opt="MD5digest,none"/> <Extensions> <intervalBetweenEvents min="" max=""/> </Extensions> <uploadImagesDataType opt="URL,binary"/> <ANPR><!--optional--> <detectionUpLoadPicturesType opt="all,licensePlatePicture,detectionPicture…"/><!--optional, xs:string, types of alarm pictures to be uploaded--> <alarmHttpPushProtocol opt="baseline,custom"/> </ANPR> <httpBroken opt="true,false" def="true"><!--optional, xs:boolean, whether to enable global ANR: true, false--></httpBroken> <SubscribeEventCap> <heartbeat min="" max=""/><!--optional, heartbeat time interval, unit: second--> <channelMode opt="all,list"/><!--required, all-subscribe events of all channels, list-subscribe event by channel--> <eventMode opt="all,list"/><!--required, event subscription mode: all-subscribe all events of all channels, list-subscribe events by type, channel, and target--> <!--if the values of the two nodes channelMode and eventMode are both "all", it indicates that the device does not support subscribe events by type and channel--> <EventList><!--dependent, alarm uploading mode, this node is valid only when eventMode is "list"--> <Event><!--required--> <type><!--required, xs:string, event types--></type> <pictureURLType opt="binary,localURL,cloudStorageURL" def=""/> <!--optional, xs:string, transmission format of alarm picture: "binary"-picture binary data, "localURL"-picture URL from local device, "cloudStorageURL"-picture URL from cloud storage--> </Event> </EventList> <pictureURLType opt="binary,localURL,cloudStorageURL" def=""/> <!--optional, xs:string, transmission format of all alarm pictures: "binary"-picture binary data (default for camera), "localURL"-picture URL from local device (default for NVR/DVR), "cloudStorageURL"-picture URL from cloud storage; this node is in highest priority--> <ChangedUploadSub> <interval/><!--optional, xs:integer, the life cycle of arming GUID, unit: second, the default life cycle is 5 minutes; if the reconnection is not started during the life cycle, a new GUID will be generated--> <StatusSub> <all/><!--optional, xs:boolean, whether to subscribe all--> <channel/><!--optional, xs:boolean, subscribe channel status, this node is not required when the node all is "true"--> <hd/><!--optional, xs:boolean, subscribe the HDD status, this node is not required when the node all is "true"--> <capability/><!--optional, xs:boolean, subscribe the capability changed status, this node is not required when the node all is "true"--> </StatusSub> </ChangedUploadSub> </SubscribeEventCap> </HttpHostNotificationCap>