All URIs are relative to https://api.aiware.com/edge/v1
CleanAutomateRequests
AdminOperationResponse CleanAutomateRequests(ctx, ) Clean old automate requests.
Required Parameters
This endpoint does not need any parameter.
Return type
AdminOperationResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
CreateNodeRedContainerInfo
AdminOperationResponse CreateNodeRedContainerInfo(ctx, createNodRedContainerDetail, optional)
Create node-red container information
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| createNodRedContainerDetail | CreateNodRedContainerDetail | Node-RED container info | |
| optional | *CreateNodeRedContainerInfoOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a CreateNodeRedContainerInfoOpts 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
AdminOperationResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
DeleteAutomateContainer
AdminOperationResponse DeleteAutomateContainer(ctx, containerID)
Delete automate container.
Required Parameters
|
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| containerID | string | ContainerID of node-red container |
Return type
AdminOperationResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
GetAutomateContainers
[]CreateNodRedContainerDetail GetAutomateContainers(ctx, )
Get automate containers info.
Required Parameters
This endpoint does not need any parameter.
Return type
[]CreateNodRedContainerDetail
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
UpdateAutomateRequestStatus
AdminOperationResponse UpdateAutomateRequestStatus(ctx, updateNodeRedRequestDetail, optional)
Put this automate request into update status mode. This automate request will be updated to new status.
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| updateNodeRedRequestDetail | UpdateNodeRedRequestDetail | Node-RED container info | |
| optional | *UpdateAutomateRequestStatusOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a UpdateAutomateRequestStatusOpts 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
AdminOperationResponse
Authorization
api_key
HTTP request headers
- Content-Type: application/json
- Accept: application/json
UpdateAutomateStatus
HostAction UpdateAutomateStatus(ctx, hostID)
Get updated information to launch node-red container, terminate node-red container.
Required Parameters
|
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| hostID | string | ID of Host |
Return type
HostAction
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json