
URI Method Parameters Description
catalog/<catalog_id>/instance GET userIdentifier, scope,
detail, requestor
"List instances in the
catalog" on page 74
catalog/<catalog_
id>/instance/<instance_id>
GET userIdentifier, scope,
detail
"Get instance details" on
page 75
List catalogs
Details
URI
/catalog
Method GET
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. This user
should be a consumer user who has the necessary permissions for the data you
want to work with. See "Get userIdentifier" on page 91 for the steps required to get
the userIdentifier value.
scope=[base|baseplusone|subtree]
Optional; default is base. If value is base, then the object is returned. If value is
baseplusone, then the object and its first level children are returned. If value is
subtree, then the object and all of its descendants are returned.
detail=[required|basic|standard|template|full]
Optional; default is basic. See "Values for the detail parameter" on page 147.
Some API calls do not support all possible values for this parameter.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Examples
Use the following URL:
https://<host>:<port>/csa/rest/catalog
?userIdentifier=90d9652b35f46a930135f35b327e00a0&scope=base&detail=basic
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CatalogList>
<count>12</count>
<limit>0</limit>
<catalog>
<id>402895e566cb32ss0136cb831752000f</id>
APIReference
HP Cloud Service Automation (4.10) Page 47 of 150
Komentáře k této Příručce