List all children
Returns a list of the folder's children. The resource type of each item is determined by its object attribute. The resources are returned sorted by creation date, with the most recently created resources appearing first.
Parameters
No parameters.
Returns
Return a paginated response that contains an array of up to the specified limit of resources.
get
/api/folders/{id}/children
curl https://{workspace}.kitchen.co/api/folders/{id}/children \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"data": [
{
"archived_at": null,
"created_at": "2024-03-21T07:32:03+00:00",
"id": "tskb_5e22e833684835b70ea85e45",
"title": "The board title",
"updated_at": "2024-03-21T07:32:03+00:00",
"visibility": "internal"
},
{
"archived_at": null,
"created_at": "2024-03-12T12:54:41+00:00",
"id": "pe_12b3c33d7f42bcbd1b373ff9",
"title": "The embed title",
"updated_at": "2024-03-12T12:54:41+00:00",
"url": "https://example.com",
"visibility": "internal"
},
{
"archived_at": null,
"created_at": "2024-03-12T10:11:23+00:00",
"id": "doc_36e7eeabce00ecd1f5e9387a",
"title": "The doc title",
"updated_at": "2024-03-12T10:11:23+00:00",
"visibility": "internal"
},
{
"archived_at": null,
"created_at": "2024-03-07T07:47:02+00:00",
"id": "convr_1lbg89ha9ttb5dmxuldku3nx",
"latest_message_created_at": null,
"latest_message": null,
"messages_count": 0,
"status": "open",
"title": "New Conversation",
"updated_at": "2024-03-07T07:47:02+00:00",
"visibility": "shared"
}
],
"links": {
"first": "/api/folders/fo_19b9108c92d98f81224ece44/children?page=1",
"last": "/api/folders/fo_19b9108c92d98f81224ece44/children?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/api/folders/fo_19b9108c92d98f81224ece44/children?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/api/folders",
"per_page": 20,
"to": 4,
"total": 4
}
}