AddNodeResource

AddNodeResource REST endpoint to add and remove nodes from the access control membership. Copyright 2017 WANdisco.

The following resources are part of this group:

/addnode/removenodes

Mount Point: /addnode/removenodes

PUT

Remove the given nodes from the memberships associated with the acp and audit state machines.

Request Body

element: nodes
media types: */*
application/xml

ID of the node to be removed

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: /addnode/{nodeId}

POST

Add the given node to the acp state machine membership and audit state machine 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 and optionally audit 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}/acp

Mount Point: /addnode/{nodeId}/acp

DELETE

/** Remove the given node from the membership associated with the acp state machine.

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: /addnode/{nodeId}/added

GET

Check if specified node is in both the ACP DSM and audit 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 both the ACP DSM and Audit DSM

Status Codes

code description
200 OK
400 Bad request - see returned ExceptionDTO
401 Authentication required.
403 Authorization required - access forbidden

/addnode/{nodeId}/audit

Mount Point: /addnode/{nodeId}/audit

DELETE

Remove the given node from the membership associated with the audit state machine.

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