Limits on issues

Issue #48 invalid
Eugene Suvorov created an issue

I try to get issues using api like this

curl -u [login]:[password] https://api.bitbucket.org/1.0/repositories/mastertsru60/master/issues

And i get following response:

Array
(
    [count] => 24
    [filter] => Array
        (
        )

    [search] => 
    [issues] => Array
        (
            [here 15 items]
        )

Count return number 24 - it's right, but array returns only 15 items.

What colud it be, how can I get all records?

Comments (2)

  1. Alexandru Guzinschi

    Response is paginated and per default you get 15 items per page.

    You can get the next page by specifying offset to start at:

    ?start=15 // page 2
    ?start=30 // page 3
    
  2. Log in to comment