GET /teams/{teamId}/flowchart-templates/public
Página da galeria por keyset (published_at DESC, id DESC) — nunca OFFSET (§12 do piso).
- Access: Team member
- Service:
https://api-flow.axuz.net
Accepted authentication
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Página da galeria por keyset (published_at DESC, id DESC) — nunca OFFSET (§12 do piso). Aceita ?category= e ?limit=.
listPublicTemplates — GET /teams/{teamId}/flowchart-templates/public.
Entradas: query params cursor (opaco, emitido por esta própria rota), category, limit.
Retorno: 200 com publicTemplateListResponse; 400 em cursor/limit inválido; 500 se o SELECT falha.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
teamId | path | string | yes |
Responses
200
Com publicTemplateListResponse
400
Em cursor/limit inválido
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
401
Sem credencial valida
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Sem permissao (nao e owner/admin; token sem escopo; token de integracao em rota nao permitida)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Se o SELECT falha
| 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-flow.axuz.net/teams/TEAM_ID/flowchart-templates/public' \
-H "Authorization: Bearer $AXUZ_TOKEN"Node.js
const res = await fetch("https://api-flow.axuz.net/teams/TEAM_ID/flowchart-templates/public", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
},
});
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-flow.axuz.net/teams/TEAM_ID/flowchart-templates/public",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())