Skip to content

Conversation

@kbatuigas
Copy link
Contributor

@kbatuigas kbatuigas commented Aug 6, 2025

  • Remove Regions table (will now be maintained in Regions x-topic) from Control Plane API spec and replace with short description.
  • Update server.url to include redpanda.com domain for Bump proxy
  • Add short description for Data Plane API spec
  • Rewrite Control Plane Quickstart so that it reflects one-click OAuth flow.

These changes will have to be backported to cloudv2.

@kbatuigas kbatuigas requested a review from a team as a code owner August 6, 2025 06:04
@github-actions
Copy link

github-actions bot commented Aug 6, 2025

ℹ️ API content change detected:

No structural change, nothing to display.

Preview documentation

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Aug 6, 2025

ℹ️ API content change detected:

No structural change, nothing to display.

Preview documentation

Powered by Bump.sh

$ref: '#/components/schemas/SchemaRegistrySpec'
throughput_tier:
description: '[Throughput tier](https://docs.redpanda.com/api/cloud-controlplane-api/#api-description) of the cluster. See also: Redpanda Cloud [Dedicated tiers](https://docs.redpanda.com/redpanda-cloud/reference/tiers/dedicated-tiers/#dedicated-usage-tiers) and [BYOC tiers](https://docs.redpanda.com/redpanda-cloud/reference/tiers/byoc-tiers/).'
description: '[Throughput tier](https://docs.redpanda.com/api/doc/cloud-controlplane/topic/topic-regions-and-usage-tiers) of the cluster. See also: Redpanda Cloud [Dedicated tiers](https://docs.redpanda.com/redpanda-cloud/reference/tiers/dedicated-tiers/#dedicated-usage-tiers) and [BYOC tiers](https://docs.redpanda.com/redpanda-cloud/reference/tiers/byoc-tiers/).'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add redirects in Netlify for these?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if bump doesn't offer an alias solution, yes.

1. Select an operation, for example **Create topic** or **List users**.
1. In the URL field, add the data plane API URL. You can now make Data Plane API requests to your target cluster.

See also: [Data Plane API Quickstart](https://docs.redpanda.com/api/doc/cloud-dataplane/topic/topic-quickstart)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we possibly use relative URLs? These technically don't live in the same spec but would something like ../../../cloud-dataplane/topic/topic-quickstart (however far back it needs to go to get to a base URL) work? Not sure when these reference would be evaluated however.

1. Click **Send Request** on the code example to the right.
The Response block should populate with an `access_token` value. Copy the string value without the quotes. To make your next request to a different endpoint in the API Explorer, add the access token in the Authentication field.
> **Warning:** API requests from this page are executed against your actual environment and data, not a sandbox.
If you successfully retrieve an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you successfully retrieve an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.
If you successfully retrieved an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.

1. Enter the `client_id` and `client_secret` values you generated using the service account.
1. For `audience`, select `cloudv2-production.redpanda.cloud`.
1. Click **Send Request** on the code example to the right.
If you successfully retrieve an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you successfully retrieve an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.
If you successfully retrieved an access token, it is valid for one hour. You can use the same token in requests to both Control Plane and Data Plane API endpoints, for as long as the token is valid.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This describes an action or scenario that hasn't necessarily been carried out yet (the following sections walks through the steps to get a token), so let's keep it to the present tense for simplicity.

1. Go to **API Servers** in the sidebar and select “\{dataplane_api_url} - Data Plane API”. Paste the URL into the `dataplane_api_url` field.
1. To create a new Redpanda topic, make a Create Topic request.
```
echo "hello" | rpk topic produce test-topic

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the echo hello?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing key-value - I'll update.

@kbatuigas kbatuigas force-pushed the clean-up-cloud-api-specs branch from 843bb3b to 91ddddf Compare August 8, 2025 18:53
@kbatuigas kbatuigas merged commit ee96cec into main Aug 8, 2025
4 checks passed
@kbatuigas kbatuigas deleted the clean-up-cloud-api-specs branch August 8, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants