Repository navigation
CP-8003: Document filtering Cases by Case Form question answers - #150
Merged
abdul-devops01 merged 1 commit intoNov 17, 2026
Merged
Conversation
|
@lokesh-k-12 is attempting to deploy a commit to the Makerble's projects Team on Vercel. A member of the Team first needs to authorize it. |
lokesh-k-12
added a commit
to lokesh-k-12/api-docs
that referenced
this pull request
Nov 12, 2026
+ Add the 'custom_field_definition_hash' query parameter to 'GET /cases'. + Add 'GET /cases/filter_fields' with the 'CaseFilterField' and 'PaginatedCaseFilterFields' schemas. + Add the matching endpoint cards to the Cases section of 'server.js'.
lokesh-k-12
force-pushed
the
CP-8003-case-filter-fields
branch
from
November 12, 2026 07:58
681c3a7 to
0cbb536
Compare
lokesh-k-12
marked this pull request as ready for review
November 12, 2026 07:59
praveen-makerble
approved these changes
Nov 13, 2026
+ Add the 'custom_field_definition_hash' query parameter to 'GET /cases'. + Add 'GET /cases/filter_fields' with the 'CaseFilterField' and 'PaginatedCaseFilterFields' schemas. + Add the matching endpoint cards to the Cases section of 'server.js'.
lokesh-k-12
force-pushed
the
CP-8003-case-filter-fields
branch
from
November 16, 2026 04:21
0cbb536 to
11674be
Compare
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.
Companion to the Rails change for CP-8003: MakerbleDev/makerble#17559 (API v2) and MakerbleDev/makerble#17560 (the Manage Cases page).
What & why
On the Manage Cases page, people can now filter Cases by their answers to Case Form questions. This PR documents the API side.
GET /cases: newcustom_field_definition_hashquery parameter (deepObject), keyed by question ID. The description lists the value for each filter format.GET /cases/filter_fields(listCaseFilterFields): the paginated list of questions Cases can be filtered by, with theCaseFilterFieldandPaginatedCaseFilterFieldsschemas and an example.server.js: the matchingendpointCardentries in the Cases section, because the docs page isn't generated fromopenapi.yaml.The
openapi.yamlchange is identical to the vendoredspec/support/api_schemas/openapi.yamlin MakerbleDev/makerble#17559, which the Rails contract specs check the endpoints against.When to merge
While the API docs are pre-launch, this can be merged once reviewed. Once they have launched publicly, hold it until MakerbleDev/makerble#17559 is live on production, because every push to
maingoes live on Vercel.🤖 Generated with Claude Code