Axuz Developers

GET /teams/{teamId}/files/folders/{id}

Metadata do folder + breadcrumb (`path`)

  • Access: Signed in
  • Service: https://files-api.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`.

Returns metadata for a single folder plus the full ancestor chain so the client can render a breadcrumb without walking parents one-by-one. The path is root-first (oldest ancestor first, target folder last).

Parameters

NameInTypeRequiredDescription
teamIdpathstringyes
idpathstringyes

Responses

200

OK

NameTypeRequiredDescription
idstring<uuid>yes
team_idstring<uuid> | nullyes
parent_idstring<uuid> | nullno
namestringyes
created_bystring<uuid>yes
created_atstring<date-time>yes
patharray<FilesFolder>no

Breadcrumb — do ancestor mais antigo até este folder (inclusive).

path[].idstring<uuid>yes
path[].team_idstring<uuid> | nullyes
path[].parent_idstring<uuid> | nullno
path[].namestringyes
path[].created_bystring<uuid>yes
path[].created_atstring<date-time>yes

401

Sem credencial valida

NameTypeRequiredDescription
errorstringyes

404

Recurso ausente

NameTypeRequiredDescription
errorstringyes

Chave/slug do erro

messagestringno

429

Limite de requisições excedido.

NameTypeRequiredDescription
errorstringyes

500

Erro interno. Tente de novo com backoff; reporte o X-Request-Id.

NameTypeRequiredDescription
errorstringyes

Examples

"Try it" is turned off in this reference. Use the examples with your test credential.

curl

curl -sS -X GET 'https://files-api.axuz.net/teams/TEAM_ID/files/folders/ID' \
  -H "Authorization: Bearer $AXUZ_TOKEN"

Node.js

const res = await fetch("https://files-api.axuz.net/teams/TEAM_ID/files/folders/ID", {
  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://files-api.axuz.net/teams/TEAM_ID/files/folders/ID",
    headers={
        "Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
    },
    timeout=30,
)
res.raise_for_status()
print(res.json())