Consultar o cardápio público do RU
curl --request GET \
--url https://api.followw.app/public/restaurantimport requests
url = "https://api.followw.app/public/restaurant"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/public/restaurant', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"date": "2023-12-25",
"breakfast": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
],
"lunch": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
],
"dinner": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
]
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Public Restaurant
Consultar o cardápio público do RU
GET
/
public
/
restaurant
Consultar o cardápio público do RU
curl --request GET \
--url https://api.followw.app/public/restaurantimport requests
url = "https://api.followw.app/public/restaurant"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/public/restaurant', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"date": "2023-12-25",
"breakfast": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
],
"lunch": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
],
"dinner": [
{
"name": "<string>",
"items": [
"<string>"
],
"key": "drink"
}
]
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
no-cache (ou max-age=0) busca na origem antes de responder; max-age=N aceita cache de até N s; stale-if-error[=N] devolve o cache se a origem falhar; only-if-cached nunca busca (504 sem cache).
Query Parameters
Campus do restaurante.
Available options:
Darcy, Gama, Ceilandia, Planaltina, Fazenda Dia específico (AAAA-MM-DD).
Início do intervalo (AAAA-MM-DD).
Fim do intervalo (AAAA-MM-DD).
Retorna apenas a refeição escolhida e a data. Se não publicada no dia, a refeição é null. Sem filtro, retorna todas.
Available options:
breakfast, lunch, dinner