column-layouts

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-column-layouts"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/414f6f2f-5611-4e21-96b4-7604b94ac49a/social-card.svg?v=3e7ae33eec8b" alt="column-layouts" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/column-layoutsScope insight:read

Parameters

project_idstringpathrequired
table_kindstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/column-layouts"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Page of ColumnLayout: the project's shared layouts and the caller's own
Example
{
  "data": [
    {
      "columns": [
        {}
      ],
      "created_at": "2024-01-01T00:00:00Z",
      "filters": {},
      "id": "string",
      "name": "string",
      "owner_id": "string",
      "sort": {},
      "table_kind": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataColumnLayout[]required
Show child parameters
columnsobject[]required
Ordered [{key, visible, width?}].
created_atstringrequired
filtersobject
Saved {and|or: [...]} property filters of the view, if any.
idstringrequired
namestringrequired
owner_idstring
Null = shared with the whole project.
sortobject
Saved {key, dir} sort of the view, if any.
table_kindstringrequired
events | persons | replays
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/column-layoutsScope insight:read

Parameters

project_idstringpathrequired

Request body

application/json
columnsrequired
Ordered [{key, visible, width?}].
filtersobject
Optional {and|or: [...]} property filters saved with the view.
namestringrequired
sharedboolean
Share with the whole project (needs write access); default is private to the caller.
sortobject
Optional {key, dir: asc|desc} sort saved with the view.
table_kindstringrequired
events | persons | replays | groups
{
  "columns": {},
  "filters": {},
  "name": "string",
  "shared": true,
  "sort": {},
  "table_kind": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/column-layouts" \
  -H "Content-Type: application/json" \
  -d '{"columns":{},"filters":{},"name":"string","shared":true,"sort":{},"table_kind":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "columns": [
    {}
  ],
  "created_at": "2024-01-01T00:00:00Z",
  "filters": {},
  "id": "string",
  "name": "string",
  "owner_id": "string",
  "sort": {},
  "table_kind": "string"
}
Schema
columnsobject[]required
Ordered [{key, visible, width?}].
created_atstringrequired
filtersobject
Saved {and|or: [...]} property filters of the view, if any.
idstringrequired
namestringrequired
owner_idstring
Null = shared with the whole project.
sortobject
Saved {key, dir} sort of the view, if any.
table_kindstringrequired
events | persons | replays
400
403
404
409
DELETEhttps://lucidace.com/v1/projects/{project_id}/column-layouts/{id}Scope insight:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/column-layouts/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/projects/{project_id}/column-layouts/{id}Scope insight:read

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
columns
filtersobject
null clears the saved filters; absent keeps them.
namestring
sortobject
null clears the saved sort; absent keeps it.
{
  "columns": {},
  "filters": {},
  "name": "string",
  "sort": {}
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/column-layouts/{id}" \
  -H "Content-Type: application/json" \
  -d '{"columns":{},"filters":{},"name":"string","sort":{}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409
Updated