Skip to main content
POST
Finalize an object upload

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Path Parameters

bucketId
string
required

Bucket identifier (buk_*).

objectId
string<uuid>
required

Storage object identifier.

Response

Success

object
enum<string>
required
Available options:
bucket_object
id
string<uuid>
required
filename
string
required
bytes
integer
required
Required range: x >= 0
scanStatus
enum<string>
required

Async malware-scan verdict (W2.2). Objects start 'pending' (owner-only, not publicly served) and become 'clean' or 'infected'/'failed' once the scanner runs. Public links (/d/, /s/) and native attach require 'clean' (or trusted 'skipped').

Available options:
pending,
clean,
infected,
failed,
skipped
createdAt
string<date-time>
required
contentType
string | null