CLI Reference Guide
Export API
Description
Use this API to export a supported artifact as a content archive.Supported artifacts include
resource environments, resource offerings, service designs, service offerings, and catalogs.
Base URL
https://<host>:<port>/csa/rest
Details
URI
/export/<artifact_id>
Method
GET
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
Returns
200 - Ok
401 - Bad request
404 - Not found
500 - Server exception
Note that the directory the archive will be downloaded to is defined by the REST client or browser
in use.
Artifact archives are structured as following.
l Resource environment archive contains:
n Resource environment XML
n Manifest XML
l Resource offering archive contains:
n Resource offering XML
n Icons used for customizing resource offering
n Manifest.XML
l Service design archive contains:
n Service design XML
n Resource offering XMLs
n Icons used for customizing resource offerings and service design
n Dynamic option JSP files
n Manifest XML
HP Cloud Service Automation (4.00) Page 76 of 141
APIReference
Contents