JVC VN-E4U API Guide - Page 46

Setting Domain Name for VN-E4, Acquiring DNS Server On/Off Status from VN-E4

Page 46 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.8. Network Basics Setting Domain Name for VN-E4 Format /api/param?network.domainname=data Example /api/param?network.domainname=somename Example of Response network.domainname&202 Required(network.interface.status=restart) Interpretation Change the domain name. Characters that may be used for the domain name are alphanumerics, underscores (_) and hyphens (-). Upon setting this API, execute the "network.interface.status=restart" API for enabling network setting changes to enable the new settings. Specify as %00 when the domain name setting is to be left blank. Example when leaving /api/param?network.domainname=%00 field blank Allowed user admin Acquiring DNS Server On/Off Status from VN-E4 Format /api/param?network.dns.status Example of Response network.dns.status=off&200 OK Interpretation Acquire the on/off status of the DNS server. Either on or off will be returned. Allowed users admin, operator, user Setting DNS Server Status to On/Off for VN-E4 Format /api/param?network.dns.status=data Example /api/param?network.dns.status=on Example of Response network.dns.status&202 Required(network.interface.status=restart) Interpretation Change the on/off status of the DNS server. Specify as on or off. Upon setting this API, execute the "network.interface.status=restart" API for enabling network setting changes to enable the new settings. Allowed users admin, operator Acquiring DNS Server Type from VN-E4 Format /api/param?network.dns.type Example of Response network.dns.type=dns&200 OK Interpretation Acquire the DNS server type. Either dns or ddns will be returned. Allowed users admin, operator, user Setting DNS Server Type for VN-E4 Format /api/param?network.dns.type=data Example /api/param?network.dns.type=ddns Example of Response network.dns.type&202 Required(network.interface.status=restart) Interpretation Change the DNS server type. Specify as dns or ddns. Upon setting this API, execute the "network.interface.status=restart" API for enabling network setting changes to enable the new settings. Allowed users admin, operator 46

  • 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

46
5. API for Acquiring/Changing Parameters of VN-E4 _
5.8. Network Basics
Setting Domain Name for VN-E4
Format
/api/param?network.domainname=data
Example
/api/param?network.domainname=somename
Example of Response
network.domainname&202 Required(network.interface.status=restart)
Interpretation
Change the domain name. Characters that may be used for the domain name are alphanumerics, underscores
(_) and hyphens (-). Upon setting this API, execute the "network.interface.status=restart" API for enabling
network setting changes to enable the new settings.
Specify as %00 when the domain name setting is to be left blank.
Example when leaving
field blank
/api/param?network.domainname=%00
Allowed user
admin
Acquiring DNS Server On/Off Status from VN-E4
Format
/api/param?network.dns.status
Example of Response
network.dns.status=off&200 OK
Interpretation
Acquire the on/off status of the DNS server. Either on or off will be returned.
Allowed users
admin, operator, user
Setting DNS Server Status to On/Off for VN-E4
Format
/api/param?network.dns.status=data
Example
/api/param?network.dns.status=on
Example of Response
network.dns.status&202 Required(network.interface.status=restart)
Interpretation
Change the on/off status of the DNS server. Specify as on or off. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator
Acquiring DNS Server Type from VN-E4
Format
/api/param?network.dns.type
Example of Response
network.dns.type=dns&200 OK
Interpretation
Acquire the DNS server type. Either dns or ddns will be returned.
Allowed users
admin, operator, user
Setting DNS Server Type for VN-E4
Format
/api/param?network.dns.type=data
Example
/api/param?network.dns.type=ddns
Example of Response
network.dns.type&202 Required(network.interface.status=restart)
Interpretation
Change the DNS server type. Specify as dns or ddns. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator