Export Node Customization

post

/actions/export

Exports the customization and configuration of a node.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Payload schema to export nodes and node managers data to a file
Show Source
Nested Schema : nodeIDsToExport
Type: array
List of identifiers of the nodes to export
Show Source
Example:
[]
Nested Schema : nodeManagersToExport
Type: array
List of node managers to export
Show Source
Example:
[]
Back to Top

Response

Supported Media Types

200 Response

The customization was exported successfully.

400 Response

The server cannot process the request due to a client error.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

401 Response

The client does not have the correct privileges.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

403 Response

The request was not authorized.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

404 Response

Requested resource cannot be found.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

405 Response

This method is not allowed.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

409 Response

The request could not be processed due to a conflict with the existing state of the resource.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

500 Response

The system has encountered an internal server error.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
Back to Top

Examples

The following example shows how to export customization by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL.

The -d option specifies the file to attach as the request body.

curl -X POST 'http://host:port/actions/export' -d @sampleExportCustomization.json

Example of Request Body

The following is an example of the contents of the sampleExportCustomization.json file sent as the request body.

{
  "exportNodeChain": true,
  "fileName": "abc.npl",
  "nodeIDsToExport": [
    "31eoen-otm-lnenf3zn"
  ],
  "nodeManagersToExport": [
    "NMGR-31eoen-otm-lne65v6v"
  ]
}

Example of Response Body

If successful, the response code 200 is displayed and a download link is generated.

Back to Top