Skip to content

Add read-only approval API routes - #72

Merged
Alajmah merged 2 commits into
mainfrom
api46-read
Jun 7, 2026
Merged

Alajmah merged 2 commits into
mainfrom
api46-read

Conversation

@Alajmah

@Alajmah Alajmah commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the first small approval API slice for read-only approval inspection.

Changes

  • Adds GET /approvals for listing approval artifacts by status.
  • Adds GET /approvals/{approval_id} for showing one approval artifact.
  • Adds focused route tests using the existing ApprovalStore artifact model.

Partial progress on #46. Mutating approve/reject routes are intentionally left for a separate PR.

Validation

  • API route tests added.
  • CI should run on this PR.

@gitwire-hq gitwire-hq Bot added the size/S label Jun 7, 2026
@Alajmah
Alajmah merged commit adb06b2 into main Jun 7, 2026
2 checks passed
@Alajmah
Alajmah deleted the api46-read branch June 7, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant