Implement followers API route #75

Merged
caradoc merged 1 commit from feat/task-9aa21e22-followers-api into main 2026-05-30 22:48:26 -05:00
Collaborator

Summary

  • add follower persistence for protocol-neutral audience records
  • add authenticated GET /api/v1/followers route
  • document follower route in OpenAPI and add route/migration tests

Verification

  • make check
  • ./scripts/pre-pr.sh

Task: #task-9aa21e22

## Summary - add follower persistence for protocol-neutral audience records - add authenticated `GET /api/v1/followers` route - document follower route in OpenAPI and add route/migration tests ## Verification - `make check` - `./scripts/pre-pr.sh` Task: #task-9aa21e22
feat: implement followers API route
All checks were successful
CI / build-lint-test (pull_request) Successful in 27s
a7bd9687b0
Task: #task-9aa21e22
Author
Collaborator

PR review approved

Summary:

  • Adds follower persistence for protocol-neutral audience records.
  • Adds authenticated GET /api/v1/followers with empty-list and populated-list behavior.
  • Supports standardized 501 Not Implemented when follower storage is unavailable.
  • Documents the route and follower response schemas in OpenAPI.
  • Adds route and migration tests.

Acceptance criteria:

  • Can list followers.
  • Empty follower list returns data: [].
  • Follower records use the documented response shape.
  • Unsupported implementations return standardized 501 Not Implemented.
  • Route appears in OpenAPI with operation ID followers.list.
  • Relevant lint/test checks pass.

Blocking issues: none.

Warnings: none.

Verification:

  • make check passed.
  • ./scripts/pre-pr.sh passed.
  • Forgejo CI CI / build-lint-test (pull_request) passed.

Final verdict: approved.

### PR review approved Summary: - Adds follower persistence for protocol-neutral audience records. - Adds authenticated `GET /api/v1/followers` with empty-list and populated-list behavior. - Supports standardized `501 Not Implemented` when follower storage is unavailable. - Documents the route and follower response schemas in OpenAPI. - Adds route and migration tests. Acceptance criteria: - [x] Can list followers. - [x] Empty follower list returns `data: []`. - [x] Follower records use the documented response shape. - [x] Unsupported implementations return standardized `501 Not Implemented`. - [x] Route appears in OpenAPI with operation ID `followers.list`. - [x] Relevant lint/test checks pass. Blocking issues: none. Warnings: none. Verification: - `make check` passed. - `./scripts/pre-pr.sh` passed. - Forgejo CI `CI / build-lint-test (pull_request)` passed. Final verdict: approved.
caradoc deleted branch feat/task-9aa21e22-followers-api 2026-05-30 22:48:26 -05:00
Sign in to join this conversation.
No description provided.