メインコンテンツまでスキップ

Schema Discovery

Discover the structure of your Docwize instance at runtime. These endpoints let you enumerate all filterable fields — both core document columns and custom field template columns — and retrieve their distinct values.

Use these endpoints to build dynamic filter UIs, validate values before constructing search queries, or populate autocomplete dropdowns.


Endpoints

MethodPathDescriptionScope
GET/apiv2/pub/schema/fieldsList all filterable fields (document + custom fields)documents_read
GET/apiv2/pub/schema/values/{field_name}Get distinct values for any fielddocuments_read