You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Daniil Kirilyuk (Jira)" <ji...@apache.org> on 2022/04/05 09:28:00 UTC
[jira] [Created] (QPID-8581) [Broker-J] Broker-J Query REST API improvements
Daniil Kirilyuk created QPID-8581:
-------------------------------------
Summary: [Broker-J] Broker-J Query REST API improvements
Key: QPID-8581
URL: https://issues.apache.org/jira/browse/QPID-8581
Project: Qpid
Issue Type: Improvement
Components: Broker-J
Affects Versions: qpid-java-broker-8.0.6
Reporter: Daniil Kirilyuk
Existing broker REST API (including broker query API) doesn’t support such functions as aggregation, grouping and using nested logical operators, which could be useful for gathering broker statistics and reporting.
We suggest to add a new POST method for the endpoint /api/latest/querybroker and supply search criteria using JSON body. (Existing GET method implementation should stay without changes for keeping backwards compatibility and because of difficulties of parsing complicated search conditions from URI parameters when using GET request method).
The new functionality should add
* logical OR operator (absent in current API)
* aggregation operators AVG, CNT, MAX, MIN, SUM
* grouping aggregation
* new numeric / datetime / string functions
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org