Skip to content

feat: add GET /ai-review/proposed/ endpoint#516

Merged
JoaquinBN merged 1 commit intodevfrom
JoaquinBN/ai-review-proposed
Apr 1, 2026
Merged

feat: add GET /ai-review/proposed/ endpoint#516
JoaquinBN merged 1 commit intodevfrom
JoaquinBN/ai-review-proposed

Conversation

@JoaquinBN
Copy link
Copy Markdown
Collaborator

Summary

  • Adds GET /api/v1/ai-review/proposed/ to list pending submissions with AI proposals awaiting steward review.
  • Fixes get_queryset so GET /ai-review/{id}/ no longer 404s on proposed submissions, enabling the PUT /propose/ update workflow.
  • Exposes proposal detail fields (proposed_points, proposed_confidence, proposed_template, proposed_at, proposed_staff_reply) on the detail serializer.

Test plan

  • GET /ai-review/proposed/ returns only pending submissions with proposed_action set and reviewed_by null
  • GET /ai-review/{id}/ works for both proposed and unproposed submissions
  • GET /ai-review/ (list) still excludes proposed submissions
  • Filters (category, contribution_type, etc.) work on the proposed endpoint
  • PUT /ai-review/{id}/propose/ still works after retrieving ID from proposed endpoint

Add GET /ai-review/proposed/ to list pending AI proposals awaiting
steward review. Fix get_queryset so GET /ai-review/{id}/ works on
proposed submissions. Expose proposal detail fields in the submission
serializer.
@JoaquinBN JoaquinBN merged commit 9bc8634 into dev Apr 1, 2026
@JoaquinBN JoaquinBN deleted the JoaquinBN/ai-review-proposed branch April 1, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant