prepare

POST /users/{uid}/blueprints/{bpid}/preparations

Prepares a blueprint for deployment.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: deployments_access

URI Parameters

  • uid (required): the user name (login name) of the user
  • bpid (required): the id of the blueprint

HTTP Request Body Parameters

A blueprintDeployment object

Example Request

curl "https://uforge.example.com/api/users/{uid}/blueprints/{bpid}/preparations" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:blueprintDeployment xmlns:ns0="http://www.usharesoft.com/uforge">
        <xsi:type></xsi:type>
        <credAccountUri>users/guest/accounts/4</credAccountUri>
        <region>eu-west-2</region>
</ns0:blueprintDeployment>