Restore artifacts of an archived version
Restore Artifacts of an archived version
Request
PUT https://{hostname}:{port}
/cli/version/restoreArtifacts?{parameters} [archiveZip]
Accept: {contentType}
Content-Type: application/octet-stream
| Parameter | Type | Required | Description |
|---|---|---|---|
| component | string | false | Name/ID of the Component (Optional, required if version name specified instead of id |
| version | string | true | Name/ID of the version |
| archiveZip | file | true | Zip file containing artifacts to be added to version. |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Content-Type | application/octet-stream |
true | |
| Accept |
|
true |
Example
curl -k -u jsmith:passwd
"https://deployserver.example.com:8443/cli/version/restoreArtifacts
?component=MyComponent&version=1.0" --data-binary @MyComponent_1.0.zip -X PUTRelated CLI command: restoreArtifacts.