curl --request POST \
--url https://api.supernotes.app/v1/cards \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"[card_id]": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "",
"markup": "",
"html": "",
"ydoc": "<string>",
"icon": "<string>",
"color": "blue",
"tags": [],
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"daily_date": "<string>",
"h3_index": "<string>",
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "<string>"
},
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"personal_color": "blue",
"personal_tags": [],
"created_when": "2023-11-07T05:31:56Z",
"liked": true,
"visibility": -1,
"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>"
},
"flash_memory": {
"due": 123,
"stability": 123,
"difficulty": 123,
"elapsed_days": 123,
"scheduled_days": 123,
"reps": 123,
"lapses": 123,
"state": 0,
"last_review": 123
}
},
"parents": null
}
}
'{}Create cards with full control over properties
curl --request POST \
--url https://api.supernotes.app/v1/cards \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"[card_id]": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "",
"markup": "",
"html": "",
"ydoc": "<string>",
"icon": "<string>",
"color": "blue",
"tags": [],
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"daily_date": "<string>",
"h3_index": "<string>",
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "<string>"
},
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"personal_color": "blue",
"personal_tags": [],
"created_when": "2023-11-07T05:31:56Z",
"liked": true,
"visibility": -1,
"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>"
},
"flash_memory": {
"due": 123,
"stability": 123,
"difficulty": 123,
"elapsed_days": 123,
"scheduled_days": 123,
"reps": 123,
"lapses": 123,
"state": 0,
"last_review": 123
}
},
"parents": null
}
}
'{}Show child attributes
Show child attributes
5122400048000064blue, green, orange, pink, purple, red, yellow 32168Show child attributes
blue, green, orange, pink, purple, red, yellow 32-1, 0, 1 Show child attributes
1, 2, 4, 5, 6 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1, 2, 3 Show child attributes
0, 1, 2, 3 Show child attributes
Show child attributes
Successful Response
Show child attributes
Show child attributes
Show child attributes
blue, green, orange, pink, purple, red, yellow Show child attributes
blue, green, orange, pink, purple, red, yellow -1, 0, 1318, 1382, 1398, 4094, 8190 1, 2, 3, 4 Show child attributes
1, 2, 4, 5, 6 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1, 2, 3 Show child attributes
0, 1, 2, 3 -1, 0, 1 -2, -1, 0, 1, 2 Show child attributes
Show child attributes
-1, 0, 1318, 1382, 1398, 4094, 8190 -2, -1, 0, 1, 2