-
Notifications
You must be signed in to change notification settings - Fork 2
Clean up Cloud API specs #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
ℹ️ API content change detected: No structural change, nothing to display.
|
|
ℹ️ API content change detected: No structural change, nothing to display.
|
| $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/).' |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the echo hello?
There was a problem hiding this comment.
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.
To follow our style guide and be consistent with the Cloud UI
843bb3b to
91ddddf
Compare
These changes will have to be backported to cloudv2.