- 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
43 lines
655 B
Plaintext
43 lines
655 B
Plaintext
meta {
|
|
name: Delete Queue Item
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
delete {
|
|
url: {{base_url}}/api/queue/items/{{item_id}}
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
docs {
|
|
## Delete Queue Item
|
|
|
|
Deletes a queue item from the sync queue.
|
|
|
|
**Method:** DELETE
|
|
|
|
**Endpoint:** /api/queue/items/:item_id
|
|
|
|
**Authentication:** Bearer token
|
|
|
|
**Path Parameters:**
|
|
- `item_id` (string): Queue item UUID
|
|
|
|
**Response:**
|
|
- Success message confirming deletion
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 404: Queue item not found
|
|
|
|
**Example Response:**
|
|
```json
|
|
{
|
|
"message": "Queue item deleted",
|
|
"item_id": "uuid"
|
|
}
|
|
```
|
|
}
|