Copy As Export Package API
August 23, 2023
The copy feature in Object Migration but as an API.
This is a servlet that takes in a parameter which is, obviously, the name of the package that we want to copy. Creates a new package and copies all objects in the original package. Returns JSON responses for all scenarios.
GET
- Success returns 200 OK
- No param returns 400 Bad Request
- Empty package name returns 400 Bad Request
- Invalid package name returns 400 Bad Request
- Any other error returns 500 Internal Server Error