API Specificationxeonr.notes.v1.NoteUploadsService
Request Note Upload
Requests a presigned upload URL for uploading a file to a note's uploads folder.
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
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketId?string
Length
1 <= lengthnoteId?string
Length
1 <= lengthfilesizeBytes?integer|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 "Content-Type: application/json" \ -d '{}'{
"uploadRequestId": "string",
"uploadsFolderPath": "string",
"direct": {
"uploadUrl": "string"
}
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}