Copy As Export Package API
Copy As Export Package API
A servlet-based API endpoint for duplicating packages. The service accepts a package name parameter, creates a new package, and transfers all objects from the original. It returns JSON responses across multiple scenarios.
Endpoint
GET /html/en/default/rest/copyAsExportPackage?packageName=testPackage
Response Codes
- 200 OK - Success
- 400 Bad Request - Missing parameter, empty package name, or invalid package name
- 500 Internal Server Error - Other errors
Usage
This API allows you to programmatically duplicate Object Migration packages, which is useful for:
- Automated deployment workflows
- Creating backup copies of packages
- Testing and development scenarios
- Batch operations on multiple packages
The endpoint mimics the functionality available in the TRIRIGA UI but makes it accessible through REST calls for integration with external tools and scripts.