Settings API
Apps
Which apps the company’s people see. Every app is on but those turned off; an app Yet adds later comes on.
URL base https://acme.yet.com.br/api/settings
Settings respondem no endereço da sua empresa — acme aqui — e aceitam a key de quem administra o Settings.
As descrições dos endpoints estão em inglês.
Get the apps turned off
GET
/api/settings/appsThe apps the company’s people do not see.
Quem: Runs the company’s Settings
Requisição
curl https://acme.yet.com.br/api/settings/apps \
-H "Authorization: Bearer $YET_API_KEY"Resposta · 200
{
"off": [
"sketch",
"agile"
]
}Set the apps turned off
PUT
/api/settings/appsThe whole list: these off, every other on. Any of mail, hello, calls, calendar, paper, cells, sketch, agents, drive, agile, vault, cloud.
Quem: Runs the company’s Settings
Corpo
offstring[]obrigatório- The apps turned off.
Requisição
curl -X PUT https://acme.yet.com.br/api/settings/apps \
-H "Authorization: Bearer $YET_API_KEY" \
-d '{
"off": [
"sketch"
]
}'Resposta · 200
{
"apps_off": [
"sketch"
]
}