Add API support for creating post comments #71
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#71
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
Allow compatible Slugkit implementations to create a local comment on an existing post through the management API, so the
slugCLI can support a post-comment workflow without depending on website or protocol-specific routes.Requirements
Acceptance criteria
POST /api/v1/posts/{slug}/commentsis documented in OpenAPI with an operation ID, request schema, response schema, auth requirement, validation errors,404, and shared error responses.NOT_FOUNDerror shape.VALIDATION_ERRORshape.GET /api/v1/posts/{slug}/comments.Dependencies
Synced from todu comment by @todu on 2026-05-26T12:03:03.609Z
Review update
make checkpassed and Forgejo CICI / build-lint-test (pull_request)passed.Synced from todu comment by @todu on 2026-05-26T17:52:40.820Z
Completed
POST /api/v1/posts/{slug}/commentswith OpenAPI operationposts.comments.create, request/response schemas, auth, validation,404, and shared error responses.slug comments create <post-slug> --content <text>and updated API/CLI specs.make checkand passing Forgejo CI.main.