beautypg.com

Api for acquiring/changing parameters of vn-e4, Access restrictions – JVC 4ch Network Encoder VN-E4 User Manual

Page 54

background image

54

5. API for Acquiring/Changing Parameters of VN-E4 _

5.11. Access Restrictions

Example

/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.

Example

/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.

Allowed user

admin

Acquiring Deny/Allow Setting of Audio Sender Restrictions from VN-E4

Format

/api/param?network.access_control(stream_in).logic

Example of Response

network.access_control(stream_in).logic=deny&200 OK

Interpretation

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.

Allowed users

admin, operator

Setting Audio Sender Restriction to Deny/Allow for VN-E4

Format

/api/param?network.access_control(stream_in).logic=data

Example

/api/param?network.access_control(stream_in).logic=deny

Example of Response

network.access_control(stream_in).logic&200 OK

Interpretation

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.

Allowed user

admin

Acquiring IP Address Setting of Restricted Audio Sender from VN-E4

Format

/api/param?network.access_control(stream_in).host(Number)

Example

When acquiring the first IP address

/api/param?network.access_control(stream_in).host(1)

Example of Response

network.access_control(stream_in).host(1)=10.0.0.100&200 OK

Interpretation

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.

Example of Response 2

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.

Allowed users

admin, operator

Setting IP Address of Audio Sender Restrictions for VN-E4

Format

/api/param?network.access_control(stream_in).host(Number)=data

Example

When setting the first IP address

/api/param?network.access_control(stream_in).host(1)=10.0.0.100

Example of Response

network.access_control(stream_in).host(1)&200 OK