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

Authorizations

Api-Key
string
headerrequired

Body

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

Response

200 - application/json
[card_id]
object