curl --request POST \
--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": 1,
"sort_ascending": true,
"broadsheet_cols": 123,
"broadsheet_full_width": true,
"attempt_card_match": true,
"card_sizing": 1,
"map_position": "<string>"
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"created_when": "2023-11-07T05:31:56Z",
"view": {
"display_type": 1,
"sort_type": 1,
"sort_ascending": true,
"broadsheet_cols": 123,
"broadsheet_full_width": true,
"attempt_card_match": true,
"card_sizing": 1,
"map_position": "<string>"
},
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}Create a custom collection
curl --request POST \
--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": 1,
"sort_ascending": true,
"broadsheet_cols": 123,
"broadsheet_full_width": true,
"attempt_card_match": true,
"card_sizing": 1,
"map_position": "<string>"
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"spec": {
"pre_id": "thoughts"
},
"created_when": "2023-11-07T05:31:56Z",
"view": {
"display_type": 1,
"sort_type": 1,
"sort_ascending": true,
"broadsheet_cols": 123,
"broadsheet_full_width": true,
"attempt_card_match": true,
"card_sizing": 1,
"map_position": "<string>"
},
"order": "<string>",
"modified_when": "2023-11-07T05:31:56Z"
}Show child attributes
1, 2, 4, 5, 6 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1, 2, 3 Successful Response
Show child attributes
1, 2, 4, 5, 6 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1, 2, 3 8