Files
Upload intents, files and attachments of members and guests.
#A file's metadata and status (the uploader before ownership; afterwards the owner's read policy)
/files/{fileId}Path parameters
fileIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The file.application/json
#Redirect to a 60-second signed URL of the file after the owner's decision (browser navigation)
/files/{fileId}/downloadPath parameters
fileIdrequired | string (uuid) |
Query parameters
tenantrequired | string (uuid) | The tenant id, checked like X-Kanso-Tenant (a navigation cannot send headers). |
disposition | string | One of: |
Responses
200F-FIL-04.R12 — only when the request accepts application/vnd.kanso.signed-url+json; the same signed URL as JSON, with the headers of the 302.application/vnd.kanso.signed-url+json
302Location is a signed URL valid 60 seconds; Cache-Control no-store, Referrer-Policy no-referrer, X-Content-Type-Options nosniff.
No body.
#Redirect to a 60-second URL of a preview variant after the owner's decision (browser navigation)
/files/{fileId}/previewPath parameters
fileIdrequired | string (uuid) |
Query parameters
variantrequired | string | One of: |
tenantrequired | string (uuid) | The tenant id, checked like X-Kanso-Tenant (a navigation cannot send headers). |
Responses
200F-FIL-04.R12 — only when the request accepts application/vnd.kanso.signed-url+json; the same signed URL as JSON.application/vnd.kanso.signed-url+json
302Location is a signed URL of the preview, valid 60 seconds, inline disposition, Cache-Control no-store.
No body.
#Authorise an upload to a target, reserve its quota and answer a presigned PUT or multipart parameters
/upload-intentsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The pending file with its upload instructions.application/json
#Complete the upload — the server completes multipart, verifies the size, detects the type and starts the scan
/upload-intents/{fileId}/completePath parameters
fileIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The file, now scanning.application/json
#Sign one multipart operation (create, part, abort) for the file's own staging key
/upload-intents/{fileId}/signPath parameters
fileIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Request body application/jsonrequired
Loading the schema…
Responses
200The signed request, valid 15 minutes.application/json
Was this helpful?