Get gateway details

get

/apiplatform/management/v1/gateways/{gwId}

Returns details of the {gwId} gateway. The response also contains HATEOAS links to related operations.

Users requesting this resource must be assigned Plan Manager, API Manager or Gateway Manager role and must be issued the Manage Gateway or View all Details grants for the specific gateway.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Collection Format: csv
    Pass optional fields, separated by commas, in this parameter to return them in the response. See the operation's description for a list of expand values.
  • Collection Format: csv
    Pass optional fields, separated by commas, in this parameter to return them in the response. See the operation's description for a list of field values.
Back to Top

Response

Supported Media Types

200 Response

The gateway's definition.
Body ()
Root Schema : GetGatewayResponse
Match All
Show Source
Nested Schema : ResourceLinksProperties
Type: object
Show Source
Nested Schema : Gateway
Type: object

403 Response

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

500 Response

Unexpected error.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source
Back to Top

Examples

The following example shows how to retrieve details for a gateway 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/management/v1/gateways/{gwId}

{gwId} is the unique of a gateway. To retrieve available gateway Ids, see Get gateways.

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Server: Oracle-Traffic-Director/12.2.1.0.0
Date: Wed, 29 Jun 2016 16:47:09 GMT
Content-Length: 1436
Content-Type: application/json
X-oracle-dms-ecid: 7d56ba46-299a-4fc9-8083-6e09cf042601-000044ad
X-oracle-dms-rid: 0:1
Via: 1.1 otd_opc
Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0

Example of Response Body

The following example shows the contents of the response body in JSON format, including details for the gateway and HATEOAS links for related resources.

{
    "createdAt": "2017-03-07T07:08:19-0800",
    "urls": [
        "http://example.com:8001",
        "https://example.com:7002"
    ],
    "proxyUrls": [],
    "updatedBy": "apicsadmin",
    "firewall": {
        "maxUnboundedItems": "1024",
        "maxChildElementDepth": "1024",
        "maxItemValueLength": "102400",
        "maxMessageSize": "1024000"
    },
    "createdBy": "api-gateway-user",
    "name": "Production Gateway",
    "description": "Production Gateway Description",
    "links": [
        {
            "templated": "true",
            "method": "GET",
            "rel": "canonical",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100"
        },
        {
            "templated": "true",
            "method": "GET",
            "rel": "preview",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100/preview"
        },
        {
            "templated": "true",
            "method": "PUT",
            "rel": "edit",
            "href": "http://example.com.com:443/apiplatform/management/v1/gateways/100"
        },
        {
            "templated": "true",
            "method": "PUT",
            "rel": "rename",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100/identity"
        },
        {
            "templated": "true",
            "method": "GET",
            "rel": "nodes",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100/nodes"
        },
        {
            "templated": "true",
            "method": "GET",
            "rel": "deployments",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100/deployments"
        },
        {
            "templated": "true",
            "method": "GET",
            "rel": "grants",
            "href": "https://example.com:443/apiplatform/management/v1/gateways/100/grants"
        }
    ],
    "id": "100",
    "updatedAt": "2017-03-15T08:25:46-0700"
}}
Back to Top