JVC VN-E4U API Guide - Page 53

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

Page 53 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.11. Access Restrictions 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. 53

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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