docs(posts): publish-now live, List/Get Post available, platform caps
Merged
SW
1mo ago+51+51+01234567890123456789-38-38-01234567890123456789
Implements the docs item of recoupable/app#2241 after api#1036 (publish-now) merged.
| Operation | Before | After |
|---|---|---|
POST /api/posts | pending | publish now live; publish_at documented as 400 until scheduling ships; no Recoup rate limit, per-platform caps table (decision 2026-10-18) |
GET /api/posts | pending | available |
GET /api/posts/{id} | pending | available |
DELETE /api/posts/{id} | pending | pending (unchanged) |
content/docs/contracts/operation-inventory.jsonrefreshed against apie4d9b69: the three posts routes are now implemented/public; Cancel stays an unmatched pending operation.example-cases.json:social.jsonhash only. The api fixture copy (lib/contracts/fixtures/published-docs.json) follows in an api PR, then therecoupable/docsre-sync.
Merge order: this PR โ api fixture PR โ docs sync PR.
Checks: pnpm docs:build (no generated drift), pnpm docs:check 11/11, refresh-contract-inventory --check, build-contract-examples --check, test_response_contracts.py OK, pnpm test 460/460. Local pnpm build stops at /valuation prerender for lack of a real NEXT_PUBLIC_PRIVY_APP_ID locally (unrelated); the Vercel preview build is the gate.
๐ค Generated with Claude Code
Summary by cubic
Marks the posts publishing endpoints live in the API docs: publish now works on Create Post, and List/Get Post are available; contract inventory is pinned to the api#1040 head.
- Create Post (
POST /api/posts) withoutpublish_atpublishes immediately; anypublish_atreturns 400 until scheduling ships, and the docs list per-platform caps (Recoup applies no own rate limit). - List Posts and Get Post drop the pending notice; Cancel Post stays pending.
- Merge this PR before the api fixture PR and the docs re-sync.
Summary by CodeRabbit
- Documentation
- Clarified that posts can be published immediately, while requests with a scheduled publishing time currently return an error.
- Added platform-specific posting limits and updated the description of error responses.
- Clarified the purposes of post listing and status polling; the delete endpoint is still marked as pending.
- Updated the API operation inventory to reflect the endpoints currently backed by the implementation.