GET /v1/integration-scopes
Catalogo de escopos de token de integracao
- Access: Public
- Service:
https://api.axuz.net
Accepted authentication
No authentication (public route, or protected by link/signature).
Catalogo publico dos escopos de token de integracao (so leitura de metadados, sem segredo). Onde: RegisterPublic; a UI da central usa para montar o seletor de escopos. Efeitos: so CPU.
listIntegrationScopes responde GET /v1/integration-scopes.
Parameters
No parameters.
Responses
200
Escopos emitiveis a token de integracao (tasks:read, tasks:write, boards:read, boards:write, comments:write, integrations:read).
| Name | Type | Required | Description |
|---|---|---|---|
items | array<ScopeDescriptor> | yes | |
items[].code | string | yes | |
items[].description | string | yes | |
items[].category | string | yes |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X GET 'https://api.axuz.net/v1/integration-scopes'Node.js
const res = await fetch("https://api.axuz.net/v1/integration-scopes", {
method: 'GET',
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"GET",
"https://api.axuz.net/v1/integration-scopes",
timeout=30,
)
res.raise_for_status()
print(res.json())