Images
Batch upload into a collection
Upload many images in one request, grouped into a collection (e.g. a CI run). Partial-failure tolerant: each item reports ok true/false independently. Private collections return signed URLs. The collection is upserted by (type, name), so re-running the same job is idempotent.
post/v1/images/batch
Request
- Base URL: https://api.pixelvault.dev
- URL: https://api.pixelvault.dev/v1/images/batch
- Auth: HTTP bearer
Request body
Example request
{
"collection": {
"type": "ci_build",
"name": "gh-run-1234567890"
},
"images": [
{
"filename": "login-diff.png"
}
]
}Response
Batch result (per-item ok/failure)
Example response
{
"data": {
"collection_id": "col_a1b2c3d4e5f6"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.