Skip to main content
GET
/
admin
/
phone
/
quarantine
/
stats
Obter estatísticas de quarentena
curl --request GET \
  --url https://services.pref.rio/rmi/v1/admin/phone/quarantine/stats \
  --header 'Authorization: Bearer <token>'
{
  "active_quarantines": 123,
  "expired_quarantines": 123,
  "quarantine_history_total": 123,
  "quarantines_with_cpf": 123,
  "quarantines_without_cpf": 123,
  "total_quarantined": 123
}

Authorizations

Authorization
string
header
required

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

Response

Estatísticas de quarentena obtidas com sucesso

active_quarantines
integer
expired_quarantines
integer
quarantine_history_total
integer
quarantines_with_cpf
integer
quarantines_without_cpf
integer
total_quarantined
integer