POST
/
v1
/
cards
/
get
/
select
curl --request POST \
  --url https://api.supernotes.app/v1/cards/get/select \
  --header 'Content-Type: application/json' \
  --data '{
  "changed_since": "2023-11-07T05:31:56Z",
  "created_when": {
    "from_when": "2023-11-07T05:31:56Z",
    "to_when": "2023-11-07T05:31:56Z"
  },
  "exclude": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "filter_group": {
    "operator": "and"
  },
  "include": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "include_membership_statuses": [
    -2
  ],
  "limit": 123,
  "modified_when": {
    "from_when": "2023-11-07T05:31:56Z",
    "to_when": "2023-11-07T05:31:56Z"
  },
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "search": "<string>",
  "sort_ascending": true,
  "sort_type": 0,
  "targeted_or_created_when": {
    "from_when": "2023-11-07T05:31:56Z",
    "to_when": "2023-11-07T05:31:56Z"
  }
}'
{
  "[card_id]": {
    "backlinks": [
      "<string>"
    ],
    "data": {
      "color": "blue",
      "comment_count": 123,
      "created_when": "2023-11-07T05:31:56Z",
      "html": "<string>",
      "icon": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "likes": 123,
      "markup": "<string>",
      "member_count": 123,
      "meta": {},
      "modified_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "modified_when": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "public_child_count": 123,
      "synced_when": "2023-11-07T05:31:56Z",
      "tags": [
        "<string>"
      ],
      "targeted_when": "2023-11-07T05:31:56Z",
      "ydoc": "<string>"
    },
    "membership": {
      "auto_publish_children": true,
      "created_when": "2023-11-07T05:31:56Z",
      "enrolled_when": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "liked": true,
      "modified_when": "2023-11-07T05:31:56Z",
      "opened_when": "2023-11-07T05:31:56Z",
      "perms": -1,
      "personal_color": "blue",
      "personal_tags": [
        "<string>"
      ],
      "status": -2,
      "total_child_count": 123,
      "via_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "via_type": 0,
      "view": {
        "display_type": 1,
        "sort_ascending": true,
        "sort_type": 0
      },
      "visibility": -1
    },
    "parents": {
      "[card_id]": {
        "archived": true,
        "child_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_when": "2023-11-07T05:31:56Z",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "parent_membership_status": -2,
        "publishing_perms": -1
      }
    }
  }
}

Authorizations

Api-Key
string
headerrequired

Body

application/json
changed_since
string | null
created_when
object | null
exclude
string[] | null
filter_group
object | null
include
string[] | null
include_membership_statuses
enum<integer>[] | null
Available options:
-2,
-1,
0,
1,
2
limit
integer | null
modified_when
object | null
parent_id
string | null
search
string | null
sort_ascending
boolean | null
sort_type
enum<integer> | null
Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
targeted_or_created_when
object | null

Response

200 - application/json
[card_id]
object