List All Node Chains
get
/nodeChains/{nodeManagerId}
Returns a list of all the node chains in a node manager.
Request
Path Parameters
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
The node chains were listed successfully.
Root Schema : schema
Type:
Show Source
array-
Array of:
object NodeChainResponse
Response schema for getting list of node chains associated with the queried node manager
Nested Schema : NodeChainResponse
Type:
objectResponse schema for getting list of node chains associated with the queried node manager
Show Source
-
nodeChains(required): array
nodeChains
Details of the node chains
-
nodeManagers(required): array
nodeManagers
All the node managers associated with nodes that are part of node chain
-
queryNmId(required): string
Identifier of the queried node manager
Nested Schema : nodeChains
Type:
arrayDetails of the node chains
Show Source
-
Array of:
object NodeChainResponseChainItem
Schema defining a node chain's information which is part of list node chains response
Nested Schema : nodeManagers
Type:
arrayAll the node managers associated with nodes that are part of node chain
Show Source
-
Array of:
object NodeChainResponseNMItem
Schema defining a node manager's information associated with a node chain which is part of list node chains response
Nested Schema : NodeChainResponseChainItem
Type:
objectSchema defining a node chain's information which is part of list node chains response
Show Source
-
nmId(required): string
Identifier of the node manager
-
nodes(required): array
nodes
Details for nodes that are part of the node chain
Nested Schema : nodes
Type:
arrayDetails for nodes that are part of the node chain
Show Source
-
Array of:
object NodeChainResponseNodeItem
Schema defining a node's information associated with a node chain which is part of list node chains response
Nested Schema : NodeChainResponseNodeItem
Type:
objectSchema defining a node's information associated with a node chain which is part of list node chains response
Show Source
-
displayName(required): string
Display name of the node
-
id(required): string
Identifier of the node
-
nodeType(required):
nodeType
-
routes(required): array
routes
Details for outgoing routes from the node
Nested Schema : nodeType
Match All
Show Source
-
object
NodeChainResponseNodeTypeItem
Schema defining node type information for a node associated with a node chain which is part of list node chains response
-
Node type details of the node
Nested Schema : routes
Type:
arrayDetails for outgoing routes from the node
Show Source
-
Array of:
object NodeChainResponseRouteAttrs
Schema defining a route's information associated with a node chain which is part of list node chains response
Nested Schema : NodeChainResponseNodeTypeItem
Type:
objectSchema defining node type information for a node associated with a node chain which is part of list node chains response
Show Source
-
context(required): string
Context of the node
-
marketSegment(required): string
Market segment of the node
-
name(required): string
Name of the node
-
type(required): string
Type of the node, e.g. - EI, DC etc
Nested Schema : NodeChainResponseRouteAttrs
Type:
objectSchema defining a route's information associated with a node chain which is part of list node chains response
Show Source
-
destNmId(required): string
Identifier destination node's node manager
-
destNodeId(required): string
Identifier of destination node
-
isRemote(required): boolean
Flag indicating if route is remote
-
routingFn(required): string
Routing function used for the channel
Nested Schema : NodeChainResponseNMItem
Type:
objectSchema defining a node manager's information associated with a node chain which is part of list node chains response
Show Source
-
nmHost(required): string
Hostname at which node manager is hosted
-
nmId(required): string
Identifier of the node manager
-
nmName(required): string
Name of the node manager
-
nmPort(required): integer
(int32)
Port at which node manager is hosted
-
nodesCount(required): integer
(int32)
Number of nodes associated with the node manager
400 Response
The server cannot process the request due to a client error.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
401 Response
The client does not have the correct privileges.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
403 Response
The request was not authorized.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
404 Response
The requested resource cannot be found.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
405 Response
This method is not allowed.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
409 Response
The request could not be processed due to the conflict with the existing state of the resource.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
500 Response
The system has encountered an internal server error.
Root Schema : Error
Type:
objectUsed when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@type: string
Defines the sub-class entity when sub-classing.
-
cause: string
Cause of the exception
-
code(required): string
Application relevant details defined in the API or a common list.
-
message: string
Details and corrective actions related to the error which is shown to a client user.
-
reason(required): string
The reason for the error, shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error Code describiing the error.
Examples
The following example shows how to get a list of all the node chains by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET 'http://host:port/nodeChains/{NMGR-31eoen-otm-lne65v6v}'
Example of the Response Body
If successful, the response code 200 is returned with the following response body.
{
"nodeChains": [
{
"nmId": "NMGR-31eoen-otm-lne65v6v",
"nodes": [
{
"displayName": "Node-8",
"id": "31eoen-otm-lne7oftw",
"nodeType": {
"context": "CartridgeKit#OI#FFOINode",
"marketSegment": "CartridgeKit",
"name": "ASCII Distribution Cartridge",
"type": "DC"
},
"routes": []
}
]
},
{
"nmId": "NMGR-31eoen-otm-lne65v6v",
"nodes": [
{
"displayName": "CC_a",
"id": "31eoen-otm-lne9hugk",
"nodeType": {
"context": "CartridgeKit#EI#FlatFileEINode",
"marketSegment": "CartridgeKit",
"name": "ASCII Collection Cartridge",
"type": "CC"
},
"routes": []
}
]
},
{
"nmId": "NMGR-31eoen-otm-lne65v6v",
"nodes": [
{
"displayName": "CC1",
"id": "31eoen-otm-lnec47yr",
"nodeType": {
"context": "CartridgeKit#EI#FlatFileEINode",
"marketSegment": "CartridgeKit",
"name": "ASCII Collection Cartridge",
"type": "CC"
},
"routes": []
}
]
},
{
"nmId": "NMGR-31eoen-otm-lne65v6v",
"nodes": [
{
"displayName": "DC1",
"id": "31eoen-otm-lnejuqgh",
"nodeType": {
"context": "CartridgeKit#OI#FFOINode",
"marketSegment": "CartridgeKit",
"name": "ASCII Distribution Cartridge",
"type": "DC"
},
"routes": []
}
]
}
],
"nodeManagers": [
{
"nmHost": "node-mgr-app",
"nmId": "NMGR-31eoen-otm-lne65v6v",
"nmName": "nm1",
"nmPort": 32170,
"nodesCount": 4
}
],
"queryNmId": "NMGR-31eoen-otm-lne65v6v"
}