Views
Views are saved searches: a set of filters, a sort order, and display settings that stay up to date as files change.
Get the dynamic views for a drive
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
GET /dynamic-views?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"filters": [
{
"id": null,
"options": [
{
"client_val": "text",
"server_val": "text",
"icon": "text"
}
],
"clause": "is",
"ignore_options": true
}
],
"columns": [
"text"
],
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"is_locked": true,
"is_private": true,
"display_settings": {
"card_size": 1,
"thumbnail_view": "text",
"thumbnail_size": "text",
"view": "text",
"metadata_attribute_ids": [
"text"
],
"flatten_directories": true,
"tile_rounded": true
},
"icon": "text",
"icon_type": "color",
"sort": "text"
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe dynamic view name to update
The dynamic view icon to update
The dynamic view icon type to update
If locked, other users cannot modify the dynamic view.
falseIf private, only the owner can see this dynamic view.
falseThe dynamic view sort to update (include '-' at beginning for descending)
Successful Response
Not found
Validation Error
POST /dynamic-views?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 406
{
"name": "text",
"display_settings": {
"card_size": 1,
"thumbnail_view": "text",
"thumbnail_size": "text",
"view": "text",
"metadata_attribute_ids": [
"text"
],
"flatten_directories": true,
"tile_rounded": true
},
"icon": "text",
"icon_type": "color",
"is_locked": false,
"is_private": false,
"filters": [
{
"id": null,
"options": [
{
"client_val": "text",
"server_val": "text",
"icon": "text"
}
],
"clause": "is",
"ignore_options": true
}
],
"sort": "text"
}No content
Modify a dynamic view for a drive
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe dynamic view name to update
The dynamic view columns to update
The dynamic view icon to update
The dynamic view icon type to update
The dynamic view sort to update (include '-' at beginning for descending)
If locked, other users cannot modify the dynamic view.
falseIf private, only the owner can see this dynamic view.
falseSuccessful Response
Not found
Validation Error
PUT /dynamic-views/{dynamic_view_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 425
{
"name": "text",
"filters": [
{
"id": null,
"options": [
{
"client_val": "text",
"server_val": "text",
"icon": "text"
}
],
"clause": "is",
"ignore_options": true
}
],
"columns": [
"text"
],
"display_settings": {
"card_size": 1,
"thumbnail_view": "text",
"thumbnail_size": "text",
"view": "text",
"metadata_attribute_ids": [
"text"
],
"flatten_directories": true,
"tile_rounded": true
},
"icon": "text",
"icon_type": "color",
"sort": "text",
"is_locked": false,
"is_private": false
}No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
DELETE /dynamic-views/{dynamic_view_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eOperating System Enum from the result of platform.system()
Successful Response
Not found
Validation Error
GET /dynamic-views/{dynamic_view_id}/exports/{export_format}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
textLast updated
Was this helpful?

