API Specificationxeonr.notes.v1.NoteUploadsService
Request Note Upload
Requests a presigned upload URL for uploading a file to a note's uploads folder.
Required scope: upl:notes:edit (or a stronger verb of the same family: admin ⊃ edit ⊃ read).
AuthorizationBearer <token>
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketId?string
Length
1 <= lengthnoteId?string
Length
1 <= lengthfilesizeBytes?string
Format
int64mimeType?string
Length
1 <= lengthextension?string
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://notes-api.xeonr.io/xeonr.notes.v1.NoteUploadsService/RequestNoteUpload" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"uploadRequestId": "0e9d8c7b-6a5f-4e3d-9c2b-1a0f9e8d7c6b",
"direct": "map[uploadUrl:https://b.upl.im/5d1c9a7e-3b2f-4e8a-9c61-2f0b7a4d8e13/0e9d8c7b-6a5f-4e3d-9c2b-1a0f9e8d7c6b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Signature=…]",
"multipart": "map[parts:[map[partNumber:1 sizeBytes:8388608 uploadUrl:https://b.upl.im/5d1c9a7e-3b2f-4e8a-9c61-2f0b7a4d8e13/0e9d8c7b-6a5f-4e3d-9c2b-1a0f9e8d7c6b?partNumber=1&uploadId=…&X-Amz-Signature=…]]]",
"uploadsFolderPath": "@integration/projects/q3-planning/uploads"
}