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",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [],
"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": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
}
},
"parents": null
}
}'
{}
Successful Response
The response is of type object
.
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",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [],
"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": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
}
},
"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",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [],
"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": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
}
},
"parents": null
}
}'
{}
Successful Response
The response is of type object
.
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",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"meta": {},
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [],
"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": 0,
"sort_ascending": true,
"broadsheet_cols": 123,
"attempt_card_match": true
}
},
"parents": null
}
}'
{}