Get Default Configuration of a Node Manager

get

/v1/management/nodeManagers/{nmId}/config/default

Retrieves the default configuration for a specific Node Manager.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The default configuration was retrieved successfully.
Body ()
Root Schema : DefaultConfigResponse
Type: object
The response containing default management configuration maps.
Show Source
Nested Schema : config
Type: object
Additional Properties Allowed
Show Source
Configuration map: section -> key/value map
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source

400 Response

The server could not 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 is not authorized to perform this request.
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

Access to the requested resource is forbidden.
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

The specified Node Manager could not 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

The request method is not allowed for this endpoint.
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

A conflict occurred with the current 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 server encountered an internal error while processing the request.
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 get the default configuration of a Node Manager by ID by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET 'http://hostname:port/version/management/nodeManagers/NMGR-31eok5-16it-miq0f0ni/config/default'

Example of the Response Body

If successful, the response code 200 is returned with the following response body.

{
  "config": {     
    "fileExplorer": {       
      "defaultPath": "/home/ocomcuser"
    }
  } 
}
Back to Top