PATCH
/
v1
/
cards
curl --request PATCH \
  --url https://api.supernotes.app/v1/cards \
  --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
      }
    },
    "parents": {
      "[card_id]": {
        "publishing_perms": -1,
        "created_when": "2023-11-07T05:31:56Z",
        "archived": true,
        "cutting": true
      }
    }
  }
}'
{}

Authorizations

Api-Key
string
headerrequired

Headers

snowshoe-session-id
string | null

Body

application/json
[card_id]
object

Response

200 - application/json

The response is of type object.