Repository navigation
docs: GET /api/posts/{id}/stats (Get Post Stats) - #413
Conversation
Publication copy of recoupable/marketing#238 (7bdf704). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Post stats API contract api-reference/openapi/social.json, llms-full.txt |
The OpenAPI reference and full-text documentation describe the endpoint, its responses, and the stats data shape. |
Publishing reference and provenance api-reference/publishing/stats.mdx, docs.json, SOURCE-PROVENANCE.json |
The publishing page and navigation include the endpoint. The provenance manifest records updated hashes and the new page. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related issues
recoupable/app#2351— Defines the same post stats endpoint contract documented in this PR.recoupable/mono#319— Calls for maintained public documentation and public route reconciliation; this PR documents a public API route.recoupable/mono#318— Covers public documentation and API contract reconciliation; this PR adds a synchronized API contract.
Suggested reviewers: sidneyswift
Merge Risk: 
Minimal · up to 0ffed
-
No actionable issue was established in the new Post Stats documentation; it is mergeable after normal checks.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (5 skipped: 5 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Synced from marketing#238 ( |
…+ 402) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Re-synced from marketing#238 |
…keting#238) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Part of recoupable/app#2351.
Publication copy of the maintained source in recoupable/marketing#238 (
7bdf704), synced withscripts/sync-legacy-docs.pyasDOCUMENTATION-POLICY.mdrequires.What changes
api-reference/openapi/social.json: newGET /api/posts/{id}/statsmirroring Get Post (same security,idpath param,PostErrorResponse), plusPostStatsandPostStatsResponseschemas. Additive only.{ "status": "success", "stats": PostStats }; 400 bad uuid; 401; 403 no access to the post's account; 404; 409 not published yet or LinkedIn not connected (checked before 422); 422 unsupported platform, LinkedIn personal post, or non-LinkedInpost_url; 502 LinkedIn rejected the read; 500. Reads cost no credits. LinkedIn company-page posts only for now.api-reference/publishing/stats.mdx; nav entry after Get Post.SOURCE-PROVENANCE.jsonre-pinned to marketing7bdf704;llms-full.txtregenerated.Verified
python3 scripts/check_source.py --source <marketing@7bdf704>andscripts/test_check_source.pypass; all JSON files parse. No local Mintlify preview was run.Merge order
docs → api → skills. Merge recoupable/marketing#238 first; if its commit changes before merge (for example the API fixture re-pin), re-sync this copy from the merged commit.
🤖 Generated with Claude Code
Summary by CodeRabbit