goals

Publish Goal

Publish this browser's goal, and hand back the page it produced.

Only a settled goal has a promise to show, so an unsettled one is refused rather than published as a blank. Publishing twice is idempotent on an unchanged promise; publishing a changed one keeps the live link and dates the change.

post/goals/{goal_id}/publish

Path parameters

goal_idstring required

Response

Successful Response

share_idstring required
slugstring required
namestring required
kind'destination' | 'practice' required
target_datestring date required
target_precision'day' | 'month' | 'quarter' | 'season' required
sportstring nullable
localestring required
factorsobject[]

Changes

No recorded changes to this endpoint across all 3 revisions of this API.