docs(posts): publish-now live, List/Get Post available, platform caps

Merged
SW
1mo ago
+23-17

Publication copy of marketing#179, generated with sync-legacy-docs.py from Marketing 541c398 (provenance pin in SOURCE-PROVENANCE.json). check_source.py: verified 235 files and navigation.

Changes api-reference/openapi/social.json only: Create Post marks publish-now live (publish_at 400 until scheduling) with the per-platform caps table; List/Get Post drop the pending notice; Cancel stays pending.

Merge order: marketing#179 → api#1040 → this. If marketing#179 is squash-merged, I re-sync this branch to the merge commit before it merges. Tracker: recoupable/app#2241.

🤖 Generated with Claude Code


Summary by cubic

Makes the Posts API fully live in the docs: Create, List, Get, and Cancel Post drop their pending notices, and publish-at scheduling ships.

  • Create Post with a future publish_at now schedules; a past or timezone-less date returns 400, and insufficient credits return a new 402 (the $0.01 charge happens only when a post reaches posted; cancelled posts are never charged).
  • Adds a per-platform caps table to Create Post.
  • Re-pins SOURCE-PROVENANCE.json to keep the synced docs aligned with the marketing source.

Summary by CodeRabbit

  • Documentation
    • Updated the publishing API documentation to reflect that creating, listing, viewing, and cancelling posts is available.
    • Clarified that scheduled publish times must be in the future and include a timezone, and documented platform rate limits and validation errors.
    • Documented the $0.01 charge when a post reaches posted, that scheduled cancellations are not charged, and that insufficient credits prevent post creation with a 402 response.