Repository navigation
Conversation
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4897/ |
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 17, 2026 15:14
15609f6 to
2e36e2d
Compare
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 17, 2026 15:49
56dab7f to
838b888
Compare
This was referenced Nov 17, 2026
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 17, 2026 16:26
838b888 to
c883123
Compare
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 18, 2026 09:19
c883123 to
0217c6d
Compare
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 18, 2026 09:38
0217c6d to
8797fd9
Compare
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 18, 2026 10:00
8797fd9 to
71e3adf
Compare
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 18, 2026 10:18
71e3adf to
4db7d04
Compare
docs/docs-api.json is the OpenAPI document the API serves at /docs/_api/v1/openapi.json, copied in by hand so the preview can show it. A workflow can publish it later. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The copy follows #4896, where every error is now an RFC 9457 problem. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The catalog grouped it with the unpinned APIs. It now has its own section after Orchestration, listed in ApiCatalogOrder.DocumentationKeys. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The copy follows #4887, where /api-operations moved to /apis/{api}/operations. Co-Authored-By: Claude Opus 5.5 <[email protected]>
akira28
force-pushed
the
feature/docs-api-in-api-explorer
branch
from
November 18, 2026 11:55
4db7d04 to
6e7c0e2
Compare
…riptions Picks up #4942: every operation, parameter and field described, example requests with real responses, and curl samples without the retired cookie. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
API Explorer now lists the docs API itself. The docs-builder docs gain a "Documentation" section in the API catalog, holding only the "Elastic Docs API" card, and a reference at
/api/doc/docs-api/, built from the OpenAPI document that #4896 adds.Affects: API Explorer (docs-builder's own docs)
Base:
main. #4896 and #4942 are merged, anddocs/docs-api.jsonis regenerated from the API after #4942, with its examples, code samples and descriptions.Prompt summary: Add the docs API's spec to the API index of API Explorer. For now, avoid a GitHub Action and use the spec generated locally, so the preview shows it.
Why
API Explorer documents every Elastic REST API except the one behind the docs site itself. With the OpenAPI document from #4896, the docs API can have the same reference pages, so people and agents can read its endpoints, parameters and problem types where they read every other API.
What
docs/docs-api.json: the document thatGET /docs/_api/v1/openapi.jsonreturns on Publish an OpenAPI document for the docs API and answer errors as RFC 9457 problems #4896. I generated it from the test host and checked the native AOT build serves the same 11 paths.ApiCatalogOrder.DocumentationKeys(docs-api) gives it a "Documentation" section after Orchestration. Before, it fell into the untitled grid of unpinned APIs.ApiCatalogViewModelTestscovers the new section.docs/_docset.yml: gains thedocs-builder-docs-apientry. Isolated builds drop thedocs-builder-prefix, so the reference lives at/api/doc/docs-api/.operation-search,operation-get-api-operation, and so on).Verify
Open the preview at
/api/doc/docs-api/, and the catalog at/api/, where "Documentation" follows "Orchestration". Locally:The build reports no errors and renders 12 operation pages and 5 group pages.
Known limit: the checked-in copy doesn't follow changes to the API. Regenerate it from
/docs/_api/v1/openapi.jsonwhen endpoints change, until a workflow publishes the document to the same S3 bucket as the other specs.🤖 Generated with Claude Code