Catalog Resource Mappings

List Resource Mappings

Changed on

Returns a paginated collection of catalog resource mappings.

get/v1/resource-mappings

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, CatalogResourceMappingFilterParameters
resource.id, StringFieldFilterExact

Filter using one of the following operators: eq, oeq, neq

resource.name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

resource.type, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

resource.config, CatalogResourceConfigFieldFilter

Filters on the resource's config field. Filters must use dot-notation to identify the property that will be used to filter the results. For example:

  • filter[config.control_plane_id]
  • filter[config.gateway_service_id][neq]=cedbd134-fc5c-4d44-9e38-ccd2a0c6e0ae
resource.integration.name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

resource.integration.display_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

resource.integration.instance.id, UuidFieldFilter

Filter using one of the following operators: eq, oeq, neq

resource.integration.instance.name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

resource.integration.instance.display_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

service.id, StringFieldFilterExact

Filter using one of the following operators: eq, oeq, neq

service.name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

service.display_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

created_at, union

Filters on the given datetime (RFC-3339) field value.

Filters a collection of resource mappings.

{
  "created_at": {
    "eq": "2022-03-30T07:20:50Z"
  }
}
sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sorts a collection of resource mappings. Supported sort attributes are:

  • created_at

Default sort is created_at in descending order.

Response

A paginated list response for a collection of catalog resource mappings.

object required
meta, PaginatedMeta required

returns the pagination information

data, CatalogResourceMapping[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "d277faad-ed4e-4c56-a0fb-acce065dee34",
      "resource": {
        "id": "4UdXnoaDYYJsH_Ir",
        "integration": {
          "name": "gateway-manager",
          "display_name": "gateway-manager",
          "instance": {
            "id": "772b9caf-ddbc-4f4f-8aa4-8dfbbe420351",
            "name": "aws-lambda-prod",
            "display_name": "AWS (prod)"
          }
        },
        "type": "gateway_svc",
        "config": {
          "control_plane_id": "ccadfb0a-56cd-4f74-955d-aec1d87157c8",
          "gateway_service_id": "94896d05-0c4d-45eb-aae3-de754885dd58"
        }
      },
      "service": {
        "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        "name": "user-svc",
        "display_name": "User Service"
      },
      "created_at": "2022-11-04T20:10:06.927Z"
    }
  ]
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status