Skip to Content
Xeonr Developer Docs
API SpecificationBuckets

Get Notes Config

POST
/xeonr.notes.v1.NotesBucketsService/GetNotesConfig

Retrieves the notes configuration and tree structure for a bucket.

Required scope: upl:notes:read (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
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notes-api.xeonr.io/xeonr.notes.v1.NotesBucketsService/GetNotesConfig" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "config": "map[tree:[map[children:[map[commentsId:e2d4f6a8-0b1c-4d3e-9f5a-7b6c8d9e0f12 folderId:a4b2c6d8-1e3f-4a5b-8c7d-9e0f1a2b3c4d id:8f3e2a71-6c4b-4d9e-a1f5-0b7c3e9d2a46 name:Q3 planning order:0 slug:q3-planning type:NOTE_ITEM_TYPE_NOTE]] folderId:c7e91f20-5a3d-4b8c-9e6f-1d2a3b4c5e6f id:c7e91f20-5a3d-4b8c-9e6f-1d2a3b4c5e6f name:projects order:0 slug:projects type:NOTE_ITEM_TYPE_FOLDER]] version:1]"
}