Add tags API route #66
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!66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-8fbb8c0c-tags-api-route"
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
Implement the authenticated tags listing API route for Slugkit.
Task
Task: #task-8fbb8c0c
Changes
GET /api/v1/tagswith bearer auth and operationtags.list./tags,Tag,TagSummary, andTagListResponsein OpenAPI.Testing
GET /api/v1/tagsmake checkpasses./scripts/pre-pr.shpassesChecklist
./scripts/pre-pr.shpassesPR Review: Approved
Summary
Reviewed PR #66 at commit
6fb5bc2. The PR adds authenticatedGET /api/v1/tagssupport, a tag listing query with post usage counts, route registration, OpenAPI documentation, and API/OpenAPI tests.Acceptance Criteria
registerApiTagsRoutesexposesGET /tags, returningcreateSuccessResponse(listTags(...)).data: []— met —tags.test.tscovers an authenticated empty database response of{ data: [] }.tagSlugs, then verify the tags API returnsnotesandtech.createBearerAuthMiddlewareand the shared API key validator; tests verify unauthenticated401with operationtags.list./tagsis documented with operation IDtags.list, bearer auth, response schema, and shared401; route tests assert coverage.make check,./scripts/pre-pr.sh, manual local API smoke, and Forgejo CI passed.Blocking Issues
None.
Warnings
None.
Verdict
Approved for merge after explicit human approval.