Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

ObjectStateTermAggregation

The ObjectStateTermAggregation aggregates search results by the content item's object state.

Arguments

  • name - name of the Aggregation object
  • objectStateGroupIdentifier - string representing the identifier of the object state group to aggregate results by

Example

You can use this Aggregation over the REST API, in the Aggregations element of the payload of the POST /views request:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
"Query": {
    "Aggregations": [
        {
            "ObjectStateTermAggregation": {
                "name": "object_states",
                "objectStateGroupIdentifier": "ibexa_lock"
            }
        }
    ]
}