- 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).
Request body containing remapping details. Fields: sourceFileUuids (required, array), targetLibraryUuid (conditional, UUID string - use if remapping from search for a match), matchSuggestionId (conditional, base64 string - use if remapping from match suggestion), comment (optional, string), sendEmailNotification (optional, boolean). IMPORTANT: Provide exactly one of targetLibraryUuid OR matchSuggestionId, not both.
The UUID of the library to which source files should be remapped. Exactly one of targetLibraryUuid or matchSuggestionId must be provided
The Id of the library to which source files should be remapped. Exactly one of targetLibraryUuid or matchSuggestionId must be provided
Whether to send email notification upon completion of the remapping operation
- Generated server urlhttps://baseUrl/api/v3.0/orgs/{orgUuid}/dependencies/sourceFiles/remapping
{ "targetLibraryUuid": "123e4567-e89b-12d3-a456-426655440000", "matchSuggestionId": "ZWJlMTZhZjYtMmE2YS00MWQ1LWFiNTQtYWQ3YWE3OWZhNzFl", "sourceFileUuids": [ "123e4567-e89b-12d3-a456-426655440000" ], "comment": "string", "sendEmailNotification": true, "originalLibraryUuid": "123e4567-e89b-12d3-a456-426655440000" }
Remapping job accepted and initiated
The unique identifier of the async process
The current status of the async process
{ "uuid": "caf69794-9882-4b55-82db-6b6da4fe2a92", "status": "PENDING", "userEmail": "user@example.com", "requestToken": "2cd6a43b" }