RESOURCE CATALOG
Archive
File storage compatible with S3 or block volume.
type: "archive"analogous to object storage / persistent volumeDefinition
Two subtypes: **arquivos** (S3-compatible object storage via MinIO — automatic provisioning with endpoint and access keys) and **volume** (persistent block volume mounted on a Compute).
When to use
- User media and uploads (arquivos subtype).
- Persistence for a stateful Compute (volume subtype).
- Periodic backups and exports.
When not to use
- Database — use Datastore.
- In-memory cache — use Datastore Redis.
Configuration fields
Each field is validated at creation time. Defaults apply when fields are omitted.
config · archive
| Campo | Tipo | Default · Opções |
|---|---|---|
subtipo Tipo | enum | arquivosvolumeDefault arquivos |
tamanho_gb Tamanho (GB) | int | Default 50 |
publico Acesso público | bool | Default false |
Examples
Full payloads for POST to /api/projetos/{id}/recursos:
Public bucket for media
json
{
"tipo": "archive",
"nome": "midia-site",
"config": {
"subtipo": "arquivos",
"tamanho_gb": 100,
"publico": true
}
}