Add filterset field data to uiSchema in REST API for all models with filtersets #4462
Closed
12 tasks
Labels
type: feature
Introduction of new or enhanced functionality to the application
As ...
Cora - Coder
I want ...
To be able to access filterset information in the REST API
So that ...
I can build the dynamic filter form in the Nautobot 2.0 React UI
I know this is done when...
The uiSchema for all models includes a json schema similar to:
Where the top level key is the filter
label
and the value is derived from the filters in the filterset. This will eventually be a consolidation of the functionality already built into the/api/ui/core/filterset-fields/lookup-value-dom-element/
and/api/core/filterset-fields/lookup-choices/
but moving them to the list view OPTIONS request uiSchema key and building the information for the entire filterset by iterating over theFilterSet().filters.keys()
.Optional - Feature groups this request pertains to.
Database Changes
No
External Dependencies
No response
The text was updated successfully, but these errors were encountered: