Skip to main content

Widget API

Retrieve the Labii widget catalog.

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 widget listGET/widgets/widget/list/organization/{{organization_sid}}/list/
Get widget detailGET/widgets/widget/detail/{{widget_sid}}/
Get widget categoriesGET/widgets/category/

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, icon, name, type, category, category_display, sub_category, sub_category_display, company, version, release_date, subscription_price, notes, related_to, allow_multiple, is_readonly, is_public, status, documentation_url, screenshot_url, change_permission, verbose_name

Detail response: sid, icon, name, category, category_display, sub_category, sub_category_display, company, notes, description, documentation_url, screenshot_url, type, constructor, related_to, version, release_date, order, subscription_price, allow_multiple, is_readonly, metadata_labels, data, copy_exclude_paths, change_permission, help_text, verbose_name

Write serializer: sid, icon, name, name_translations, category, sub_category, sub_category_translations, company, notes, notes_translations, description, description_translations, documentation_url, documentation_url_translations, screenshot_url, type, constructor, uischema, version, release_date, order, subscription_price, allow_multiple, is_readonly, is_archived, is_public, available_to, metadata_labels, data, copy_exclude_paths, 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,
"icon": null,
"name": null,
"type": null,
"category": null,
"category_display": null,
"sub_category": null,
"sub_category_display": null,
"company": null,
"version": null,
"release_date": null,
"subscription_price": null,
"notes": null,
"related_to": null,
"allow_multiple": null,
"is_readonly": null,
"is_public": null,
"status": null,
"documentation_url": null,
"screenshot_url": 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,
"icon": null,
"name": null,
"category": null,
"category_display": null,
"sub_category": null,
"sub_category_display": null,
"company": null,
"notes": null,
"description": null,
"documentation_url": null,
"screenshot_url": null,
"type": null,
"constructor": null,
"related_to": null,
"version": null,
"release_date": null,
"order": null,
"subscription_price": null,
"allow_multiple": null,
"is_readonly": null,
"metadata_labels": null,
"data": null,
"copy_exclude_paths": null,
"change_permission": null,
"help_text": null,
"verbose_name": null
}

Example request​

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