cURL
curl --request GET \ --url https://services.pref.rio/rmi/v1/citizen/{cpf}/pets/stats \ --header 'Authorization: Bearer <token>'
{ "cpf": "<string>", "self_registered_pets_count": 123, "statistics": { "quantidade_cachorro": 123, "quantidade_gato": 123, "quantidade_outro": 123 } }
Recupera as estatísticas de quantidade de pets por tipo associadas ao CPF do cidadão.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CPF do cidadão (11 dígitos)
11
Estatísticas obtidas com sucesso
Count of non-curated self-registered pets
Curated pets statistics from governo
Show child attributes