| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/objects/share | POST | No |
Generates a time-limited link that anyone can use to download an object, with no credentials required. The link is an opaque, unguessable token mapped to the object server-side - it never contains the bucket name, key, or any access key.
1 and 604800 (7 days).{
"bucket": "my-bucket",
"key": "report.pdf",
"expiresInSeconds": 3600
}
{
"url": "https://api.example.com/api/v1/shared/3fa85f64-5717-4562-b3fc-2c963f66afa6",
"expiresAt": "2025-01-15T13:00:00Z"
}
GET returns the object's contents directly, with a Content-Disposition header set to the object's original filename.| Status | Reason |
|---|---|
400 | expiresInSeconds is outside the 1-604800 range |
404 | Bucket not found (or not owned by you), or object not found |