From e502f20e03b893e57a907f19775f14ca30d395f6 Mon Sep 17 00:00:00 2001 From: Fabian Rodriguez Date: Thu, 5 Dec 2024 09:22:49 +0100 Subject: [PATCH] Update API specs links --- app/_gateway_entities/consumer.md | 2 +- ...value-from-a-response-as-an-environment-variable.md | 6 +++--- .../components/entity_example/format/konnect-api.md | 10 +++++----- app/_landing_pages/deck.yaml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/_gateway_entities/consumer.md b/app/_gateway_entities/consumer.md index a35bdbe4..02947e9e 100644 --- a/app/_gateway_entities/consumer.md +++ b/app/_gateway_entities/consumer.md @@ -76,7 +76,7 @@ api_specs: url: '/api/gateway/admin-oss/#/operations/list-consumer' insomnia_link: 'https://insomnia.rest/run/?label=Gateway%20Admin%20OSS%20API&uri=https%3A%2F%2Fraw.githubusercontent.com%2FKong%2Fdeveloper.konghq.com%2Fmain%2Fapi-specs%2FGateway-OSS%2Flatest%2Fkong-oss.yaml' - text: Konnect Control Planes Config - url: '/api/konnect/control-plane-configuration/#/operations/list-consumer' + url: '/api/konnect/control-planes-config/#/operations/list-consumer' insomnia_link: 'https://insomnia.rest/run/?label=Konnect%20Control%20Plane%20Config&uri=https%3A%2F%2Fraw.githubusercontent.com%2FKong%2Fdeveloper.konghq.com%2Fmain%2Fapi-specs%2FKonnect%2Fcontrol-planes-config%2Fcontrol-planes-config.yaml' schema: diff --git a/app/_how-tos/set-a-value-from-a-response-as-an-environment-variable.md b/app/_how-tos/set-a-value-from-a-response-as-an-environment-variable.md index f273b2d7..f4b68be6 100644 --- a/app/_how-tos/set-a-value-from-a-response-as-an-environment-variable.md +++ b/app/_how-tos/set-a-value-from-a-response-as-an-environment-variable.md @@ -19,7 +19,7 @@ prereqs: content: | This tutorial requires a collection with at least one request. - In this example, we'll use the [Konnect Identity Management API](/api/konnect/identity-management/). For this, you'll need personal access token and a system account ID. + In this example, we'll use the [Konnect Identity Management API](/api/konnect/identity/). For this, you'll need personal access token and a system account ID. icon_url: /assets/icons/menu.svg cleanup: inline: @@ -30,9 +30,9 @@ cleanup: ## 1. Configure the request -In this example, we want to generate a token for a {{site.konnect_short_name}} system account and set it as an environment variable. We first need to configure the [Create System Account Access Token](/api/konnect/identity-management/#/operations/post-system-accounts-id-access-tokens) request to generate the token. +In this example, we want to generate a token for a {{site.konnect_short_name}} system account and set it as an environment variable. We first need to configure the [Create System Account Access Token](/api/konnect/identity/#/operations/post-system-accounts-id-access-tokens) request to generate the token. -If you imported the [Konnect Identity Management API](/api/konnect/identity-management/) specification into a new collection, most of the parameters are already set. +If you imported the [Konnect Identity Management API](/api/konnect/identity/) specification into a new collection, most of the parameters are already set. 1. Click **Base Environment**, then click the **OpenAPI env global.api.konghq.com** sub environment to use its variables. 1. Click the pencil icon to update the environment if needed. For this example, you need to: diff --git a/app/_includes/components/entity_example/format/konnect-api.md b/app/_includes/components/entity_example/format/konnect-api.md index 9f86ce10..2bd8b659 100644 --- a/app/_includes/components/entity_example/format/konnect-api.md +++ b/app/_includes/components/entity_example/format/konnect-api.md @@ -1,14 +1,14 @@ {% case include.presenter.entity_type %} {% when 'consumer' %} - To create a consumer, call the Konnect [control plane config API’s /consumers endpoint](/api/konnect/control-plane-configuration/#/operations/create-consumer). + To create a consumer, call the Konnect [control plane config API’s /consumers endpoint](/api/konnect/control-planes-config/#/operations/create-consumer). {% when 'consumer_group' %} - To create a consumer group, call the Konnect [control plane config API’s /consumer_groups endpoint](/api/konnect/control-plane-configuration/#/operations/create-consumer_group). + To create a consumer group, call the Konnect [control plane config API’s /consumer_groups endpoint](/api/konnect/control-planes-config/#/operations/create-consumer_group). {% when 'route' %} - To create a route, call the Konnect [control plane config API's /routes endpoint](/api/konnect/control-plane-configuration/#/operations/create-route). + To create a route, call the Konnect [control plane config API's /routes endpoint](/api/konnect/control-planes-config/#/operations/create-route). {% when 'service' %} - To create a service, call the Konnect [control plane config API’s /services endpoint](/api/konnect/control-plane-configuration/#/operations/create-service). + To create a service, call the Konnect [control plane config API’s /services endpoint](/api/konnect/control-planes-config/#/operations/create-service). {% when 'target' %} - To create a target, call the Konnect [control plane config API’s /targets endpoint](/api/konnect/control-plane-configuration/#/operations/create-target-with-upstream). + To create a target, call the Konnect [control plane config API’s /targets endpoint](/api/konnect/control-planes-config/#/operations/create-target-with-upstream). {% when 'upstream' %} The following creates a new upstream called **{{ include.presenter.data['name'] }}**: {% when workspace %} diff --git a/app/_landing_pages/deck.yaml b/app/_landing_pages/deck.yaml index c4be4625..2cbb75e5 100644 --- a/app/_landing_pages/deck.yaml +++ b/app/_landing_pages/deck.yaml @@ -65,7 +65,7 @@ rows: - "**[Terraform](/terraform/)**: Manage infrastructure as code and automated deployments to streamline setup and configuration of Konnect and {{site.base_gateway}}" - "**[KIC](/kic/)**: Manage ingress traffic and routing rules for your services" - "**[{{site.base_gateway}} Admin API](/api/gateway/admin-ee/)**: Manage on-prem {{site.base_gateway}} entities via an API" - - "**[Control Plane Config API](/api/konnect/control-plane-configuration/)**: Manage {{site.base_gateway}} entities within Konnect control planes via an API" + - "**[Control Plane Config API](/api/konnect/control-planes-config/)**: Manage {{site.base_gateway}} entities within Konnect control planes via an API" - header: text: "What can decK do?"