- Convert all existing .bru files from JSON to Bruno DSL format - Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru) - Update auth configuration to use 'inherit' instead of explicit bearer tokens - Add comprehensive documentation to all test files - Improve test scripts with proper assertions and error handling
44 lines
693 B
Plaintext
44 lines
693 B
Plaintext
meta {
|
|
name: Retry Queue Item
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/api/queue/items/{{item_id}}/retry
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
docs {
|
|
## Retry Queue Item
|
|
|
|
Retries a failed queue item.
|
|
|
|
**Method:** POST
|
|
|
|
**Endpoint:** /api/queue/items/:item_id/retry
|
|
|
|
**Authentication:** Bearer token
|
|
|
|
**Path Parameters:**
|
|
- `item_id` (string): Queue item UUID
|
|
|
|
**Response:**
|
|
- Success message indicating retry initiated
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 404: Queue item not found
|
|
- 400: Invalid item status
|
|
|
|
**Example Response:**
|
|
```json
|
|
{
|
|
"message": "Queue item retry initiated",
|
|
"item_id": "uuid"
|
|
}
|
|
```
|
|
}
|