RESOURCE CATALOG

Archive

File storage compatible with S3 or block volume.

type: "archive"analogous to object storage / persistent volume

Definition

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
CampoTipoDefault · Opções
subtipo
Tipo
enum
arquivosvolume
Defaultarquivos
tamanho_gb
Tamanho (GB)
int
Default50
publico
Acesso público
bool
Defaultfalse

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
  }
}

Related resources

Archive · Catálogo · Tesserra Docs