Workflow Log

Update Workflow Log

Endpoint to update an existing Workflow Log

put/workflow-log/{id}

Request

Path parameters

idstring uuid required

ID of the Workflow Log to update

Request body

dataWorkflowLogUpdateSchema required

Update schema for WorkflowLog model. Update

Example request

{
  "data": {}
}

Response

Updated successfully

Example response

{
  "data": {
    "_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "createdAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "updatedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "deletedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "project": {
      "_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
    },
    "projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "workflow": {
      "_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
    },
    "workflowId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "logs": "This is an example of longer text content that provides detailed information.",
    "workflowStatus": null,
    "startedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "completedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "resumeAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "stepTrace": {
      "key": "value",
      "nested": {
        "data": 123
      }
    },
    "isTestRun": true,
    "canRunAgain": true,
    "startedByUser": {
      "_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
    },
    "startedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.