Skip to main content
GET
/
memory
/
{phone_number}
Obter memórias associadas ao número de telefone.
curl --request GET \
  --url https://services.pref.rio/rmi/v1/memory/{phone_number} \
  --header 'Authorization: Bearer <token>'
[
  {
    "created_at": "<string>",
    "description": "<string>",
    "memory_id": "<string>",
    "memory_name": "<string>",
    "memory_type": "base",
    "relevance": "low",
    "updated_at": "<string>",
    "value": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

phone_number
string
required

Número do telefone

Response

Lista de memórias obtida com sucesso

description
string
required
memory_name
string
required
memory_type
enum<string>
required
Available options:
base,
appended
relevance
enum<string>
required
Available options:
low,
medium,
high
value
string
required
created_at
string
memory_id
string
updated_at
string