Repository navigation
docs(api): sync the v2 spec from trunk2 and list the Flaky Tests endpoints - #498
Merged
Merged
Conversation
Re-copies openapi-v2.json from trunk2 main: 14 operations are new (monitors, muting, labels, flaky marks, impacted targets read) and the two test investigations endpoints are gone. Adds the 30 public operations that had no sidebar entry, and the permissions the API now enforces to the authentication page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Drops the Dynamic CI, CI and impacted-targets entries and their permission rows from this PR, so it adds only the Flaky Tests operations. The synced spec stays whole: the new pages render from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Docs PR opened: #499 Added a changelog entry on new Flaky Tests v2 API endpoints for monitors, labels and flaky marks, plus new key permissions. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A one-off check of the API reference against trunk2
mainfound the Flaky Tests endpoints behind. This PR brings them up to date. The other products' gaps are left for a separate PR (see the end).The spec (
openapi-v2.json)Re-copied from trunk2
main(ts/apps/public-api/openapi-v2.json). The file is copied whole, since the new pages render from it, so it also carries every other product's changes since the last sync:GET /v2/pull-requests/{id}/impacted-targets.GET /v2/tests/{testId}/investigationsand…/investigations/{investigationId}. Neither was in the sidebar.The sidebar (
docs.json)Adds the 18 Flaky Tests operations that had no sidebar entry, so no page:
The three
**Internal.**CLI endpoints stay hidden, as before.Permissions (
api/authentication.mdx)#495 changes the Upload test results row of that table. This PR only adds rows next to it, so whichever merges second may need a small rebase.
Not in this PR
POST /v2/pull-requests/{id}/rerun-failed-checksis covered by docs(merge-queue): re-run failed checks #468.Checks
mint broken-linksfinds the same 11 broken links asmain, none in these files. A deliberately misspelled/api/...link was reported, so the generated endpoint pages are checked too.mint validatereports one error thatmainalready has (merge-queue/optimizations/parallel-queues/api.mdx,{{github.run_id}}).scripts/sync-changelog.py --checkandscripts/check-redirects.pypass.I haven't looked at the preview deployment yet. The sidebar renders client-side, so check the new groups there before merging.
🤖 Generated with Claude Code