cURL
curl --request POST \ --url https://services.pref.rio/rmi/v1/admin/cache/read \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key": "citizen:12345678901" } '
{ "exists": true, "key": "<string>", "ttl_seconds": 123, "value": "<unknown>" }
Permite aos administradores ler qualquer chave do cache Redis para debug e monitoramento
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Chave do cache para ler
"citizen:12345678901"
Dados da chave do cache