Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.27 KB

blueprint_deploy.rst

File metadata and controls

57 lines (36 loc) · 1.27 KB

blueprint_deploy

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

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats:
  • Since: UForge 3.8.fp4

Deploys a blueprint.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: deployments_access

URI Parameters

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

HTTP Request Body Parameters

A blueprintDeployment-object object

Example Request

curl "https://uforge.example.com/api/users/{uid}/blueprints/{bpid}/deployments" -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>
  • blueprintDeployment-object