Repository navigation
Document listing audiences and what rule-based ones accept - #17
TeakBuilds wants to merge 4 commits into
Conversation
Adds the GET /v2/audiences listing with its paging, widens reading and updating to every audience, and says which fields and parameters are for list audiences only. <human-claude-interaction-log> <human>/worker teak-md 2818 GoCarrot/Carrot feat/c-2818-audience-listing alex teak-md-carrot-worker-c-2818 #teak-md-carrot-issue-c-2818 https://linear.app/teakio/issue/C-2818</human> <claude>Read C-2818, planned the Carrot change plus this docs change, and got the plan approved.</claude> <teak-md-pm>lgtm, go. decided: no type marker. Adding a key later is additive and breaks no one, but removing one is a breaking change, so we leave it out until someone asks. The docs page says which fields describe list audiences only. Keep the split you named: one Carrot PR with two commits, plus the docs PR.</teak-md-pm> <claude>Updated the audiences page, nav title and OpenAPI spec to match the Carrot change.</claude> </human-claude-interaction-log> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
[teak-md-server-api-docs-docs-c-2818] Docs cold read: findings Cold-read takeaway: you can now list, read, rename and archive any of your Audiences, only list Audiences take 1. A reader can't act on the list / non-list split (
2. Note:
3. Note: the old page name survives where readers navigate (files the PR didn't touch)
4. Note: Listing wording (L18, L40)
For the reviewer, not findings: the facts don't cover the listing's lower clamp (limit=0), unknown Evidence: read hold: the page says to treat list and other Audiences differently but never says how a reader tells them apart in a response |
Also spells out that sending the players key at all is the error on other audiences, that listing is ascending and limit is a maximum, and renames the page in the nav partial and the index. <human-claude-interaction-log> <teak-md-server-api-docs-docs-c-2818>docs findings posted on server-api-docs#17 (read at 4a936b1): hold: the page says to treat list and other Audiences differently but never says how a reader tells them apart in a response</teak-md-server-api-docs-docs-c-2818> <claude>Proposed taking all four findings.</claude> <teak-md-pm>lgtm, go.</teak-md-pm> <claude>Made the wording changes to the page and OpenAPI spec and renamed the leftover nav and index entries.</claude> </human-claude-interaction-log> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
[teak-md-server-api-docs-docs-c-2818] Docs re-check at f4ae2b5: hold cleared, two notes Fixed: the page now says responses don't identify list Audiences and what to rely on; the Notes:
For the reviewer: "List Audiences are the ones you create through this API or upload as a CSV in the Dashboard" is an exhaustive claim. The worker's grep fact (two callers: API save, and dashboard uploaded-file or column-mapped upload) is consistent with it; I didn't check code. Evidence: read the 4a936b1..f4ae2b5 diff and the changed sections at f4ae2b5 as source, no render. No web searches (no vendor version or platform claims). yield |
… blurb <human-claude-interaction-log> <teak-md-server-api-docs-docs-c-2818>docs re-check at f4ae2b5: hold cleared, two notes (no re-check needed for them) · yield</teak-md-server-api-docs-docs-c-2818> <claude>Proposed taking both notes.</claude> <teak-md-pm>lgtm, go.</teak-md-pm> <claude>Moved the list-audience paragraph below the key list and reworded the index blurb.</claude> </human-claude-interaction-log> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
[teak-md-carrot-reviewer-c-2818] APPROVED at 7dd494b (with notes) I checked the docs against Carrot#2922 at 710e84484f. Each claim below matches the code. repro
Findings
The page is unrendered (the worker's npx render was denied). Nothing in the diff uses unusual asciidoc. |
<human-claude-interaction-log> <teak-md-carrot-reviewer-c-2818>APPROVED at 7dd494b (with notes). minor: an mParticle Audience's name and description are rewritten on each mParticle sync, so a rename through this API doesn't stick. One sentence in Updating saying so would save a confused support ticket.</teak-md-carrot-reviewer-c-2818> <claude>Proposed taking it as a docs sentence rather than refusing the rename.</claude> <teak-md-pm>lgtm, go.</teak-md-pm> <claude>Added the sentence to the Updating section and the OpenAPI patch description.</claude> </human-claude-interaction-log> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
[teak-md-carrot-reviewer-c-2818] delta: clear at 869e751 The delta is 7dd494b..869e751: one commit, and it carries the interaction log. It adds the mParticle sentence to the Updating section of the page and to the openapi patch description. Both match the code. repro: read |
Part of C-2818
Audiences page and
openapi/v2_audiences.yaml:GET /v2/audiences: every audience except system ones, withlimit,after,paging.playersis for list audiences only.upload_state,matched_countandunmatched_countdescribe list audiences only, and that a response doesn't mark which audiences those are.The API change is GoCarrot/Carrot#2922; merge this once that is deployed.
Not rendered: I didn't build the page.
Checked at 869e751: a
ruby -ryamlone-liner that runsYAML.load_fileonopenapi/v2_audiences.yamland looks up every#/components/...ref → parsed; 9 distinct refs, unresolved:[].🤖 Generated with Claude Code