v1
latestOpenAPI 3.0.12026-08-06151265417.9 KBDependencies Source Files
Get Mend library suggestions for source files at project level
Returns Mend library suggestions for the specified source file UUIDs. Request body requires: sourceFileUuids (array), recommendedForAllFiles (boolean). Supports same search filters as searchForMatch: date, license, name, owner, version.
post/api/v3.0/projects/{projectUuid}/dependencies/sourceFiles/matchSuggestions
Path parameters
projectUuidstring required
UUID of the project
Request body
Example request
{
"sourceFileUuids": [
"123e4567-e89b-12d3-a456-426655440000"
],
"applicationUuids": [
"123e4567-e89b-12d3-a456-426655440000"
]
}Response
OK
Example response
{
"supportToken": "1171c60d",
"response": [
{
"name": "openssl",
"sha1": "49f6cb968ff63793f6671d9026fb2a7034dad79a",
"licenses": [
{
"name": "MIT",
"severity": "High"
}
],
"version": "OpenSSL_1_0_1",
"owner": "openssl",
"url": "https://github.com/openssl/openssl.git",
"date": "2012-03-14T12:39:00Z",
"matchSuggestionId": "ZWJlMTZhZjYtMmE2YS00MWQ1LWFiNTQtYWQ3YWE3OWZhNzFl"
}
]
}