Skip to content

Commit

Permalink
Update API specs links
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Dec 5, 2024
1 parent 4cab751 commit e502f20
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/_gateway_entities/consumer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions app/_includes/components/entity_example/format/konnect-api.md
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion app/_landing_pages/deck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down

0 comments on commit e502f20

Please sign in to comment.