You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2011/06/14 12:06:48 UTC

[jira] [Resolved] (APLO-46) Include current/total page info when the REST interface returns a paged result set

     [ 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