info: name: Restore System Collection type: http seq: 3 http: method: POST url: '{{base_url}}/api/dashboard/restore-system-collection' auth: inherit body: type: json jsonBody: "{\n \"collection_name\": \"continue-reading\"\n}" runtime: scripts: - type: tests code: "test(\"status must be 200 with valid collection\", function() {\n expect(res.status).to.eql(200);\n\ });\n\ntest(\"response has success message\", function() {\n expect(res.body.message).to.exist;\n\ });" docs: |- Restore a system collection to its default state. **Endpoint**: POST /api/dashboard/restore-system-collection **Auth**: Required (Bearer token) ## Request Body | Field | Type | Required | Description | |-------|------|----------|-------------| | collection_name | string | Yes | Name of system collection to restore | Valid collection names: - `continue-reading`: Books you're currently reading (0 < progress < 1) - `recently-added`: Newly added items to this library - `recently-read`: Books you've finished (progress >= 1) - `not-started`: Books you haven't read yet (progress = 0 or no record) ## Example Request ```json { "collection_name": "continue-reading" } ``` ## Response Returns success message on restore.