Schemas: NotificationFilter, ListQuery, IssuesFilter and ScanRunFilter for the queries; CreateRequest (MCP card) and CreateMcpTokenRequest for the bodies.
Each summary is a one-line first doc paragraph.
undescribed_routes.txt goes from 59 to 47 paths.
Checks
cargo fmt --check and clippy with the CI flags pass.
The agent's API unit tests pass (129).
Every agent integration test binary passes against Mongo 7.
I dumped the spec and checked each operation's summary, parameters, body and tag.
Part of #1006: the next group of the OpenAPI description, covering notifications, MCP, tickets and scan runs.
## What changes
- The 12 paths (15 operations) are registered through `routes!` and described by `#[utoipa::path]`:
- **Notifications:** the list (`status`, `severity`, `repo_id`, `page`, `limit`), the unread count, read-all, read and dismiss.
- **MCP:** server cards (list, add, remove, new access token) and MCP tokens (list, mint, revoke).
- **Tickets:** `GET /api/v1/issues` (`q`, `status`, `repo_id`, `page`, `limit`).
- **Scans:** `GET /api/v1/scan-runs` (`target_id`, `page`, `limit`).
- Schemas: `NotificationFilter`, `ListQuery`, `IssuesFilter` and `ScanRunFilter` for the queries; `CreateRequest` (MCP card) and `CreateMcpTokenRequest` for the bodies.
- Each summary is a one-line first doc paragraph.
- `undescribed_routes.txt` goes from 59 to 47 paths.
## Checks
- `cargo fmt --check` and clippy with the CI flags pass.
- The agent's API unit tests pass (129).
- Every agent integration test binary passes against Mongo 7.
- I dumped the spec and checked each operation's summary, parameters, body and tag.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The 12 paths (15 operations) are described from their handlers: the CVE
notifications and their count, read and dismiss (tag "Notifications"),
the MCP server cards and MCP tokens (tag "MCP"), the tickets list
("Tickets") and the scan runs ("Scans"). Their filters and bodies are
schemas. undescribed_routes.txt drops to 47 paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang
merged commit 8ae561a01a into main2026-11-16 19:09:52 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #1006: the next group of the OpenAPI description, covering notifications, MCP, tickets and scan runs.
What changes
routes!and described by#[utoipa::path]:status,severity,repo_id,page,limit), the unread count, read-all, read and dismiss.GET /api/v1/issues(q,status,repo_id,page,limit).GET /api/v1/scan-runs(target_id,page,limit).NotificationFilter,ListQuery,IssuesFilterandScanRunFilterfor the queries;CreateRequest(MCP card) andCreateMcpTokenRequestfor the bodies.undescribed_routes.txtgoes from 59 to 47 paths.Checks
cargo fmt --checkand clippy with the CI flags pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The 12 paths (15 operations) are described from their handlers: the CVE notifications and their count, read and dismiss (tag "Notifications"), the MCP server cards and MCP tokens (tag "MCP"), the tickets list ("Tickets") and the scan runs ("Scans"). Their filters and bodies are schemas. undescribed_routes.txt drops to 47 paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9