Get root folder for an illustration
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
GET /api/v1/illustration/{illustration_uuid}/documents
curl \
-X GET https://api.plannrcrm.com/api/v1/illustration/illustration_uuid/documents \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"name": "Important Documents",
"path": "Codepotato/Important Documents",
"slug": "important-documents",
"uuid": "fc162579-3739-45fe-a7d9-9038f58cb44e",
"depth": 5,
"files": [
{
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Welcome to Plannr",
"size": "21691783",
"tags": "App\\Http\\Resources\\TagResource",
"type": "type",
"uuid": "b40e34b5-7276-43b6-8590-fe6867b9244a",
"parent": "Object",
"status": "uploaded",
"account": "App\\Http\\Resources\\AccountResource",
"filename": "Welcome to Plannr.pdf",
"progress": "100",
"extension": "pdf",
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"folder_name": "folder 2",
"uploaded_at": "2024-11-20T13:24:00+00:00",
"download_url": "https://plannr.valet/file/e8c4d3ab-0c3e-4c0a-b2ef-5414d7dfbf96/download",
"last_modified": "2024-11-20T13:24:00+00:00",
"original_created_at": "2024-11-20T13:24:00+00:00"
}
],
"owned": false,
"parent": {
"name": "Important Documents",
"path": "Codepotato/Important Documents",
"slug": "important-documents",
"uuid": "52f8315c-2e84-4abd-bb2e-5b0b4e06c7d5",
"depth": 5,
"files": "App\\Http\\Resources\\FileResource",
"owned": false,
"parent": "App\\Http\\Resources\\FolderResource",
"folders": "App\\Http\\Resources\\FolderResource",
"parents": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"files_count": 8,
"clients_read": true,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"clients_write": true,
"folders_count": 5,
"is_root_folder": true,
"is_pseudo_folder": true,
"is_system_folder": true,
"participants_count": 3,
"show_client_permissions": true
},
"folders": [
{
"name": "Important Documents",
"path": "Codepotato/Important Documents",
"slug": "important-documents",
"uuid": "d92d6bfc-bb72-47b1-8471-d6bcbcdfc0b5",
"depth": 5,
"files": "App\\Http\\Resources\\FileResource",
"owned": false,
"parent": "App\\Http\\Resources\\FolderResource",
"folders": "App\\Http\\Resources\\FolderResource",
"parents": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"files_count": 8,
"clients_read": true,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"clients_write": true,
"folders_count": 5,
"is_root_folder": true,
"is_pseudo_folder": true,
"is_system_folder": true,
"participants_count": 3,
"show_client_permissions": true
}
],
"parents": [
{
"name": "Important Documents",
"path": "Codepotato/Important Documents",
"slug": "important-documents",
"uuid": "983cf571-90d1-4299-97b4-e282e4ac59d4",
"depth": 5,
"files": "App\\Http\\Resources\\FileResource",
"owned": false,
"parent": "App\\Http\\Resources\\FolderResource",
"folders": "App\\Http\\Resources\\FolderResource",
"parents": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"files_count": 8,
"clients_read": true,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"clients_write": true,
"folders_count": 5,
"is_root_folder": true,
"is_pseudo_folder": true,
"is_system_folder": true,
"participants_count": 3,
"show_client_permissions": true
}
],
"children": [
{
"name": "Important Documents",
"path": "Codepotato/Important Documents",
"slug": "important-documents",
"uuid": "5a53bf3c-ef4a-4ebb-a4ab-995472d9b3c2",
"depth": 5,
"files": "App\\Http\\Resources\\FileResource",
"owned": false,
"parent": "App\\Http\\Resources\\FolderResource",
"folders": "App\\Http\\Resources\\FolderResource",
"parents": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"files_count": 8,
"clients_read": true,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"clients_write": true,
"folders_count": 5,
"is_root_folder": true,
"is_pseudo_folder": true,
"is_system_folder": true,
"participants_count": 3,
"show_client_permissions": true
}
],
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00",
"files_count": 8,
"clients_read": true,
"participants": [
{
"name": "Gareth Thompson",
"uuid": "eef81350-5fff-4851-8bc4-bf732888756d",
"write": true,
"created_at": "2024-11-20T13:24:00+00:00",
"updated_at": "2024-11-20T13:24:00+00:00"
}
],
"clients_write": true,
"folders_count": 5,
"is_root_folder": true,
"is_pseudo_folder": true,
"is_system_folder": true,
"participants_count": 3,
"show_client_permissions": true
}