Skip to content

Latest commit

 

History

History
79 lines (57 loc) · 2.16 KB

workspaceTemplate_update.rst

File metadata and controls

79 lines (57 loc) · 2.16 KB

workspaceTemplate_update

PUT /orgs/{oid}/workspaces/{wid}/templates/{tid}

Summary

  • Method: PUT
  • Response Code: 200
  • Response Formats: application/xml application/json
  • Since: UForge 3.3.2

Updates the information of an appliance template in a workspace.

Please refer to gallerytemplate-object for a complete list of all the template attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • wid (required): the id of the workspace-object
  • oid (required): the id of the org-object
  • tid (required): the id of the gallerytemplate-object

HTTP Request Body Parameters

A galleryTemplate-object object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/templates/{tid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

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

<ns0:galleryTemplate xmlns:ns0="http://www.usharesoft.com/uforge">
    <name>Modified name</name>
    <version>1.0</version>
    <description>Example</description>
</ns0:galleryTemplate>
  • appliance-object
  • gallerytemplate-object
  • workspace-api-resources
  • workspace-object
  • workspaceTemplateInstallProfile-get
  • workspaceTemplateLogo-delete
  • workspaceTemplateLogo-download
  • workspaceTemplateLogo-upload
  • workspaceTemplateOSPkgs-get
  • workspaceTemplateProjects-get
  • workspaceTemplateShare-cancel
  • workspaceTemplateStats-get
  • workspaceTemplateStatus-get
  • workspaceTemplateStudio-get
  • workspaceTemplate-delete
  • workspaceTemplate-get
  • workspaceTemplate-getAll
  • workspaceTemplate-share
  • workspaceTemplate-vote
  • workspacetemplatecomments-api-resources