v1

latestOpenAPI 3.0.42026-08-064075233.0 KB
EdgeNodes

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

idstring uuid

The identifier of the node activity.

organizationIdstring uuid

The identifier of the organization.

startTimestring date-time

The time the activity was started.

lastSavedstring date-time

The time the activity was last saved.

descriptionstring nullable

The description of the activity.

nrOfPendingJobsinteger

The number of pending jobs in the activity.

nrOfFailureJobsinteger

The number of failed jobs in the activity.

nrOfSuccessJobsinteger

The number of successful jobs in the activity.

activityTypestring nullable

The type of the activity. Available values are Unknown, RemoteDebugging, AddFlow, RemoveFlow, Reset, Sync, StartFlow, StopFlow.

status1 | 2 | 3 | 4 | 5
edgeNodeIdsstring[] nullable

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"
    }
  ]
}