Skip to Content
Xeonr Developer Docs
API SpecificationBuckets

Update Order

POST
/xeonr.notes.v1.NotesBucketsService/UpdateOrder

Sets the sort order for children within a folder (or root). Accepts the full ordered list of folder IDs.

Required scope: upl:notes:edit (or a stronger verb of the same family: admin ⊃ edit ⊃ read).

Authorization

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
Length1 <= length
parentId?string

Folder ID of the parent, empty for root

itemIds?array<>

Ordered list of folder IDs (the uplim folder_id from ConfigNode)

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notes-api.xeonr.io/xeonr.notes.v1.NotesBucketsService/UpdateOrder" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}