Access restrictions, Setting client restriction to deny/allow for vn-e4, Setting ip address of restricted client for vn-e4 – JVC 4ch Network Encoder VN-E4 User Manual

Page 53: Api for acquiring/changing parameters of vn-e4

Advertising
background image

53

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

5.11. Access Restrictions

The APIs below are related to access restrictions. These are equivalent to the features on the Access Restrictions page of the WEB setting
page. Refer to the instruction manual for details on the Access Restrictions page.

Acquiring Deny/Allow Setting of Client Restrictions from VN-E4

Format

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

Example of Response

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

Interpretation

Acquire the deny/allow setting of client restrictions. Either deny or allow will be returned. This API acquires the
same details as the "Access Restriction" item of "Client Address" at the top of the Access Restrictions page.

Allowed users

admin, operator

Setting Client Restriction to Deny/Allow for VN-E4

Format

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

Example

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

Example of Response

network.access_control(api).logic&200 OK

Interpretation

Change the deny/allow setting of client restrictions. Specify as deny or allow. Details set by this API are the same
as those set by the "Access Restriction" item of "Client Address" at the top of the Access Restrictions page.

Allowed user

admin

Acquiring IP Address Setting of Restricted Client from VN-E4

Format

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

Example

When acquiring the first IP address

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

Example of Response

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

Interpretation

Acquire the IP address setting of the restricted client. 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(api).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. There are also cases when
FQDN instead of IP address is set.

Example of Response 2

network.access_control(api).host(1)=somedivision.somecompany.com&200 OK

This API acquires the same details as the "IP Address" item of "Client Address" at the top of the Access
Restrictions page.

Allowed users

admin, operator

Setting IP Address of Restricted Client for VN-E4

Format

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

Example

When setting the first IP address

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

Example of Response

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

Interpretation

Change the IP address setting of client restriction. Setting is possible up to 10 items. Specify a value between 1
to 10 for the number. A range of IP address may be specified if the subnet mask is also specified. For example,
set as follows to specify a range between 10.0.0.0 to 10.0.0.255.

5.11. Access Restrictions

Advertising