Get delete sync dry run status
GET
Whether a delete sync dry run is running and how the latest one ended. Resets when the server restarts.
header
X-API-Key<token>API key authentication using X-API-Key header
Default Response
application/json- response
The latest delete sync dry run
state*BackgroundRunStateWhere the latest background run stands, idle when none ran since the server started
Value in
"idle""running""done""failed"startedAt*|nullfinishedAt*|nullerror*|Why the latest run failed, null unless state is failed
result*|The latest dry run outcome, null until a dry run finishes
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" } }}