Skip to content

CP-8870: Document the Explore page endpoints (Report Templates, Dropdowns, …) - #85

Closed
mattkepple wants to merge 5 commits into
mainfrom
CP-8870-explore-report-templates
Closed

mattkepple wants to merge 5 commits into
mainfrom
CP-8870-explore-report-templates

Conversation

@mattkepple

@mattkepple mattkepple commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Companion to the CP-8870 Rails PRs (Jira CP-8870). I add each Explore page's endpoints here as its Rails PR is opened.

Section Endpoints Rails PR
Explore Report Templates GET /explore/report_templates (listExploreReportTemplates), GET /explore/report_templates/{id} (getExploreReportTemplate) MakerbleDev/makerble#17011
Explore Dropdowns GET /explore/dropdowns (listExploreDropdowns), GET /explore/dropdowns/{id} (getExploreDropdown) MakerbleDev/makerble#17012
Impact Frameworks, Ideas, Metrics to follow to follow
  • openapi.yaml:
    • Each endpoint is under the Explore tag, with token auth, the shared Page / PerPage / LastSyncDatetime parameters, the Unauthorized / NotFound responses and examples, plus its list and preview schemas.
    • ExploreFacetGroup.key is no longer limited to the Explore Surveys filter keys.
    • These match the Rails copy in spec/support/api_schemas/openapi.yaml exactly; the contract specs there check it.
  • server.js: a section and nav link per page, with its endpoint cards.

Release timing: the API docs are pre-launch. Under the current rule, this PR can be merged once reviewed, without waiting for the Rails changes to reach production. Once the docs launch publicly, hold the merge until the Rails PRs are live.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae

Add GET /explore/report_templates and /{id} to openapi.yaml and the docs
page, and let the shared facet group schema hold any Explore page's
filter keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs Ready Ready Preview Oct 26, 2026 10:00am UTC

Add GET /explore/dropdowns and /{id} to openapi.yaml and the docs page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae
@mattkepple mattkepple changed the title CP-8870: Document Explore Report Templates CP-8870: Document the Explore page endpoints (Report Templates, Dropdowns, …) Oct 26, 2026
Add GET /explore/impact_frameworks and /{id} to openapi.yaml and the docs
page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae
Add GET /explore/ideas and /{id} to openapi.yaml and the docs page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae
Add GET /explore/metrics and /{kind}/{id} to openapi.yaml and the docs
page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JuVKwFwaXyvHMwANXhuKae

Copy link
Copy Markdown
Contributor Author

Brought into main by #200 (CP-9078): all five Explore pages (Report Templates, Dropdowns, Impact Frameworks, Ideas, Metrics), with paths and schemas from the Rails repo's contract-tested copy of the spec and this draft's sections. The nav links use the method class with no inline style=. Closing this draft.


Generated by Claude Code

@mattkepple mattkepple closed this Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 145b53a3 Deployed Oct 26, 2026 by vercel[bot]
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.

2 participants