Artifacts
POST /api/v1/artifacts/upload-url
Create artifact metadata and return a presigned upload URL.
Request body:
visibility, size_bytes, and checksum are optional and default to private, 0, and "".
Response:
pending until confirmed via POST /api/v1/artifacts/{id}/confirm-upload or a backend process finalizes it.
GET /api/v1/artifacts
List artifacts for the active project.
Response:
GET /api/v1/artifacts/{id}
Get a single artifact and a presigned download URL.
Response:
POST /api/v1/artifacts/{id}/confirm-upload
Confirm the upload after the file is PUT to the presigned URL. The portal updates the artifact status to ready and increments the organization’s storage usage.
Request body:
size_bytes and checksum are optional; the values from the original upload request are used when omitted.
POST /api/v1/artifacts/{id}/visibility
Change artifact visibility between private and public.
Request body:
204 No Content on success.