Skip to main content
GET
/
gateway
/
mapping-version
/
{gateway_topic}
/
{version_number}
Get a specific mapping version
curl --request GET \
  --url https://api.quiva.ai/gateway/mapping-version/{gateway_topic}/{version_number} \
  --header 'Authorization: Bearer <token>'
{
  "body": {
    "subject": "ms.gateway.abcdef123456.mapping-version.get.api.users.1",
    "resource_type": "function",
    "resource": "user-service.getUsers",
    "resource_version": "latest",
    "active": true,
    "description": "Gets all users with pagination",
    "version": 1,
    "modified": 1713531894,
    "type": "created"
  },
  "metadata": {
    "subject": "ms.gateway.abcdef123456.mapping-version.get.api.users.1"
  }
}

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

version_number
integer
required

Sequential version number of the mapping version

Query Parameters

method
enum<string>
required

HTTP method for the mapping in uppercase

Available options:
GET,
POST,
PUT,
DELETE,
PATCH,
OPTIONS,
HEAD
path
string
required

URL path for the mapping including the leading slash

Response

Mapping version details retrieved successfully

body
object
metadata
object