Data Structure Filters
Returns the available data-structure filter buckets for the current request context.
Uses the active search_permission from the request. The response is permission-aware and varies by the caller's visibility and the active permission scope.
Data structure filters
Unauthorized
Internal Server Error
GET /api/data_structure_filters HTTP/1.1
Accept: */*
{
"data": {
"system_id": [
"1"
],
"type": [
"TABLE"
]
}
}Retrieves hierarchical bucket paths for the supplied filter payload.
Uses the request's active search permission.
The response is designed for UI expansion of hierarchical filters and includes the nested path structure plus the filtered child information used by the client.
Bucket name
Prefix to filter paths
Bucket paths response
Unauthorized
Internal Server Error
POST /api/buckets/paths HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"bucket": "some-bucket",
"prefix": "data/"
}{
"filtered_children": {
"1": [
2,
3
],
"4": []
},
"forest": {
"1": {
"2": {},
"3": {}
},
"4": {}
}
}Searches data-structure filter values using the supplied payload and the caller's permission context.
Permission overrides:
my_grant_requests = trueevaluates filter visibility in the 'Create grant request' permission context.link_structures = trueevaluates filter visibility in the 'Link structures' permission context.Otherwise, the endpoint uses the default search permission already assigned to the request.
Other request values allowed: query, filters, page and size (optional), scroll and scroll_id for scroll-based pagination
Filter search payload used to compute permission-aware aggregation values for data structures. The request can run against the default search permission or override it with either my_grant_requests or link_structures to adapt the permission context. Common values include query, filters, page (default 0), size (default 50), scroll, and scroll_id.
If true, computes filter values for structures that the current user can link.
falseExample: trueIf true, computes filter values in the grant-request context for the current user.
falseExample: truePage number for pagination.
0Example: 0Full-text search query used to narrow the filter candidates.
nameScroll timeout value, for example 1m.
1mScroll ID for retrieving the next section of results.
some_scroll_idPage size for paginated results.
50Example: 20Filtered results
Unauthorized
Internal Server Error
POST /api/data_structure_filters/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"filters": {
"system_id": 1
},
"my_grant_requests": true,
"page": 0,
"query": "name",
"size": 20
}{
"data": {
"system_id": [
"1"
],
"type": [
"TABLE"
]
}
}Last updated