Skip to content

Conversation

@kbatuigas
Copy link
Contributor

We have content in docs and cloud-docs that we are not migrating to api-docs. These are usage guides that were written to fit within the main Redpanda docs reader journey, and use Antora/AsciiDoc tools such as conditionals, single sourcing, admonitions, etc that aren't supported or don't translate 1:1 within the API reference docs and the Bump platform:

  • Cloud > Use the Control Plane API (BYOC, Dedicated, and Serverless-specific docs)
  • Cloud > Use the Data Plane API - keep in cloud-docs to maintain consistency for both APIs
  • Use Redpanda with HTTP Proxy (both Cloud and Self-managed)
  • Use the Schema Registry API (both Cloud and Self-managed)
  • we don't currently have a usage guide for Admin API

There are cross references embedded in the Cloud API specs (primarily tag, endpoint, and property descriptions), as well as new topics (such as the Data Plane quickstart) that link back out to the relevant RP Cloud docs, but we have not done the same for the other APIs.

This pull request enhances API documentation by updating descriptions and adding external documentation links for the HTTP Proxy and Schema Registry APIs, and by updating a reference in the Serverless Clusters API documentation. These changes improve clarity and provide direct access to relevant guides for users.

Note: We can add more comprehensive descriptions and links out in various places in the different API specs in the future. We should map out the reader journeys inclusive of the new API docs and API Explorer to decide the best way to present the relevant docs to our readers when and where they need them most. This PR just provides a foundation that ensures we have at least some linking across the main docs and all API docs.

API Documentation Improvements:

  • Added an overlay file to the HTTP Proxy API (http-proxy/overlays/add-external-docs.yaml) that provides an enhanced description and includes links to both Redpanda Cloud and Self-Managed HTTP Proxy API documentation.
  • Added an overlay file to the Schema Registry API (schema-registry/overlays/add-external-docs.yaml) that provides an improved description and links to Redpanda Cloud and Self-Managed Schema Registry API documentation.

Reference Update:

  • Updated the description for creating a Serverless Cluster in cloud-controlplane/cloud-controlplane.yaml to point to the correct Serverless Control Plane API documentation link.

@kbatuigas kbatuigas requested a review from a team as a code owner August 15, 2025 21:23
@coderabbitai
Copy link

coderabbitai bot commented Aug 15, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

This PR updates API documentation metadata and descriptions:

  • cloud-controlplane/cloud-controlplane.yaml: Updates the description for POST /v1/serverless/clusters to reference Serverless Control Plane API docs with a new URL. No schema or operation changes.
  • http-proxy/overlays/add-external-docs.yaml: Adds an overlay that replaces $.info.description to include an overview and external links for Cloud and Self-Managed HTTP Proxy docs.
  • schema-registry/overlays/add-external-docs.yaml: Adds an overlay that replaces $.info.description to include an overview and external links for Cloud and Self-Managed Schema Registry docs.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Assessment against linked issues

Objective Addressed Explanation
Evaluate migrating remaining API content to api-docs as x-topics (DOC-1570) PR adds links/overlays but does not perform or document an evaluation or migration to x-topics.
Maintain sequence-dependent workflows clarity if using overlays (DOC-1570) Only info.description fields were updated; impact on workflow sequencing is not demonstrated.
Update navigation/links to new Bump pages in docs nav (DOC-1570) No nav or Bump page linking changes included.
Plan/implement redirects for moved content (DOC-1570) No redirects or related configs provided.

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Update endpoint description to Serverless Control Plane docs link (cloud-controlplane/cloud-controlplane.yaml) The linked issue requests an evaluation/migration plan; changing a specific endpoint description link is implementation detail not specified.
Add overlay injecting external doc links into HTTP Proxy API info.description (http-proxy/overlays/add-external-docs.yaml) Adding doc links via overlay is not part of the evaluation task and no objective mentions modifying info.description.
Add overlay injecting external doc links into Schema Registry API info.description (schema-registry/overlays/add-external-docs.yaml) Similar to above; not tied to any explicit objective in the issue, which focuses on evaluation and migration strategy.
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch DOC-1570-Evaluate-whether-remaining-API-content-should-be-moved-to-api-docs

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

github-actions bot commented Aug 15, 2025

ℹ️ API content change detected:

No structural change, nothing to display.

Preview documentation

Powered by Bump.sh

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (5)
http-proxy/overlays/add-external-docs.yaml (2)

11-17: Fix YAML lint: trailing whitespace and missing final newline

There’s a trailing space after “See also:” (Line 14) and no newline at end of file (Line 17). These will fail yamllint in CI.

Apply this diff:

       description: |
         HTTP Proxy is an HTTP server that exposes operations you can perform directly on a Redpanda cluster. Use the Redpanda HTTP Proxy API to perform a subset of actions that are also available through the Kafka API, but using simpler REST operations.

-        See also: 
+        See also:

         - [Use Redpanda Cloud with the HTTP Proxy API](https://docs.redpanda.com/redpanda-cloud/develop/http-proxy/)
         - [Use Redpanda Self-Managed with the HTTP Proxy API](https://docs.redpanda.com/current/develop/http-proxy/)
+

11-17: Optionally add API reference link for symmetry with other specs

To match the pattern used elsewhere (e.g., Control Plane spec), consider adding the API reference link here too.

         See also:

         - [Use Redpanda Cloud with the HTTP Proxy API](https://docs.redpanda.com/redpanda-cloud/develop/http-proxy/)
         - [Use Redpanda Self-Managed with the HTTP Proxy API](https://docs.redpanda.com/current/develop/http-proxy/)
+        - [HTTP Proxy API reference](https://docs.redpanda.com/api/doc/http-proxy)
schema-registry/overlays/add-external-docs.yaml (2)

11-17: Fix YAML lint: trailing whitespace and missing final newline

There’s a trailing space after “See also:” (Line 14) and no newline at end of file (Line 17). These violate yamllint rules.

Apply this diff:

       description: |
         Manage schemas within a Redpanda cluster.

-        See also: 
+        See also:

         - [Use Redpanda Cloud with the Schema Registry API](https://docs.redpanda.com/redpanda-cloud/manage/schema-reg/schema-reg-api/)
         - [Use Redpanda Self-Managed with the Schema Registry API](https://docs.redpanda.com/current/manage/schema-reg/schema-reg-api/)
+

11-17: Optionally add API reference link for consistency

Consider adding the Schema Registry API reference link as an additional bullet to help users jump directly to the reference.

         See also:

         - [Use Redpanda Cloud with the Schema Registry API](https://docs.redpanda.com/redpanda-cloud/manage/schema-reg/schema-reg-api/)
         - [Use Redpanda Self-Managed with the Schema Registry API](https://docs.redpanda.com/current/manage/schema-reg/schema-reg-api/)
+        - [Schema Registry API reference](https://docs.redpanda.com/api/doc/schema-registry)
cloud-controlplane/cloud-controlplane.yaml (1)

4887-4887: Optional: Align the delete endpoint description to the Serverless docs

The delete endpoint still references the general Control Plane API docs. For consistency with the create endpoint (and the “Serverless Clusters” tag), consider pointing the delete endpoint to the Serverless-specific page as well.

Proposed description tweak:

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 17fde8e and 6b0030c.

📒 Files selected for processing (3)
  • cloud-controlplane/cloud-controlplane.yaml (1 hunks)
  • http-proxy/overlays/add-external-docs.yaml (1 hunks)
  • schema-registry/overlays/add-external-docs.yaml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.37.1)
http-proxy/overlays/add-external-docs.yaml

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: no new line character at the end of file

(new-line-at-end-of-file)

schema-registry/overlays/add-external-docs.yaml

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: no new line character at the end of file

(new-line-at-end-of-file)

🔇 Additional comments (3)
http-proxy/overlays/add-external-docs.yaml (1)

3-11: Overlay structure and target path look correct

The overlay version, actions list, and $.info target with update.description are aligned with Bump overlay semantics. No structural concerns.

schema-registry/overlays/add-external-docs.yaml (1)

3-11: Overlay structure and target path look correct

Single update action on $.info.description is appropriate, and the literal block content will render Markdown links as intended.

cloud-controlplane/cloud-controlplane.yaml (1)

4841-4841: Serverless create description link looks correct

The updated description points to the Serverless Control Plane API docs and aligns with the “Serverless Clusters” tag description below. No functional changes; wording and link LGTM.

If you want to double-check link validity, confirm that this URL resolves and is the intended canonical page:

Copy link
Contributor

@micheleRP micheleRP left a comment

Choose a reason for hiding this comment

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

lgtm

@kbatuigas kbatuigas merged commit c250d8b into main Aug 15, 2025
6 checks passed
@kbatuigas kbatuigas deleted the DOC-1570-Evaluate-whether-remaining-API-content-should-be-moved-to-api-docs branch August 15, 2025 23:22
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