Column
API for Column object
Method & Permission
Column List
GET
{{ base_url }} /tables/column/list/{level}/{sid}/{serializer}/
Path Parameters
Query Parameters
Headers
# serializer = name
{
"page_size": 10,
"page_number": 1,
"page_count": 7,
"count": 1,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"sid": "xxx",
"name": "date_start"
},
...
]
}
# serializer = list
{
"page_size": 10,
"page_number": 1,
"page_count": 7,
"count": 1,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"sid": "xxx",
"name": "date_start",
"description": "The start date of the expriment.",
"widget": {
"sid": "xxx",
"name": "Date",
"documentation_url": "https://docs.labii.com/widgets/column-widgets#date"
},
"default_value": null,
"is_required": true,
"is_hidden": false,
"is_archived": false,
"order": 1,
"table": {
"sid": "xxx",
"name": "experiments"
},
"change_permission": true
},
...
]
}
# serializer = detail
{
"page_size": 10,
"page_number": 1,
"page_count": 7,
"count": 1,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"sid": "xxx",
"name": "date_start",
"name_system": null,
"description": "The start date of the expriment.",
"widget": {
"sid": "xxx",
"name": "Date",
"documentation_url": "https://docs.labii.com/widgets/column-widgets#date"
},
"default_value": null,
"order": 1,
"is_required": true,
"is_hidden": false,
"metadata": {
},
"table": {
"sid": "xxx",
"name": "experiments"
},
"is_archived": false,
"date_created": "2020-05-25T00:35:21.253211Z",
"change_permission": true
},
...
]
}
Column List
POST
{{ base_url }} /tables/column/list/{level}/{sid}/{serializer}/
Path Parameters
Query Parameters
Headers
Request Body
{
"sid": "xxx",
"name": "date_start",
"name_system": null,
"description": "The start date of the expriment.",
"widget": {
"sid": "xxx",
"name": "Date",
"documentation_url": "https://docs.labii.com/widgets/column-widgets#date"
},
"default_value": null,
"order": 1,
"is_required": true,
"is_hidden": false,
"metadata": {
},
"table": {
"sid": "xxx",
"name": "experiments"
},
"is_archived": false,
"date_created": "2020-05-25T00:35:21.253211Z",
"change_permission": true
}
Error: Widget is not valid!
Column Detail
GET
{{ base_url }} /tables/column/detail/{sid}/
Path Parameters
Headers
{
"sid": "xxx",
"name": "date_start",
"name_system": null,
"description": "The start date of the expriment.",
"widget": {
"sid": "xxx",
"name": "Date",
"documentation_url": "https://docs.labii.com/widgets/column-widgets#date"
},
"default_value": null,
"order": 1,
"is_required": true,
"is_hidden": false,
"metadata": {
},
"table": {
"sid": "xxx",
"name": "experiments"
},
"is_archived": false,
"date_created": "2020-05-25T00:35:21.253211Z",
"change_permission": true
}
Column Detail
PATCH
{{ base_url }} /tables/column/detail/{sid}/
Path Parameters
Headers
Request Body
{
"sid": "xxx",
"name": "date_start",
"name_system": null,
"description": "The start date of the expriment.",
"widget": {
"sid": "xxx",
"name": "Date",
"documentation_url": "https://docs.labii.com/widgets/column-widgets#date"
},
"default_value": null,
"order": 1,
"is_required": true,
"is_hidden": false,
"metadata": {
},
"table": {
"sid": "xxx",
"name": "experiments"
},
"is_archived": false,
"date_created": "2020-05-25T00:35:21.253211Z",
"change_permission": true
}
Last updated