/config/restServer/details/allow/from

The nodes below this one perform the functions described in this function overview.

Specify remote address information.

Use

Permit connections from the specified IP addresses to the REST server.

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/restServer/details/allow/from

GET Response

{"/config/restServer/details/allow/from": {"data": None,
                                            "default": False,
                                            "defaultAllowed": False,
                                            "deleteAllowed": False,
                                            "numChildren": 1,
                                            "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/restServer/details/allow/from"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/restServer/det ails/allow/from?op=list

GET Response

{"/config/restServer/details/allow/from": {"children": {"/config/restServer/details/allow/from/any": {"default": False,
                                                                                                         "defaultAllowed": False,
                                                                                                         "deleteAllowed": True,
                                                                                                         "numChildren": 0,
                                                                                                         "type": "string"}},
                                            "default": False,
                                            "defaultAllowed": False,
                                            "deleteAllowed": False,
                                            "numChildren": 1,
                                            "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/restServer/details/allow/from"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/restServer/det ails/allow/from?level=recurse

  1. /config/restServer/details/allow/from 1. 1. Data Type 2. Request Methods 3. Related 4. Examples