Pagination workaround is not working for pipelines endpoint in API 2

XMLWordPrintable

      This is somehow related to :

      BCLOUD-13806

      I want to fetch my 50 last pipelines (because I cannot filter on this API, actually, I just want to get my last pipeline for a given branch).

      To do so, since I can't simply ask to give me the 50 last pipelines, I need to do this :

      which gives me a total of size=10415 pipelines

      then, I divide size by pagelen=208 (10415 / 50)

      then,

      returns empty lists of pipelines, whereas it should return my last pipelines (modulo 50).

      returns correct list, so I'm missing all my last pipelines (starting at page 201)

      I haven't found any workaround.

      Also note that everything would much simpler if we could add an order parameter to the query.

            Assignee:
            Unassigned
            Reporter:
            Bruno RZN
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: