Update pkg/api/README.md to align with current codebase#3407
Update pkg/api/README.md to align with current codebase#3407redhat-ship-help wants to merge 2 commits intoopenshift:mainfrom
Conversation
The API README was written circa 2021 (OCP 4.9 era) and documented only a handful of endpoints with Bugzilla references and outdated response examples. This update rewrites the README to: - Document all ~60+ current API endpoints organized by functional area - Add a Capabilities section explaining endpoint gating - Document CRUD endpoints for labels, symptoms, and triages - Add sections for component readiness, payloads, incidents, feature gates, chat, and MCP endpoints - Point readers to the self-describing /api endpoint for live discovery - Remove outdated example responses with stale data (Bugzilla IDs, testgrid URLs, OCP 4.9 references) - Retain the still-accurate filtering and sorting documentation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@redhat-ship-help: GitHub didn't allow me to request PR reviews from the following users: openshift/sippy-maintainers. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughRewrote Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-ship-help The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @redhat-ship-help. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Expand the MCP (Model Context Protocol) section to include: - Overview of the Streamable HTTP transport and session management - Table of currently available tools (get_releases, health_check) with descriptions and parameter info - MCPTool interface definition for contributors - Step-by-step guide for adding new MCP tools - Links to mcp-go library and MCP specification
|
@redhat-ship-help Do you respond to comments? This is likely to just get out of date again. |
|
/ok-to-test |
|
Scheduling required tests: |
|
@redhat-ship-help: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
The API README (
pkg/api/README.md) was written circa 2021 (OCP 4.9 era) and documented only a handful of endpoints with Bugzilla references and outdated response examples. The codebase has since grown to ~60+ API endpoints across many functional areas.Changes
This update rewrites the README to:
local_db,component_readiness,chat, etc.)/apiendpoint for live discovery of available endpointsThe endpoint list was generated by reviewing the route registration in
pkg/sippyserver/server.go./cc @openshift/sippy-maintainers
Summary by CodeRabbit