Cards
Update Cards
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
Cards
Update Cards
Update many cards in one call
PATCH
/
v1
/
cards
curl --request PATCH \
--url https://api.supernotes.app/v1/cards \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"[card_id]": {
"data": {
"name": "<string>",
"markup": "<string>",
"html": "<string>",
"ydoc": "<string>",
"icon": "<string>",
"color": "blue",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"meta": {}
},
"membership": {
"personal_color": "blue",
"liked": true,
"opened_when": "2023-11-07T05:31:56Z",
"auto_publish_children": true,
"personal_tags": [
"<string>"
],
"status": -2,
"visibility": -1,
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
}
},
"parents": {
"[card_id]": {
"publishing_perms": -1,
"created_when": "2023-11-07T05:31:56Z",
"archived": true,
"cutting": true
}
}
}
}'
{}
Authorizations
Headers
Body
application/json
Maximum length:
512
Maximum length:
24000
Maximum length:
480000
Maximum length:
64
Available options:
blue
, green
, orange
, pink
, purple
, red
, yellow
Available options:
blue
, green
, orange
, pink
, purple
, red
, yellow
Available options:
-2
, -1
, 0
, 1
, 2
Available options:
-1
, 0
, 1
Available options:
1
, 2
, 4
Available options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
Response
207
application/json
Successful Response
Available options:
blue
, green
, orange
, pink
, purple
, red
, yellow
Available options:
blue
, green
, orange
, pink
, purple
, red
, yellow
Available options:
-1
, 0
, 1318
, 1382
, 1398
, 4094
, 8190
Available options:
0
, 1
, 2
, 3
Available options:
1
, 2
, 4
Available options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
Available options:
-1
, 0
, 1
Available options:
-2
, -1
, 0
, 1
, 2
Available options:
-1
, 0
, 1318
, 1382
, 1398
, 4094
, 8190
Available options:
-2
, -1
, 0
, 1
, 2
curl --request PATCH \
--url https://api.supernotes.app/v1/cards \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"[card_id]": {
"data": {
"name": "<string>",
"markup": "<string>",
"html": "<string>",
"ydoc": "<string>",
"icon": "<string>",
"color": "blue",
"modified_when": "2023-11-07T05:31:56Z",
"targeted_when": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"meta": {}
},
"membership": {
"personal_color": "blue",
"liked": true,
"opened_when": "2023-11-07T05:31:56Z",
"auto_publish_children": true,
"personal_tags": [
"<string>"
],
"status": -2,
"visibility": -1,
"view": {
"display_type": 1,
"sort_type": 0,
"sort_ascending": true,
"broadsheet_cols": 123
}
},
"parents": {
"[card_id]": {
"publishing_perms": -1,
"created_when": "2023-11-07T05:31:56Z",
"archived": true,
"cutting": true
}
}
}
}'
{}