Latest reconciliation run.
Admins get the whole run, orphaned ids included; members get only the missing objects of the workspace’s assets (see ReconciliationRun).
Admins get the whole run, orphaned ids included; members get only the missing objects of the workspace’s assets (see ReconciliationRun).
bearerAuthAuthorizationBearer <token>A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.
Latest run.
application/json- response
The latest run. Its shape depends on scope: admins (deployment) get the whole run; members (account) get only the drift of the workspace’s assets, because the deployment-wide counts, orphans and failure text describe the server’s setup. Objects the indexer pinned or unpinned within the hour before the run are work in progress and in neither list, so the in-sync count plus the orphan or missing count can be lower than the indexer or database count.
scope*unknownid*stringuuidstarted_at*stringdate-timefinished_at*stringdate-timestatus*string"ok""drift""failed"db_object_count*integerindexer_object_count*integerin_sync_count*integerorphan_count*integermissing_count*integererror_message*string|nullcreated_at*stringdate-timemissing_ids*array<string>Tracked by an asset, absent from the indexer.
missing_objects*array<>Each of missing_ids, in the same order, with the video that holds it, so a report can link to it. video_asset_id and title are null when no live video holds the object any more (its video was deleted since the run).
orphaned_ids*array<string>Pinned on the indexer, tracked by no asset.
curl -X GET 'https://sluby.example.com/api/v1/reconciliation'{ "scope": "deployment", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "status": "ok", "db_object_count": 0, "indexer_object_count": 0, "in_sync_count": 0, "orphan_count": 0, "missing_count": 0, "error_message": "string", "created_at": "2019-08-24T14:15:22Z", "missing_ids": [ "string" ], "missing_objects": [ { "object_id": "string", "video_asset_id": "54cbbdd6-c2f9-402b-808d-71f69081f2d7", "title": "string" } ], "orphaned_ids": [ "string" ]}