NodeResource

Resource for handling Nodes in GCN

The following resources are applicable:

/node/features/{id}

Mount Point: /CNPortletapp/rest/node/features/{id}

GET

Load the activated features

Parameters

name description type default
id id of the node path

Response Body

element: (custom)
media types: */*
application/xml
application/json

response containing the activated features

/node/features/activate/{id}

Mount Point: /CNPortletapp/rest/node/features/activate/{id}

POST

Activate the given list of features (features not listed will not be changed)

Parameters

name description type default
id id of the node. This can be either the localid or the globalid path

Request Body

element: request
media types: */*
application/xml
application/json

(no documentation provided)

Response Body

element: genericResponse
media types: */*
application/xml
application/json

generic response

/node/features/deactivate/{id}

Mount Point: /CNPortletapp/rest/node/features/deactivate/{id}

POST

Deactivate the given list of features (features not listed will not be changed)

Parameters

name description type default
id id of the node. This can be either the localid or the globalid path

Request Body

element: request
media types: */*
application/xml
application/json

(no documentation provided)

Response Body

element: genericResponse
media types: */*
application/xml
application/json

generic response

/node/features/set/{id}

Mount Point: /CNPortletapp/rest/node/features/set/{id}

POST

Set the given list of features. Exactly the listed features will be activated, all other will be deactivated

Parameters

name description type default
id id of the node. This can be either the localid or the globalid path

Request Body

element: request
media types: */*
application/xml
application/json

(no documentation provided)

Response Body

element: genericResponse
media types: */*
application/xml
application/json

generic response

/node/load/{id}

Mount Point: /CNPortletapp/rest/node/load/{id}

GET

Load a single node

Parameters

name description type default
id id of the node to load. This can be either the localid or a globalid path
update true when the folder is fetched for updating. Currently, nodes cannot be locked in the backend, but it is still recommended to set this parameter to true when the node shall be modified. query false

Response Body

element: nodeLoadResponse
media types: */*
application/xml
application/json

response containing the node to load