qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-7773) REST API queries that identify a single object by its full path should return a object rather than a list.
Date Tue, 09 May 2017 11:47:04 GMT
Keith Wall created QPID-7773:
--------------------------------

             Summary: REST API queries that identify a single object by its full path should
return a object rather than a list.
                 Key: QPID-7773
                 URL: https://issues.apache.org/jira/browse/QPID-7773
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall
             Fix For: Future


Currently if I GET for, say a queue, by the object's full path {{/queue/vhn/vh/myqueue}},
I get a JSON list contain the queue object, rather than an object directly.  This makes the
REST API's abstraction inconsistent: I PUT a queue as an object, but GET gives me a list.

The REST API should be returning a list only in those situations where a multiple object response
could arise e.g. {{/queue/vhn/vh}}, wildcards or filtering.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message