Files
bookhoard/bruno/progress/Delete Reading Progress.yml
john-okeefe f859b2714d refactor(bruno): reorganize file structure from bruno-yaml to flat bruno directory
- Move all files from bruno-yaml/* to bruno/*
- Maintains existing directory structure within categories
- Updates bruno/user/auth files with OAuth2 refresh token flow
- Updates bruno/user/profile files for user profile management
- Adds bruno/dashboard/ directory with dashboard API tests
- Preserves all existing test scenarios and OpenCollection YAML format
- No functional changes - file reorganization only
2026-02-17 20:22:21 -05:00

43 lines
1.1 KiB
YAML

info:
name: Delete Reading Progress
type: http
seq: 1
http:
method: DELETE
url: '{{base_url}}/api/media-items/{{media_item_id}}/progress'
auth: inherit
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_delete_reading_progress_success(status, headers, body) {\n if (status\
\ !== 200 && status !== 204) {\n throw new Error(\"Expected status 200\
\ or 204, got \" + status);"
docs: |-
## Delete Reading Progress
Deletes reading progress for a media item. This is a legacy endpoint - consider using universal progress endpoints instead.
**Method:** DELETE
**Endpoint:** /api/media-items/:id/progress
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string, required): Media item UUID
**Response:** Success message or empty
**Status Codes:**
- 200: Success
- 204: Success (no content)
- 401: Unauthorized
- 404: Media item not found
- 500: Internal server error
**Note:** This is a legacy endpoint. Use `/api/progress/:id` endpoints for new implementations.