API only returning 100 projects

jarod moser's Avatar

jarod moser

28 Jul, 2020 07:50 PM

I'm unable to get all projects, only the first 100 using the /api/projects endpoint. Is there anyway to increase the limit on the number of returned projects?

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Jul, 2020 09:40 PM

    Feodor Fitsner's Avatar

    Hi Jarod,

    Use paged API:

    GET https://ci.appveyor.com/api/account/{account}/projects/paged?pageIndex=1[&pageSize=N]

    Note, you can always see REST API requests on "Network" tab of your browser developer console. UI uses the same API.

  2. 2 Posted by jarod moser on 28 Jul, 2020 10:45 PM

    jarod moser's Avatar

    Thanks Feodor, I did find that paged method using the network tab, but didn't find the pageSize in there.

    is there a sortby parameter also? or some other parameters that aren't documented?

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Jul, 2020 11:02 PM

    Feodor Fitsner's Avatar

    They are sorted by date and, currently, there's no way to specify sort by.

  4. Feodor Fitsner closed this discussion on 28 Sep, 2020 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac