GET /share/{token}/info
Metadata V2 (has_password, allow_download, expires_at)
- Access: Public (link or signature)
- Service:
https://files-api.axuz.net
Accepted authentication
No authentication (public route, or protected by link/signature).
— devolve metadata pública do link sem mexer no contador. O front renderiza o card "<filename> — <size> — protected? expira em?". Não exige session, mas também não revela nada sensível (sem uploaded_by, sem team_id, sem storage_key).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | path | string | yes | Token opaco base64url (32 bytes ≈ 43 chars) ou UUID legacy. |
Responses
200
OK
| Name | Type | Required | Description |
|---|---|---|---|
filename | string | no | |
size | integer | no | |
size_bytes | integer | no | |
mime | string | no | |
content_type | string | no | |
has_password | boolean | no | |
allow_download | boolean | no | |
expires_at | string<date-time> | null | no |
404
Recurso ausente
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Chave/slug do erro |
message | string | no |
410
Link revogado ou expirado
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://files-api.axuz.net/share/TOKEN/info'Node.js
const res = await fetch("https://files-api.axuz.net/share/TOKEN/info", {
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://files-api.axuz.net/share/TOKEN/info",
timeout=30,
)
res.raise_for_status()
print(res.json())