curl --request GET \
--url https://api.supernotes.app/v1/collections \
--header 'Api-Key: <api-key>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
},
"created_when": "2023-11-07T05:31:56Z",
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}
]
Get all collections owned by the user
curl --request GET \
--url https://api.supernotes.app/v1/collections \
--header 'Api-Key: <api-key>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
},
"created_when": "2023-11-07T05:31:56Z",
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}
]
Successful Response
The response is of type CollectionResponse · object[]
.