Pulsarr

Get delete sync dry run status

GET
/v1/scheduler/schedules/delete-sync/dry-run/status

Whether a delete sync dry run is running and how the latest one ended. Resets when the server restarts.

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Response Body

Default Response

application/json
  1. response

The latest delete sync dry run

state*BackgroundRunState

Where the latest background run stands, idle when none ran since the server started

Value in"idle""running""done""failed"
startedAt*|null
finishedAt*|null
error*|

Why the latest run failed, null unless state is failed

result*|

The latest dry run outcome, null until a dry run finishes

Example Request
curl -X GET 'http://localhost:3003/v1/scheduler/schedules/delete-sync/dry-run/status'
Example Response
{  "state": "idle",  "startedAt": "2019-08-24T14:15:22Z",  "finishedAt": "2019-08-24T14:15:22Z",  "error": "string",  "result": {    "success": true,    "message": "string",    "results": {      "total": {        "deleted": 0,        "skipped": 0,        "processed": 0,        "protected": 0      },      "movies": {        "deleted": 0,        "skipped": 0,        "protected": 0,        "items": [          {            "title": "string",            "guid": "string",            "instance": "string"          }        ]      },      "shows": {        "deleted": 0,        "skipped": 0,        "protected": 0,        "items": [          {            "title": "string",            "guid": "string",            "instance": "string"          }        ]      },      "safetyTriggered": true,      "safetyMessage": "string"    }  }}