CLI Reference Guide
Update document in service offering
Details
URI
/artifact/<service_offering_id>/document/<document_id>
Method
POST
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 - Not authorized
404 - Object not found
500 - Server exception
Example
The following URL was sent with headers:
l Content-type: multipart/form-data
l Content-Disposition: form-data; name="file"
l Content-Type: application/octet-stream
https://<host>:<port>/csa/rest/artifact/90cec0123ae20db2013ae2111e3e000a/documen
t/90cec0123afffe57013afffec64f0001?userIdentifier=90d96588360da0c701360da0f1d5f4
83
See "Add document to service offering" on page 28 for a more detailed example.
Publish service offerings to catalog
Details
URI
/artifact/<catlog_id>/publish
Method
POST
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 - Not authorized
404 - Object not found
500 - Server exception
HP Cloud Service Automation (4.00)Page 31 of 141
APIReference
Contents