Repository navigation
Goals: single goal, list filters, completedAt and full responses - #103
Merged
Merged
Conversation
…completedAt, and the id, created, updated and steps every goal returns, and list the application user key 403s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
cbrinicombe13
previously approved these changes
Nov 24, 2026
…eir metric, target or start changes, and metric fields being for metric goals only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
cbrinicombe13
previously approved these changes
Nov 24, 2026
…nd accept completedAt. Co-Authored-By: Claude Opus 5.5 <[email protected]>
cbrinicombe13
approved these changes
Nov 24, 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.
Documents the goal API changes in trophyso/app
develop(up toa241158a1), in English and Spanish.Goals
GET /users/{id}/goals/{key}, in both navigations. It returns a goal with its steps, or a step.GET /users/{id}/goalstakesstatus,skipandlimit(default 100, at most 100). Each goal comes with all of its steps, whatever their own status.completedAt, which replaces thecompletedboolean. A time without an offset is in the user's time zone, a time after now is read as now, andnulluncompletes the goal.keycan't change, andparentcan't move it to another goal.metric,targetorstartchecks it against its target again. Other changes leave a completed metric goal completed, even if its total has since fallen. Only metric goals takemetric,targetorstart.goalshas, by key, the metric goals and steps the event counted towards, including any it completed. A new excerpt snippet shows it on the goals page.id,parent(the key of the goal it's a step of, ornull),created,updated,steps,doneandtotal.stepsis empty for a goal without steps and for a step. A metric goal's response still addsmetric,target,startandcurrent.id.completedAtin all eight languages, and the response snippet shows the new fields.API reference
openapi/application.jsonis regenerated from app'sfern/openapi/application.yml. Besides the goal changes, it lists the403an application user's key gets for another user on every operation that checks it.npm run checkpasses.Deployment
developare deployed to production. Until then, the docs describecompletedAt, the filters and the single-goal endpoint before they exist, along with the event response'sgoals.getGoaland thecompletedAtfield are published, so the snippets match them.🤖 Generated with Claude Code