POST /users/{uid}/mysoftware/{msid}/templates
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.8.9
Creates a container template.
A container template
is an object representing a software bundle to containerize.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
msid
(required): the id of themySoftware-object
A containerTemplate-object
object
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/templates" -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):
containerTemplateImageGeneration-cancel
containerTemplateImageGeneration-get
containerTemplateImagePublish-cancel
containerTemplateImagePublish-get
containerTemplateImagePublished-delete
containerTemplateImagePublished-get
containerTemplateImage-delete
containerTemplateImage-download
containerTemplateImage-downloadFile
containerTemplateImage-get
containerTemplateImage-publish
containerTemplateTargetFormat-getAll
containerTemplate-delete
containerTemplate-generate
containerTemplate-get
containerTemplate-getAll
containertemplate-object
mySoftware-object