v1
latestOpenAPI 3.0.12026-08-06151265417.9 KBDependencies Source Files
Remap source files at organization level
Remaps the specified source files to a target library across the entire organization. This operation runs asynchronously and returns 202 Accepted with async process status. Requires exactly one of: targetLibraryUuid OR matchSuggestionId (not both, not neither). Request body fields: sourceFileUuids (required, array), targetLibraryUuid (conditional), matchSuggestionId (conditional), comment (optional), sendEmailNotification (optional, boolean).
post/api/v3.0/orgs/{orgUuid}/dependencies/sourceFiles/remapping
Path parameters
orgUuidstring required
org UUID (from the Mend App: Administration General > Organization UUID).
Request body
Example request
{
"targetLibraryUuid": "123e4567-e89b-12d3-a456-426655440000",
"matchSuggestionId": "ZWJlMTZhZjYtMmE2YS00MWQ1LWFiNTQtYWQ3YWE3OWZhNzFl",
"sourceFileUuids": [
"123e4567-e89b-12d3-a456-426655440000"
],
"sendEmailNotification": true,
"originalLibraryUuid": "123e4567-e89b-12d3-a456-426655440000"
}Response
Remapping job accepted and initiated
Example response
{
"uuid": "caf69794-9882-4b55-82db-6b6da4fe2a92",
"status": "PENDING",
"userEmail": "user@example.com",
"requestToken": "2cd6a43b"
}