docs(api): align coverage review contract

This commit is contained in:
zouantchaw
2026-03-18 12:56:14 +01:00
parent 1845f7dbee
commit 1b1dcec238
3 changed files with 10 additions and 4 deletions

View File

@@ -96,14 +96,16 @@ Payload may include:
```json
{
"staffId": "uuid",
"assignmentId": "uuid",
"rating": 4,
"comment": "Strong performance on the shift",
"feedback": "Strong performance on the shift",
"markAsFavorite": true,
"markAsBlocked": false
}
```
If `markAsBlocked` is `true`, backend blocks that worker for that business and rejects future apply or assign attempts until a later review sets `markAsBlocked: false`.
If `markAsFavorite` is `true`, backend adds that worker to the business favorites list. If `markAsFavorite` is `false`, backend removes them from that list. If `markAsBlocked` is `true`, backend blocks that worker for that business and rejects future apply or assign attempts until a later review sets `markAsBlocked: false`.
Swap-management rule: