TemplatesApi
All URIs are relative to https://api.ionos.com/cloudapi/v6
Method | HTTP request | Description |
---|---|---|
Get /templates/{templateId} | Get Cubes Template by ID | |
Get /templates | Get Cubes Templates |
TemplatesFindById
Get Cubes Template by ID
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
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 a apiTemplatesFindByIdRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
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
Get Cubes Templates
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to a apiTemplatesGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
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