SCA API 2.0
/- Get Library Details
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 Versions
Get Library Projects In Organization
Remove Library License References
Revert Library User Licenses
Get Library Details
Returns a single library's details
Security
bearer-key
GET
curl -i -X GET \
'https://api-saas.mend.io/api/v2.0/orgs/{orgToken}/libraries/{libraryUuid}?ignoreManualData=false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "dbus-1.10.24-13.el7_6.x86_64.rpm", "artifactId": "kind-of-6.0.2.tgz", "groupId": "kind-of", "version": "string", "architecture": "string", "languageVersion": "string", "classifier": "string", "extension": "string", "sha1": "01146b36a6218e64e58f3a8d66de5d7fc6f6d051", "description": "Get the native type of a value.", "type": "javascript/Node.js", "libraryType": "string", "directDependency": true, "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.8.0?type=jar", "extraInfo": { … }, "extraInformation": { … }, "licenses": [ … ], "copyrightReferences": [ … ], "securityRisks": [ … ], "noticeReference": { … }, "proprietaryInfo": { … }, "attributionReportSettings": { … }, "dependencyType": "string", "violations": 22, "workflowUuids": 2, "violatingFindings": 2, "trackedIssue": { … } } }