Move post like and boost routes #79
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Make post engagement detail routes consistent with the existing comments route by placing likes and boosts directly under the post resource instead of under the engagement summary route.
Requirements
GET /api/v1/posts/{slug}/engagementas the aggregate summary endpoint.GET /api/v1/posts/{slug}/engagement/likeswithGET /api/v1/posts/{slug}/likes.GET /api/v1/posts/{slug}/engagement/boostswithGET /api/v1/posts/{slug}/boosts.posts.likes.listandposts.boosts.list.Acceptance criteria
GET /api/v1/posts/{slug}/likeslists post like actors.GET /api/v1/posts/{slug}/boostslists post boost actors.GET /api/v1/posts/{slug}/engagement/likesis no longer documented or routed.GET /api/v1/posts/{slug}/engagement/boostsis no longer documented or routed.posts.likes.listandposts.boosts.list.GET /api/v1/posts/{slug}/engagementremains available for aggregate counts.Dependencies
Synced from todu comment by @todu on 2026-06-02T14:32:09.397Z
PR review
PR #83 reviewed and approved.
Acceptance criteria: 7 total, 7 met, 0 missing.
Blocking issues: 0.
Warnings: 0.
Verification reviewed: targeted API/OpenAPI tests passed,
npm testpassed,npm run lintpassed,./scripts/pre-pr.shpassed, and Forgejo CI issuccessfor commit9432c1719ebcebba3cdb3dc08b83f41d492c55b8.Verdict: approved; waiting for explicit human merge approval.
Synced from todu comment by @todu on 2026-06-02T15:13:10.534Z
Completed
main; localmainis at merge commit968d757forfeat: move post like and boost routes./posts/:slug/likesand/posts/:slug/boostsare routed withposts.likes.listandposts.boosts.list, old engagement-scoped actor-list paths are absent from implementation/docs except negative assertions,/posts/:slug/engagementremains the aggregate summary endpoint, and docs/specs/OpenAPI/tests match the new paths.npm test,npm run lint,./scripts/pre-pr.sh, and Forgejo CI all passed for commit9432c1719ebcebba3cdb3dc08b83f41d492c55b8.