When using the EndPoint Get Folder https://api.lucid.co/folders/{id}
If the folder is in a Team Folder, the json response returns:
"id": 123456789,
"type": "folder",
"name": "Folder Name",
"created": "2020-06-26T16:29:37Z",
"trashed": "2022-01-20T12:14:18Z",
"attributes": [
{
"name": "Sample Label",
"value": "Sample Value"
}
]
without Parent field which could crash your logic to decode the result.
If the folder is elsewhere (MyDocument, ...) the parent is returned.
"id": 123456789,
"type": "folder",
"name": "Folder Name",
"parent": 123456788,
"created": "2020-06-26T16:29:37Z",
"trashed": "2022-01-20T12:14:18Z",
"attributes": [
{
"name": "Sample Label",
"value": "Sample Value"
}
]
Very strange IMHO.
Regards.