CLI Reference Guide

Retrieve artifact state and status
Details
URI
/artifact/state/<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.
Request
Body
None
Return
Body
ArtifactStateInfo
Returns
200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception
For all artifacts, possible values for the returned artifactState are:
l ACTIVE
l RETIRED
The following state and status information will be returned for specific artifact types.
For service instance artifacts, state will be returned and will contain one of the following values:
l ACTIVE
l CANCELLED
l CANCELLING
l CANCEL_FAILED
l DEPLOYING
l EXPIRE_FAILED
l EXPIRING
l FAILED
l MODIFYING
l MODIFY_FAILED
l IN_PROGRESS
l PUBLIC_ACTION_FAILED
l RESERVED
For service request artifacts:
HP Cloud Service Automation (4.00)Page 35 of 141
APIReference
Contents