diff --git a/rest-api/resources/src/main/resources/openapi/jobExecution/jobExecution.yaml b/rest-api/resources/src/main/resources/openapi/jobExecution/jobExecution.yaml index 5378504f183..0a2c524d4ee 100644 --- a/rest-api/resources/src/main/resources/openapi/jobExecution/jobExecution.yaml +++ b/rest-api/resources/src/main/resources/openapi/jobExecution/jobExecution.yaml @@ -27,6 +27,27 @@ components: allOf: - $ref: '../openapi.yaml#/components/schemas/kapuaUpdatableEntity' - type: object + properties: + startedOn: + description: The moment when the job execution started + type: string + format: 'date-time' + endedOn: + description: The moment when the job execution ended + type: string + format: 'date-time' + log: + description: logs for the job execution + type: string + jobId: + description: job id for this job execution + $ref: '../openapi.yaml#/components/schemas/kapuaId' + targetIds: + type: array + description: the IDs of the job target + items: + allOf: + - $ref: '../openapi.yaml#/components/schemas/kapuaId' example: type: jobExecution id: GTh9xBWezHY