Collections
Update Collection
Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
Collections
Update Collection
Update the specified collection
PATCH
/
v1
/
collections
/
{collection_id}
curl --request PATCH \
--url https://api.supernotes.app/v1/collections/{collection_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
},
"order": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
},
"created_when": "2023-11-07T05:31:56Z",
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}
Authorizations
Path Parameters
Body
application/json
Maximum length:
8
Response
200
application/json
Successful Response
Available options:
thoughts
, tasks
, green
, images
Maximum length:
8
curl --request PATCH \
--url https://api.supernotes.app/v1/collections/{collection_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
},
"order": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
},
"created_when": "2023-11-07T05:31:56Z",
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}