JVC VN-V26U Security Camera User Manual


 
6. API for Getting/Changing Parameters of VN-V25/26
This section provides description of APIs for getting/changing parameters of VN-V25/26. Make use of the API
explained in this section in the way as mentioned in Section 5
.
6.1. General
(1) Getting parameter
Specify API in GET line according to the format below when getting a parameter from VN-V25/26.
/api/param?ParamA.ParamB.ParamC
It is possible to get multiple parameters at a time. Connect parameters with &. Do not insert space before and after &.
/api/param?ParamA.ParamB.ParamC&ParamA.ParamD.ParamE
The upper limit of this character string is 1024 bytes. The maximum number of parameters that can be acquired at a
time is 15. Status settings, i.e.
network.interface.status, network.dns.status, network.ntp.status, etc., can not
be
acquired at a time.
When acquisition is successfully completed, values will be shown in the body of HTTP response, followed by
"&200 OK" message.
Example:
ParamA.ParamB.ParamC=Data&200 OK
When an error occurs, an error code will be returned instead of indicating a value in the body of HTTP response.
Example:
ParamA.ParamB.ParamC&401 Unauthorized
When multiple gettings are performed at one time, a response will be returned for each setting.
ParamA.ParamB.ParamC&200 OK<CRLF>
ParamA.ParamB.ParamD&200 OK<CRLF>
(2) Setting parameter
Specify API in GET line according to the format below when setting a parameter for VN-V25/26.
/api/param?ParamA.ParamB.ParamC=Data
Parameter values are indicated using =. Do not insert space before and after =.
It is possible to perform multiple settings at a time. Connect parameters with &. Do not insert space before and after
&.
15