Skip to main content
GET
/
gateway
/
{gateway_topic}
/
mapping
Get all mappings for a gateway
curl --request GET \
  --url https://api.quiva.ai/gateway/{gateway_topic}/mapping \
  --header 'Authorization: Bearer <token>'
{
  "body": {
    "results": [
      {
        "subject": "ms.gateway.abcdef123456.mapping.get.api.users",
        "path": "/api/users",
        "method": "GET",
        "is_public": true,
        "timeout": 30000,
        "limit": {
          "request": 5000,
          "time": 1000
        },
        "traffic_distribution": {
          "1": 100
        },
        "modified": 1713531894,
        "type": "created"
      },
      {
        "subject": "ms.gateway.abcdef123456.mapping.post.api.users",
        "path": "/api/users",
        "method": "POST",
        "is_public": true,
        "timeout": 30000,
        "limit": {
          "request": 5000,
          "time": 1000
        },
        "traffic_distribution": {},
        "modified": 1713532000,
        "type": "created"
      }
    ],
    "results_total": 2
  },
  "metadata": {
    "subject": "ms.gateway.abcdef123456.mapping.>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

gateway_topic
string
required

Unique topic identifier of the gateway

Response

List of mappings retrieved successfully

body
object
metadata
object