5. API for Acquiring/Changing Parameters of VN-E4 _
Example
Example
Allowed user
Acquiring Deny/Allow Setting of Audio Sender Restrictions from VN-E4
Format
Example of Response
Interpretation
Allowed users
Setting Audio Sender Restriction to Deny/Allow for VN-E4
Format
Example
Example of Response
Interpretation
Allowed user
Acquiring IP Address Setting of Restricted Audio Sender from VN-E4
Format
Example
Example of Response
Interpretation
Example of Response 2
Allowed users
Setting IP Address of Audio Sender Restrictions for VN-E4
Format
Example
Example of Response
/api/param?network.access_control(api).host(1)=10.0.0.0/24
It is also possible to set using FQDN instead of IP address. Set as follows if the setting is to be left blank.
/api/param?network.access_control(api).host(1)=%00
Details set by this API are the same as those set by the "Access Restriction" item of "Client Address" at the
bottom of the Access Restrictions page.
admin
/api/param?network.access_control(stream_in).logic
network.access_control(stream_in).logic=deny&200 OK
Acquire the deny/allow setting of audio sender restrictions. Either deny or allow will be returned. This API
acquires the same details as the "Access Restriction" item of "Source Address of Audio Sender" at the bottom
of the Access Restrictions page.
admin, operator
/api/param?network.access_control(stream_in).logic=data
/api/param?network.access_control(stream_in).logic=deny
network.access_control(stream_in).logic&200 OK
Change the deny/allow setting of audio sender restrictions. Specify as deny or allow. This API acquires the
same details as the "Access Restriction" item of "Source Address of Audio Sender" at the bottom of the Access
Restrictions page.
admin
/api/param?network.access_control(stream_in).host(Number)
When acquiring the first IP address
/api/param?network.access_control(stream_in).host(1)
network.access_control(stream_in).host(1)=10.0.0.100&200 OK
Acquire the IP address setting of the restricted audio sender. Setting is possible up to 10 items. Specify a value
between 1 to 10 for the number. The following will be returned if subnet mask is specified at the same time.
network.access_control(stream_in).host(1)=10.0.0.0/24&200 OK
The above example indicates that the range is set as between 10.0.0.0 to 10.0.0.255.
This API acquires the same details as the "Access Restriction" item of "Source Address of Audio Sender" at
the bottom of the Access Restrictions page.
admin, operator
/api/param?network.access_control(stream_in).host(Number)=data
When setting the first IP address
/api/param?network.access_control(stream_in).host(1)=10.0.0.100
network.access_control(stream_in).host(1)&200 OK
5.11. Access Restrictions
54