Skip to content

feat(api): add batched status update endpoint for routes-f items#361

Merged
davedumto merged 1 commit intoStreamFi-x:devfrom
OpenSourceCOntr:feature/issue-330-batch-status
Feb 26, 2026
Merged

feat(api): add batched status update endpoint for routes-f items#361
davedumto merged 1 commit intoStreamFi-x:devfrom
OpenSourceCOntr:feature/issue-330-batch-status

Conversation

@Uchechukwu-Ekezie
Copy link
Contributor

@Uchechukwu-Ekezie Uchechukwu-Ekezie commented Feb 26, 2026

Overview

This PR adds a new endpoint PATCH /api/routes-f/items/status to allow bulk status updates for Routes-F items.

Key Changes

  • Implemented batched status processing logic with validation.
  • Defined explicit status transition rules (active, inactive, archived).
  • Handled partial successes with 207 Multi-Status and detailed result feedback.
  • Added a comprehensive integration test suite.

Verification

  • Ran integration tests covering success, partial success, and failure scenarios.
  • Verified status transition validation logic.

closes #330

- Implemented PATCH /api/routes-f/items/status
- Added status transition validation logic
- Returns 207 Multi-Status for partial successes
- Added comprehensive integration tests
@vercel
Copy link

vercel bot commented Feb 26, 2026

@Uchechukwu-Ekezie is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@davedumto davedumto merged commit ec6393a into StreamFi-x:dev Feb 26, 2026
4 of 5 checks passed
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.

Backend: Add routes-f batched status update endpoint

2 participants