EngineTemplate UpsertEngineTemplate(ctx, engineID, engineTemplateName, engineTemplate, optional)
Create or Update the template of the engine given its ID and template name
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| engineID | string | EngineID of node-red container request | |
| engineTemplateName | string | name of the engine template | |
| engineTemplate | EngineTemplate | Engine Template | |
| optional | *UpsertEngineTemplateOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a UpsertEngineTemplateOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
Return type
EngineTemplate
Authorization
api_key
HTTP request headers
- Content-Type: application/json
- Accept: application/json