Skip to main content

Row API

Create, retrieve, and update table rows (records).

All paths are relative to https://www.labii.dev and require bearer authentication unless noted otherwise. Replace each placeholder with an identifier from your Labii environment.

Endpoints​

OperationMethodPath
Get row listGET/tables/row/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}}
Create rowPOST/tables/row/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}}
Get row detailGET/tables/row/detail/{{row_sid}}/
Update rowPATCH/tables/row/detail/{{row_sid}}/
Create rows in bulkPOST/tables/row/bulk/organization/{{organization_sid}}/
Get row with columnsGET/tables/row/column/{{row_sid}}/
Get row with sectionsGET/tables/row/section/{{row_sid}}/
Get row with section namesGET/tables/row/sectionname/{{row_sid}}/
Duplicate row representationGET/tables/row/duplicate/{{row_sid}}/
Upload a file to a rowPOST/tables/row/upload/{{row_sid}}/
Get template listGET/tables/template/list/organization/{{organization_sid}}/list/
Create templatePOST/tables/template/list/organization/{{organization_sid}}/list/
Get template detailGET/tables/template/detail/{{row_sid}}/
Update templatePATCH/tables/template/detail/{{row_sid}}/

The final URL segment on list endpoints selects the response serializer. The examples use list; supported endpoints can also expose representations such as name or detail.

Serializer fields​

List response item: sid, uid, name, description, column_set, workspaces, owner, is_template, is_archived, date_created, date_updated, updated_by, change_permission, verbose_name

Detail response: sid, uid, version, table, workspaces, name, description, column_set, section_set, is_template, is_archived, is_locked, metadata, updated_by, date_updated, owner, date_created, data, change_permission, help_text, verbose_name

Write serializer: sid, uid, table, workspaces, name, description, is_template, is_locked, is_archived, metadata, data, owner, updated_by, date_updated, date_created

The write serializer is the backend validation schema. The view may populate identity, parent, and audit fields from the URL or authenticated user, and may disallow fields for a particular operation.

List response JSON​

The values below are placeholders that show the exact keys returned by the current list serializer. They do not indicate that every field is nullable.

{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 1,
"next": null,
"previous": null,
"add_permission": false,
"results": [
{
"sid": null,
"uid": null,
"name": null,
"description": null,
"column_set": null,
"workspaces": null,
"owner": null,
"is_template": null,
"is_archived": null,
"date_created": null,
"date_updated": null,
"updated_by": null,
"change_permission": null,
"verbose_name": null
}
]
}

Detail response JSON​

The values below are placeholders that show the exact keys returned by the current detail serializer. Nested relationship and metadata values depend on the resource.

{
"sid": null,
"uid": null,
"version": null,
"table": null,
"workspaces": null,
"name": null,
"description": null,
"column_set": null,
"section_set": null,
"is_template": null,
"is_archived": null,
"is_locked": null,
"metadata": null,
"updated_by": null,
"date_updated": null,
"owner": null,
"date_created": null,
"data": null,
"change_permission": null,
"help_text": null,
"verbose_name": null
}

Example request​

curl --request GET \
--url 'https://www.labii.dev/tables/row/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}}' \
--header 'Authorization: Bearer <api_key>'