Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Lieutenant Commander Lieutenant Commander
Lieutenant Commander
178 views

Rest API - projectVersions

How can retrieve all values from the API call?  I am getting only the first 200.

GET request

https://fortifyURL/ssc/api/v1/projectVersions

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

For assistance with the different parameters and values for SSC API endpoints, be sure to check the Swagger page for assistance - http://fortify-ssc/ssc/html/docs/api-reference/index.jsp#/project-version-controller/listProjectVersion

api-project-versions-limit.png

Based off this, the default URL is:

http://fortify-ssc/ssc/api/v1/projectVersions?start=0&limit=200&fulltextsearch=false&includeInactive=false&myAssignedIssues=false&onlyIfHasIssues=false

In order to "remove" the limit set it to 0 or -1. In the example below, I chose 0:

http://fortify-ssc/ssc/api/v1/projectVersions?start=0&limit=0&fulltextsearch=false&includeInactive=false&myAssignedIssues=false&onlyIfHasIssues=false

  

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.