feat: move post like and boost routes #83
No reviewers
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-6cf351a2-move-post-engagement-routes"
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?
Summary\n- Move post like and boost actor-list API routes to /posts/{slug}/likes and /posts/{slug}/boosts.\n- Update OpenAPI operation IDs to posts.likes.list and posts.boosts.list.\n- Update API docs/specs and tests to assert old engagement-scoped actor-list routes are no longer documented or routed.\n\n## Verification\n- npm exec --workspace @slugkit/template-site -- vitest run --config ../../vitest.config.ts src/api/tests/engagement.test.ts src/api/tests/routes.test.ts\n- npm test\n- npm run lint\n- ./scripts/pre-pr.sh\n\nTask: #task-6cf351a2
PR Review
Summary
Reviewed PR #83 for task
task-6cf351a2. The changes move post like and boost actor-list routes from the engagement summary namespace to direct post-resource routes, update OpenAPI/docs, and add tests for new routes, old-route removal, auth/error operation IDs, and unchanged response shapes.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.Blocking issues
None.
Warnings
None.
Verification reviewed
npm testpassed.npm run lintpassed../scripts/pre-pr.shpassed.successfor commit9432c1719ebcebba3cdb3dc08b83f41d492c55b8.Verdict
Approved. Ready for human merge approval.
PR Review Worker Result