Files
bookhoard/bruno/conflicts/Dismiss All Resolved.bru
T
john-okeefe 26070e4000 Refactor: rename baseUrl to base_url in .bru files
Update configuration key naming convention to use snake_case
consistently.
Applies changes recursively across all subdirectories.
2026-02-08 21:26:31 -05:00

55 lines
1.0 KiB
Plaintext

meta {
name: Dismiss All Resolved Conflicts
type: http
seq: 5
}
post {
url: {{base_url}}/api/conflicts/dismiss-all
body: none
auth: inherit
}
headers {
Authorization: Bearer {{token}}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Dismiss All Resolved Conflicts
Deletes all resolved conflicts for the authenticated user, cleaning up the conflict list.
**Method:** POST
**Endpoint:** /api/conflicts/dismiss-all
**Authentication:** Bearer token
**Response:**
- `deleted` (number): Number of conflict records that were deleted
**Status Codes:**
- 200: Success - conflicts deleted
- 401: Unauthorized
- 500: Internal server error
**Example Response:**
```json
{
"deleted": 5
}
```
**Use Cases:**
- Clean up conflicts list after reviewing resolutions
- Remove old resolved conflicts no longer needed
- Maintain a clean conflict history
**Note:** Only conflicts with status "user_resolved" or "auto_resolved" are deleted. Unresolved conflicts are preserved.
}