Ir al contenido

Endpoints

Buckets, objetos, subidas, URLs firmadas, políticas y llaves S3.

Aplica a MotorNube
Ver como Markdown
En esta página
  1. Buckets
  2. Objetos
  3. Subidas y URLs firmadas
  4. Políticas, llaves y S3

Buckets

Método y rutaHace
GET /bucketLista los buckets
POST /bucket{ id, public?, maxFileSize?, allowedTypes?, scan?, cacheControl?, storage? }
GET /bucket/{id}, PATCH /bucket/{id}, DELETE /bucket/{id}Leer, cambiar, borrar (solo vacío, o con ?empty=true)

Objetos

Método y rutaHace
POST /object/{bucket}/{path}Subir (x-upsert: true para reemplazar)
GET /object/{bucket}/{path}Descargar como el usuario (aplican las políticas)
HEAD /object/{bucket}/{path}Solo los metadatos
POST /object/list/{bucket}{ prefix, limit, offset, sortBy, search }
POST /object/move, POST /object/copy{ bucket, from, to }
DELETE /object/{bucket}{ paths: [...] }
PATCH /object/{bucket}/{path}/metadataCambiar tus metadatos

Subidas y URLs firmadas

Método y rutaHace
POST /upload/resumableEmpezar una subida tus (luego PATCH a su ubicación)
POST /object/sign/{bucket}/{path}{ expiresIn, transform?, download? } → URL firmada de descarga
POST /object/upload/sign/{bucket}/{path}{ expiresIn } → URL firmada de subida y su token
GET /object/public/{bucket}/{path} en el host de contenidoDescarga pública, con opciones de transformación

Políticas, llaves y S3

Método y rutaHace
GET /policies, POST /policies, DELETE /policies/{name}Políticas de sypnia_files.objects (llave secreta)
POST /s3-keys, GET /s3-keys, DELETE /s3-keys/{id}Llaves de acceso S3
/s3/...La API compatible con S3

El documento OpenAPI está en el repositorio del motor, en spec/openapi.yaml.

  1. Buckets
  2. Objetos
  3. Subidas y URLs firmadas
  4. Políticas, llaves y S3

    Busca páginas, secciones y términos