Skip to content

Describe attributed prescription webhooks, create-time ranges, key environments and coach limits - #46

Merged
DrAlexHarrison merged 1 commit into
mainfrom
apitruth
Sep 19, 2026
Merged

DrAlexHarrison merged 1 commit into
mainfrom
apitruth

Conversation

@DrAlexHarrison

Copy link
Copy Markdown
Member

Hold until the fuel-backend PRs below are merged and partner-api is redeployed; the site deploys on merge and these sentences describe the API after those land.

Follows fuel-backend #800 (is_race_event on create), #801 (create-time range checks), #802 (key environment boundary), #803 (attributed prescription webhooks), #804 (coach rate policy), #805 (error catalog), #807 (coach keys confined to the coach surface).

Pages

  • guides/webhooks.mdx: the prescription.calculated example and table row carry athlete_id (and activity_id on the activity path); the sentence saying the payload names no athlete is replaced by the rule for unattributed calculations.
  • guides/athletes.mdx: the 400 out_of_range promise covers create, update and calculate, and batch create reports it per item.
  • authentication.mdx: environment on key creation defaults to the host's environment and refuses the other; a misrouted key fails closed with a message naming the environment it belongs to.
  • guides/coach-api.mdx: coach-surface requests are metered in the coach's own bucket (50 per second, burst 500) instead of the connector's shared bucket and the athlete buckets; a coach API key reaches /v1/coach/* only.

No em dashes added; each page checked.

🤖 Generated with Claude Code

https://claude.ai/code/session_01K9f7KoPEPs8FXwBT8vAduy

…vironments and coach limits

Follows fuel-backend #800, #801, #802, #803, #804, #805 and #807: the
prescription.calculated payload names its athlete and activity, create
enforces the same ranges as update and calculate, a key's environment is a
boundary on mint and on use, and coach-surface requests are metered in the
coach's own bucket while coach keys reach that surface only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K9f7KoPEPs8FXwBT8vAduy

Ci-From: linux
Ci-Session: f2e28bc2-ac58-48e1-a2b8-39bf8e777e80
@DrAlexHarrison
DrAlexHarrison merged commit f9e64ee into main Sep 19, 2026
3 of 5 checks passed
@DrAlexHarrison
DrAlexHarrison deleted the apitruth branch September 19, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant