Catalog Resources

Returns a paginated collection of resources.

get/v1/resources

Request

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

Query parameters

page, CursorPageParameters
size, integer

The number of items included per page.

after, string

Cursor param specifying the page (i.e. the next page) of data returned.

before, string

Cursor param specifying the page (i.e. the previous page) of data returned.

Determines which page of the collection to retrieve.

{
  "size": 10,
  "after": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ",
  "before": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ"
}
filter, CatalogResourceFilterParameters
id, StringFieldFilterExact

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

name, StringFieldFilter

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

integration.name, StringFieldFilter

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

integration.display_name, StringFieldFilter

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

integration.instance.id, UuidFieldFilter

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

integration.instance.name, StringFieldFilter

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

integration.instance.display_name, StringFieldFilter

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

type, StringFieldFilterExact

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

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
integration_data, CatalogResourceIntegrationDataFieldFilter

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

  • filter[integration_data.control_plane.id]=760562c3-fedd-43e4-b742-fc1663fef188
  • filter[integration_data.gateway_service.name][contains]=legacy
archived, boolean

Filter by a boolean value (true/false).

service_associations, union

Filter by a numeric value.

created_at, union

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

updated_at, union

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

Filters a collection of resources.

{
  "service_associations": 21,
  "created_at": {
    "eq": "2022-03-30T07:20:50Z"
  },
  "updated_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 resources. Supported sort attributes are:

  • created_at
  • updated_at

Default sort is created_at in descending order.

Response

A paginated list response for a collection of resources.

object required
meta, CursorMeta required

Pagination metadata.

data, CatalogResource[] required

Example response

{
  "meta": {
    "page": {
      "size": 10
    }
  },
  "data": [
    {
      "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_associations": 2,
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_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