Repository navigation
CP-9078: Bring in the backlog of draft docs PRs whose Rails change is merged - #200
Merged
Merged
Conversation
Rename the Survey filter to story_category_ids and describe the accepted ID list formats, the story_category_id alias and the access filtering. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017EknMb1u3jr8AEMujZxjZu
Add the OAuth 2.0 authorisation code flow for connected apps: an oauth2 security scheme (offered alongside tokenAuth on the operations connected apps can call), a "Connecting an app with OAuth 2.0" section, and POST /oauth/token and /oauth/revoke, which live at the site root rather than /api/v2. Add the same section and endpoint cards to the hand-written docs page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AELZRxYpR5ytpy4ZGTu8Td
The Rails API's health check now reports which build is running so testers can tell when a deploy is live. Add the endpoint to openapi.yaml and a card to the hand-written docs page. CP-8752 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J2XSr3SPzDwwagQz7oF86h
…s (CP-8728) Applied by hand onto current main because the draft was stacked on the already-merged CP-8585-webhooks branch. Drops the stray openapi.yaml.orig the draft had committed.
…it (CP-8843) Get, create and edit were already documented on main, so only the two project endpoints, EventFormatProject and EventFormatAdminOnly are added, taken from the Rails repo's contract-tested copy of the spec.
…bulk action progress (CP-8956)
… (CP-8956) GET /relationship_categories and RelationshipCategory were already on main, so only the two bulk endpoints and their cards are added.
…rtal links and Explore pages (CP-8843, CP-8870) Paths and schemas are taken from the Rails repo's contract-tested copy of the spec, which also has the Explore Ideas, Impact Frameworks and Metrics pages added to #85 after it was opened. The nav links use the method classes with no inline style.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 23, 2026
This was referenced Nov 23, 2026
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.
What & Why
Part of CP-9078. The Rails repo's contract specs use a copy of this repo's
openapi.yaml. That copy can't be refreshed frommainbecausemainwas missing endpoints that were documented only in open draft PRs here. Every one of those drafts has its Rails change merged intodevelop. Most of them now conflict withmain, and some were stacked on branches that have since merged.This PR brings them all in at once. Every operation and schema in the Rails repo's contract-tested copy is now in
openapi.yamltoo.story_category_idsformatsopenapi.yaml.origit had committed/healthstyle=hide_unanswered_questionsProjectStoryCategory.allow_respondent_finish_laterwas already documentedEventFormatProjectandEventFormatAdminOnly. Get, create and edit were already onmaincontact_criteriaadd_colleaguepermissionsExploreFacetGroup.keyis no longer limited to the Explore Surveys keysGET /relationship_categorieswas already onmainNot included:
mainalready serves the spec from the rootopenapi.yaml, so this is obsolete.Change from #16: the draft marked 26 operations with
oauth2and said those were the ones a connected app can call. That list has since grown to the 74 an Organisation API key can call (documented in #194). A partial set of marks would read as the whole list, so the marks are dropped and both the spec intro and the docs page now say a connected app can call the same endpoints as an Organisation API key. Theoauth2security scheme is kept.Checks
npm run checkpasses andnode --check server.jspasses.openapi.yamlparses with js-yaml (duplicate keys rejected). 443 operations, uniqueoperationIds, every$refresolves.openapi.yamland endpoint content inserver.jschange. No<style>,<head>,vercel.json,SPEC_PATHorassets/changes.Merge timing: the API docs are pre-launch, and Matt asked for this to be merged once reviewed. Every Rails PR documented here is merged into
develop.Auto-fix may be enabled on this PR — replies to review comments could come from Claude rather than the named author.
Generated by Claude Code