01a09c21 - Add member post and reply counts and feeds - #132
Conversation
GET /members/:id now returns uncapped live postCount and replyCount. New GET /members/:id/posts and /replies list that member's latest 200 notes or replies. Public JSON includes parentId on replies only.
Handbook and TSDoc now name both replies routes as omit-on-throw, and the posts feed as dropping missing-file video children from replyCount.
|
EN: DE: DetailsHead Grok quality first pass: two handbook/TSDoc findings, fixed in |
EN:
Signed-in member profiles now include how many posts and replies that person has made, as live totals, not the latest-200 window.
New list endpoints return that member's latest 200 posts or replies so the app can open a stacked feed on click.
Replies carry parentId so a card can open the parent thread; they are not payable and have no replyCount.
DE:
Angemeldete Mitgliederprofile enthalten jetzt, wie viele Posts und Antworten die Person insgesamt geschrieben hat — als Live-Summe, nicht als Fenster der letzten 200.
Neue Listen-Endpunkte liefern die neuesten 200 Posts oder Antworten, damit die App beim Klick einen Feed darunter öffnen kann.
Antworten tragen parentId, damit eine Karte den Eltern-Thread öffnen kann; sie sind nicht zahlbar und haben keine replyCount.
Details
GET /members/:accountIdadds uncappedpostCountandreplyCount(live rows only).GET /members/:accountId/postslists top-level notes by that account, newest-first, cap 200, same serialize as signed-inGET /messages(payable, replyCount, accountId). Missing-file videos are dropped.GET /members/:accountId/replieslists that account's replies, newest-first, cap 200, payable false, no replyCount, optionalparentId.serializeMessageomitsparentIdwhen the row is top-level so living-room JSON stays unchanged.