Resource Search Fields
Returns the list of custom fields that the operator has made searchable for resources. Used to build dynamic filter UIs on the booking/resource pages.
Authentication
No authentication required.
Response
Fields
ResourceCustomField[]
required
Array of searchable custom field definitions.
Examples
Fetch searchable fields
GET /api/public/resources/fields/searchable
TypeScript Integration
import endpoints from '@/api/endpoints'
const { resource: fields } = useTypedData(httpClient, endpoints.resources.searchFields())