activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (APLO-46) Include current/total page info when the REST interface returns a paged result set
Date Tue, 14 Jun 2011 10:06:48 GMT

     [ https://issues.apache.org/jira/browse/APLO-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hiram Chirino resolved APLO-46.
-------------------------------

    Resolution: Fixed

Implemented.  Wrapping json object now looks like:

{
  "page":0,
  "page_size":100,
  "total_pages":1,
  "total_rows":2,
  "headers":[
    "*"
  ],
  "rows":[    
  ]
}

> Include current/total page info when the REST interface returns a paged result set
> ----------------------------------------------------------------------------------
>
>                 Key: APLO-46
>                 URL: https://issues.apache.org/jira/browse/APLO-46
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>          Components: apollo-web
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta4
>
>
> Right now when you access a URL like http://localhost:61680/broker/connections.json you
get a JSON array of records which is paged but you do not know how many more pages of results
there are.  Would be better if that result array was wrapped in an object that provided a
little more context.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message