TemplatesApi
All URIs are relative to https://api.ionos.com/cloudapi/v6
Get /templates/{templateId}
Retrieve Cubes Templates
Get /templates
List Cubes Templates
TemplatesFindById
Retrieve Cubes Templates
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
templateId
string
The unique Template ID.
Other Parameters
Other parameters are passed through a pointer to an apiTemplatesFindByIdRequest struct via the builder pattern
depth
int32
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[default to 0]
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
TemplatesGet
List Cubes Templates
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiTemplatesGetRequest struct via the builder pattern
depth
int32
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[default to 0]
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated