Skip to main content

Table API

Create, retrieve, and update tables.

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 table listGET/tables/table/list/organization/{{organization_sid}}/list/
Create tablePOST/tables/table/list/organization/{{organization_sid}}/list/
Get table detailGET/tables/table/detail/{{table_sid}}/
Update tablePATCH/tables/table/detail/{{table_sid}}/
Get table templatesGET/tables/table/templates/

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: icon, name_singular, name_plural, ref, sid, unique_code, order, change_permission, readonly_fields, clickable_field, hidden_fields, hidden_fields_detail, groups, verbose_name

Detail response: sid, icon, name, name_singular, name_plural, name_system, ref, description, unique_code, uid_format, should_support_custom_uid, name_display_name, name_help_text, name_display_format, should_allow_duplicated_names, description_display_name, description_help_text, default_list_view, default_filters, default_detail_view, default_add_query, teams_can_add, should_limit_edit_to_owner, fields_to_display, fields_to_display_for_detail, should_enable_section_complete_action, ordering, sign_condition, minimum_number_of_signers, columns, order, number_of_records, print_header, print_footer, metadata, required_certifications, application, is_archived, updated_by, date_updated, date_created, change_permission, readonly_fields, clickable_field, hidden_fields, hidden_fields_detail, groups, help_text, verbose_name

Write serializer: sid, organization, icon, ref, name_singular, name_plural, description, unique_code, uid_format, should_support_custom_uid, name_display_name, name_help_text, name_display_format, should_allow_duplicated_names, description_display_name, description_help_text, order, print_header, print_footer, metadata, default_add_query, default_list_view, default_filters, default_detail_view, teams_can_add, should_limit_edit_to_owner, fields_to_display, fields_to_display_for_detail, should_enable_section_complete_action, ordering, sign_condition, minimum_number_of_signers, required_certifications, is_archived, 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": [
{
"icon": null,
"name_singular": null,
"name_plural": null,
"ref": null,
"sid": null,
"unique_code": null,
"order": null,
"change_permission": null,
"readonly_fields": null,
"clickable_field": null,
"hidden_fields": null,
"hidden_fields_detail": null,
"groups": 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,
"icon": null,
"name": null,
"name_singular": null,
"name_plural": null,
"name_system": null,
"ref": null,
"description": null,
"unique_code": null,
"uid_format": null,
"should_support_custom_uid": null,
"name_display_name": null,
"name_help_text": null,
"name_display_format": null,
"should_allow_duplicated_names": null,
"description_display_name": null,
"description_help_text": null,
"default_list_view": null,
"default_filters": null,
"default_detail_view": null,
"default_add_query": null,
"teams_can_add": null,
"should_limit_edit_to_owner": null,
"fields_to_display": null,
"fields_to_display_for_detail": null,
"should_enable_section_complete_action": null,
"ordering": null,
"sign_condition": null,
"minimum_number_of_signers": null,
"columns": null,
"order": null,
"number_of_records": null,
"print_header": null,
"print_footer": null,
"metadata": null,
"required_certifications": null,
"application": null,
"is_archived": null,
"updated_by": null,
"date_updated": null,
"date_created": null,
"change_permission": null,
"readonly_fields": null,
"clickable_field": null,
"hidden_fields": null,
"hidden_fields_detail": null,
"groups": null,
"help_text": null,
"verbose_name": null
}

Example request​

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