AddNodeResource
AddNodeResource REST endpoint to add and remove nodes from the access control membership Copyright 2014 WANdisco.
The following resources are part of this group:
/addnode/removenodes
Mount Point: /api/addnode/removenodes
PUT
Remove the given nodes from the acp membership
Request Body
element: | nodes |
media types: | */* application/xml |
(no documentation provided)
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
404 | Not found - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
Response Headers
name | description |
---|---|
Content Location | Path to monitoring Task |
/addnode/{nodeId}
Mount Point: /api/addnode/{nodeId}
POST
Add the given node to the acp membership
Parameters
name | description | type | default |
---|---|---|---|
nodeId | ID of the node to be added | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
Response Headers
name | description |
---|---|
Content Location | Path to monitoring Task |
DELETE
Remove the given node from the acp membership
Parameters
name | description | type | default |
---|---|---|---|
nodeId | ID of the node to be removed | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
404 | Not found - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
Response Headers
name | description |
---|---|
Content Location | Path to monitoring Task |
/addnode/{nodeId}/added
Mount Point: /api/addnode/{nodeId}/added
GET
Check if specified node is in ACP DSM membership
Parameters
name | description | type | default |
---|---|---|---|
nodeId | ID of the node being queried | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
"true" if node is a member of the ACP DSM
Status Codes
code | description |
---|---|
200 | OK |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |