Package template functionality.
This resource represens a specific package template.
Resource URI:
/rest/hosting/ptemplate/<UUID>/
Retrieve the specified package template by submitting an HTTP GET request. The UUID in the resource uri should be the uuid of the target package template.
Note
This resource requires read permission on both the package template and the elastic_hosting extension module when using the HTTP GET method.
| Return type: | ptemplate.RepPtemplateUUID |
|---|
This resource represents a list of package templates.
Resource URI:
/rest/hosting/ptemplate/list/
Retrieve a list of package templates by submitting an HTTP GET request.
Note
This resource requires read permission on the elastic_hosting extension module.
| Return type: | ptemplate.RepPtemplateList |
|---|
This is a representation of a package template resource.
Representation:
{"uuid": ptemplate.uuid,
"name": ptemplate.name,
"storage": ptemplate.storage,
"description": ptemplate.description,
"os": ptemplate.os}
This is a representation of a list of package templates. This is a list of ptemplate.RepPtemplateUUID representations.
Representation:
[ptemplate1, ptemplate2]