Here is a json describing a basic card ‘Test API (Drafts)’, which is a child of a Drafts card. Another card have a link to ‘Test API (Drafts)’. There are too many Id keys in this json and I’m not sure I understand all of them. Can you please, help me understand these (I marked them with comments):
[
{
"id": "2bd6ef45-60d7-42ad-90d0-55d7145c3627",
// is this some kind of request ID and can be random when creating new card?
"card": {
"id": "3fd38821-0cf8-4abc-8051-fd50e22ae7c7",
// card ID, I understand this. So, I should generate uuid to create a new card?
"name": "Test API (Drafts)",
"markup": "Body text",
"html": "<p>Body text</p>\n",
"icon": null,
"owner_id": "b2067d38-113c-46ee-9473-71c79f90bfd9",
// My user ID. No issues here.
"share_code": "brick february chase power",
"frozen": null,
"created_when": "2020-07-03T11:21:44.883000",
"modified_when": "2020-07-03T11:22:30.666376",
"synced_when": "2020-07-03T11:22:30.666376",
"status": 2,
"default_perms": 25230431,
"backlinks": [
{
"back_id": "88ffe1a6-1f33-451f-a7b9-1006c4f12095",
// this is a link to the card, which links to our card
"fore_id": "3fd38821-0cf8-4abc-8051-fd50e22ae7c7",
// our card ID (which link was used)
"created_when": "2020-07-03T11:23:31.280729"
}
],
"tags": [],
"member_count": 1,
"likes": 0,
"comment_count": 0,
"published_child_count": 0
},
"perms": 67108863,
"color": null,
"liked": null,
"created_when": "2020-07-03T11:21:44.883000",
"modified_when": "2020-07-03T11:22:05.723756",
"visited_when": "2020-07-03T11:22:05.723762",
"status": 2,
"enrolled": true,
"personal_tags": [],
"parent_links": [
{
"base": {
"id": "3ce2b395-f553-479c-b207-aeb13d0109c8",
// not sure what this means. Another random ID?
"owner_id": "b2067d38-113c-46ee-9473-71c79f90bfd9",
// card owner ID (my ID).
"parent_card_id": "8d574da9-35a5-45bc-9a23-86c802cb0f74",
// parent card ID (Drafts)
"child_card_id": "3fd38821-0cf8-4abc-8051-fd50e22ae7c7",
// link to itself? Why? Don't understand this...
"primary": true,
"published": true,
"default_perms": -1,
"created_when": "2020-07-03T11:22:05.728946",
"modified_when": null
},
"parent_id": "ed885cc4-a203-486c-bba1-b41ded664d39",
// not sure what it is... Any hints?
"hidden": false,
"status": 2
}
],
"is_context": false,
"has_commented": false,
"held_published_child_count": 0,
"held_total_child_count": 0
}
]
Thanks in advance!