cURL
curl --request GET \ --url https://services.pref.rio/app-busca-search/api/v1/admin/migration/status \ --header 'Authorization: Bearer <token>'
{ "backup_collection": "<string>", "completed_at": 123, "error_message": "<string>", "is_locked": true, "migrated_documents": 123, "progress": 123, "schema_version": "<string>", "source_collection": "<string>", "started_at": 123, "started_by": "<string>", "status": "idle", "target_collection": "<string>", "total_documents": 123 }
Retorna o status da migração em andamento ou o último estado conhecido
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
idle
in_progress
completed
failed
rollback