v1
latestOpenAPI 3.0.42026-08-064075233.0 KBEdgeNodes
Adding reset node job
Creates a reset job for the node with the specified id. The node will when the job is performed undeploy all flows, remove all data and restart.
post/api/edgenodes/{edgeNodeId}/reset
Path parameters
edgeNodeIdstring uuid required
The identifier for the node that we want to reset.
Response
OK
Example response
{
"id": "00ec431b-0f2b-4f4e-9cc9-1af9231a8584",
"organizationId": "8c84e649-1669-428c-8506-47b0815180e8",
"startTime": "2024-09-24T09:33:38.013347Z",
"lastSaved": "2024-09-24T09:33:38.013347Z",
"description": "Deploying Flow: My flow version 1 on Node: my_node by User: My User",
"nrOfPendingJobs": 3,
"nrOfFailureJobs": 1,
"nrOfSuccessJobs": 2,
"activityType": "StartFlow",
"edgeNodeJobs": [
{
"edgenodeid": "88cd62fa-6cb1-43d3-b243-787bd6ec8041",
"organizationId": "8c84e649-1669-428c-8506-47b0815180e8",
"activityId": "00ec431b-0f2b-4f4e-9cc9-1af9231a8584",
"index": 57369,
"flowId": "8d69b986-aae7-40ae-a845-5fd5ba251619",
"flowDefinitionId": "0bb6b120-468a-4c7b-b121-65e88e990c9d",
"sessionId": "4fb6e76e-13f4-42e5-a5d8-3b7489ab9337",
"type": "StartFlow",
"jobState": "Success",
"timestamp": "2024-09-24T09:33:38.013347Z",
"message": "Job execution was successful"
}
]
}