Get registration information

get

/apiplatform/gatewaynode/v1/registration

Returns the node's ID, the ID of the logical gateway the node is registered to, and the URL of the management tier instance the node is associated with.

Users requesting this resource must be assigned the Gateway Manager role for the logical gateway this node is registered to.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

The registration information.
Body ()
Gateway registration details.
Root Schema : RegistrationDetails
Gateway registration details.
Match All
Show Source
Nested Schema : NodeId
Type: object
Show Source
Nested Schema : GatewayId
Type: object
Show Source
Nested Schema : ManagementTierUrls
Type: object
Show Source

401 Response

Authentication required.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

403 Response

Forbidden.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

500 Response

Unexpected error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

503 Response

Temporarily unavailable error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source
Back to Top

Examples

The following example shows how to retrieve gateway node registration details by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -i -X GET 
-u apicsadmin:password
https://example.com/apiplatform/gatewaynode/v1/registration

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Date: Fri, 30 Dec 2016 17:42:40 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format, including the URLs of the Oracle API Platform Cloud Service - Classic instances this node is registered to.

{
  "mode": "Development",
  "managementUrls": {
    "analyticsManagementUrl": "https://example.com:7201",
    "gatewayManagementUrl": "https://example.com:7201",
    "registryManagementUrl": "https://example.com:7201"
  },
  "tenantId": "SampleTenant",
  "nodeId": "100",
  "tenantInstanceId": "SampleInstance",
  "gatewayId": "100"
}
Back to Top