Return child blocks
Returns list of child blocks of parent block
Function ReturnChildBlocks(Val Token, Val BlockID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
BlockID | --block | String | ✔ | Parent block ID |
Returns: Map Of KeyAndValue - serialized JSON response from Notion
1C:Enterprise/OneScript code example
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Block = "26e82aa7-fc4e-812c-bec3-d1fa985f2e25";
Result = OPI_Notion.ReturnChildBlocks(Token, Block);
- Bash
- CMD/Bat
oint notion ReturnChildBlocks \
--token "***" \
--block "26f82aa7-fc4e-8146-8516-cd6b21cae2b2"
oint notion ReturnChildBlocks ^
--token "***" ^
--block "26f82aa7-fc4e-8146-8516-cd6b21cae2b2"
Result
{
"object": "list",
"results": [],
"next_cursor": null,
"has_more": false,
"type": "block",
"block": {},
"request_id": "80ced1ae-42d6-4828-9896-0f05c3e8d876"
}