Repository navigation
CP-8547 Document GET /distance_travelled - #196
Merged
Merged
Conversation
Distance travelled on Choice trackers (MakerbleDev/makerble#17982): the openapi.yaml path and schemas, and the endpoint card. CP-8547 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xpqrMhqdcgT4e1GHkq
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mattkepple
marked this pull request as ready for review
November 20, 2026 10:21
Contributor
Author
|
Merged into Generated by Claude Code |
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.
Companion to the Rails PR MakerbleDev/makerble#17982 · Jira: https://makerble.atlassian.net/browse/CP-8547
Documents
GET /api/v2/distance_travelled: for each Choice tracker with a success direction, how many Contacts improved, stayed the same or worsened between their first and latest answer (the Progress Board's Success Direction Summary).openapi.yaml: the/distance_travelledpath (tag Projects,operationId: getDistanceTravelled,tokenAuth, sharedPage/PerPageparameters andUnauthorized/UnprocessableEntityresponses), and the new schemasPaginatedDistanceTravelled,DistanceTravelledTrackerandDistanceTravelledShare. There's noNotFoundresponse, because a Project you can't view is left out rather than refused.LastSyncDatetimeisn't offered, as the figures are totals (same as/project_results).server.js: the matchingendpointCard, after/project_results.git diff --stattouches onlyopenapi.yamlandserver.js.npm run checkpasses, and the YAML parses.Merge timing: this goes live on Vercel the moment it reaches
main. While the docs are pre-launch it can be merged once reviewed. If they have launched publicly, hold it until #17982 is live in production. Matt to confirm which applies.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