Rich-text Reply

V2 API limited to first 25 projects

RyanC 12-01-16
Accepted Solution

V2 API limited to first 25 projects

I'm currently migrating some code from v1 to v2 of the Optimizely API, however the API only returns the first 25 projects. When using V1 the whole list of projects used to be returned.

 

Following API reference:

https://developers.optimizely.com/x/rest/v2/#list-projects

Ryan
------------------------------------------------
The best solution is the simplest.

https://www.linkedin.com/in/ryan-camilleri
http://midnightknights.com
Experimentation Hero

RyanC 12-02-16
 

Re: V2 API limited to first 25 projects

Answer from support:

 

By default, requests are limited to 25 items. You can use pagination to page through more than 25 items. We have a dedicated article on this topic that may be of interest to you. You can check it out by clicking here.

Ryan
------------------------------------------------
The best solution is the simplest.

https://www.linkedin.com/in/ryan-camilleri
http://midnightknights.com
Experimentation Hero