Catalog Resources

Updates a resource.

patch/v1/integration-instances/{integrationInstanceId}/resources/{resourceId}

Request

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

Path parameters

integrationInstanceId, string required
Example:3f51fa25-310a-421d-bd1a-007f859021a3

The id of the integration instance.

resourceId, string required
Example:AflTNLY0tTQhv2my

The id of the resource.

Request body

UpdateCatalogResource required
archived, boolean

Whether or not to archive the resource. When a resource is archived, all catalog service mappings will be removed.

Response

A response containing a single resource object.

CatalogResource required

Information about a catalog resource.

id, string base64url required

The resource ID.

name, string nullable required

The name of the resource. Will be null when the resource has not yet been hydrated by the integration.

integration, IntegrationRef required

Short-hand descriptor of an integration installed within the catalog.

type, string required

The resource type. Available resource types are compiled from the integrations installed within the catalog.

config, CatalogResourceConfig required

JSON object representing the properties used to identify the resource in the third-party system. The schema depends on the resource type and is dynamically registered at runtime.

integration_data, object nullable required

JSON object containing schemaless integration data of the resource. This field is always populated by the system backing the integration. When null, the resource has been manually initialized via API but has yet to be hydrated by the integration.

archived, boolean required

Whether or not the resource has been archived.

service_associations, number required

The number of catalog services this resource is mapped to.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "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