7.3

Table Of Contents
This POST command returns a response indicating success or failure, such as HTTP/1.1 201 CREATED
for success.
Catalog Service Examples for Managing Provisioned
Deployments
Syntax for each service example lists input parameters, output parameters, and curl commands.
n
Syntax for Getting Deployment Details
GET /api/consumer/requests/{id}/resourceViews retrieves resources provisioned by a given
request.
n
Syntax for Navigating to the Children of a Deployed Resource
GET /api/consumer/resourceViews retrieves a list of the child nodes of a deployment, including
virtual machines, networks, and other objects you may have configured on the design canvas.
Syntax for Getting Deployment Details
GET /api/consumer/requests/{id}/resourceViews retrieves resources provisioned by a given
request.
Accessing Links to Provisioned Items
You can access links to provisioned items from a given request by appending /resourceViews to the
request details URI. For instance, you can edit the example request URI from as follows:
http://$vRA/catalog-service/api/consumer/requests/$requestId/resourceViews
In addition to the general information about the provisioned deployment returned in the response, such as
its name, description and ID, the response contains additional HATEOAS links.
Table 71. HATEOAS Link Deployment Details Functions
Link Description
GET: Catalog Item URI to get the catalog item details from which this catalog item was
provisioned. See Syntax for Viewing Details of a Machine Request.
GET: Request URI to get the request details that provisioned this item.
GET:Template
{com.vmware.csp.component.cafe.composition@resour
ce.action.deployment.$actionName
URI to get a template request for a specific action that you can perform
on this resource. Typically, on a deployment, the action will be Delete.
POST:
{com.vmware.csp.component.cafe.composition@resour
ce.action.deployment.$actionName
URI to which to post the request to perform an action, based on the
corresponding template.
GET: Child Resources If the deployment contains child resources, such as nodes specified in
the composite blueprint, this is the URI to get a list of the
resourceViews for the children of this deployment.
Programming Guide
VMware, Inc. 111