Skip to main content
GET
/
avatars
Listar avatares disponíveis
curl --request GET \
  --url https://services.pref.rio/rmi/v1/avatars \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "<string>",
      "id": "<string>",
      "is_active": true,
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "page": 123,
  "per_page": 123,
  "total": 123,
  "total_pages": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer

Número da página (padrão: 1)

per_page
integer

Itens por página (padrão: 20, máximo: 100)

Response

Lista de avatares obtida com sucesso

data
object[]
page
integer
per_page
integer
total
integer
total_pages
integer