Skip to main content
GET
/
api
/
v1
/
admin
/
migration
/
history
Lista o histórico de migrações
curl --request GET \
  --url https://services.pref.rio/app-busca-search/api/v1/admin/migration/history \
  --header 'Authorization: Bearer <token>'
{
  "found": 123,
  "migrations": [
    {
      "completed_at": 123,
      "error_message": "<string>",
      "id": "<string>",
      "previous_schema_version": "<string>",
      "schema_version": "<string>",
      "started_at": 123,
      "started_by": "<string>",
      "status": "idle",
      "total_documents": 123
    }
  ],
  "out_of": 123,
  "page": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Página

per_page
integer
default:10

Resultados por página

Response

OK

found
integer
migrations
object[]
out_of
integer
page
integer