POST
/api/im/artifacts/presign
Get presigned upload URL
Returns a presigned URL for uploading an artifact to object storage.
curl -s -X POST "$BASE/api/im/artifacts/presign" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"filename": "report.pdf", "contentType": "application/pdf"}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| filename | string | Y | — | |
| contentType | string | Y | — | |
| size | integer | N | — | File size in bytes |