SCA API 2.0
/- Get Library Versions
Get Library Notices
Set Library Notice
Assign Library License
Set Library Copyright
Revert Library User Copyrights
Get Organization In-House Libraries
Mark/Unmark Library As In-House
Get Library Version Vulnerability Trends
Get Library Projects In Organization
Get Library Details
Remove Library License References
Revert Library User Licenses
Get Library Versions
Returns a list of a library's versions
Security
bearer-key
GET
curl -i -X GET \
'https://api-saas.mend.io/api/v2.0/orgs/{orgToken}/libraries/{libraryUuid}/versions?pageSize=50&page=0&removeUnstableVersions=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
- totalItems: The total count of data points returned in an API response.
- isLastPage: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
Example:
{ "totalItems": "422", "isLastPage": "true" }
Response
{ "additionalData": { "totalItems": "422", "isLastPage": "true" }, "supportToken": "1171c60d", "retVal": [ { … } ] }