Change Repository Item (artifact) Locator
Moves an item to a different logical folder.
URL |
Copy
|
Method |
|
Header parameters
Name | Description |
---|---|
Perfecto-Authorization
|
Data parameters (body)
Parameter | Description |
---|---|
artifactLocator
|
Unique artifact identifier. Format:
where:
|
targetArtifactLocator
|
The new locator for the artifact. Same format as artifactLocator . |
override
|
Optional. Whether to override if an artifact with the same |
{
"artifactLocator":"", (Identifies artifact to change, mandatory)
"targetArtifactLocator":"", (new locator for artifact, mandatory)
"override": ""}
Success response
Code: 200
Error response
Error code | Reason |
---|---|
400 BAD REQUEST
|
Request included the wrong body content |
401 UNAUTHORIZED
|
Wrong security token |
404 NOT FOUND
|
Item does not exist |
500 INTERNAL_SERVER_ERROR
|
Internal error |