Get the Routing Objects from Source Node

get

/nodes/{srcNodeId}/route

Returns the routing objects from source node.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The routing objects have been successfully fetched from the source node.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : RouteResponse
Type: object
Response schema to get a route's information.
Show Source
Nested Schema : routingAttrs
Match All
Show Source
  • RoutingAttributes
    Schema defining routing attributes for a route.
  • Attributes against which routing fields are compared using various operations.
Nested Schema : routingFunction
Match All
Show Source
  • Allowed Values: [ "DIRECTED", "MODULUS", "MULTICAST", "ROUND_ROBIN" ]
  • Routing function used for the channel.
    Example: DIRECTED
Nested Schema : RoutingAttributes
Type: object
Schema defining routing attributes for a route.
Show Source
Nested Schema : operand1
Type: array
Values against which operator acts on the routing field.
Show Source
Nested Schema : operand2
Type: array
Values against which operator acts on the routing field, two operands are required when an operator is used which requires 3 variables. e.g. - IN_BETWEEN operator
Show Source
Nested Schema : operator
Match All
Show Source
  • Allowed Values: [ "EQUALS", "GREATER_THAN", "IN_BETWEEN", "LESS_THAN", "LIST_EQUALS", "LIST_NOT_EQUALS", "NOT_EQUALS", "NOT_SUBSET_OF", "SUBSET_OF" ]
  • Expression representing action to be performed on routing. field
    Example: EQUALS

400 Response

The request cannot be processed 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

The 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 cannot be processed due to a conflict in 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 fetch the routing objects from source node 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 /nodes/31eoef-otm-lna51qht/route'

Example of the Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "destinationNodeID": "31eoef-otm-lna53s09",
    "routingAttrs": {
      "operand1": [
        ""
      ],
      "operand2": [
        ""
      ]
    },
    "routingField": "",
    "routingFunction": "MULTICAST",
    "sourceNodeID": "31eoef-otm-lna51qht"
  }
Back to Top