File tree Expand file tree Collapse file tree 7 files changed +110
-107
lines changed Expand file tree Collapse file tree 7 files changed +110
-107
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ required:
7
7
properties :
8
8
error :
9
9
$ref : Error.yml
10
- data :
11
- description : Data will always be `null` here.
12
- type : object
13
- nullable : true
10
+ # data:
11
+ # description: Data will always be `null` here.
12
+ # type: object
13
+ # nullable: true
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ properties:
50
50
description : An array of job tasks.
51
51
type : array
52
52
items :
53
- " $ref " : " ./JobTasks .yml"
53
+ " $ref " : ./JobTask .yml
54
54
expires :
55
55
description : A timestamp for when the job expires.
56
56
" $ref " : " ../DateTime.yml"
Original file line number Diff line number Diff line change 1
1
title : JobState
2
- allOf :
3
- - required :
4
- - current
2
+ type : object
3
+ required :
4
+ - current
5
+ - error
6
+ properties :
7
+ current :
8
+ description : The current state of the job.
9
+ type : string
10
+ enum :
11
+ - new
12
+ - queued
13
+ - error
14
+ - scheduled
15
+ - expired
16
+ - running
17
+ - completed
18
+ changed :
19
+ $ref : " ../DateTime.yml"
20
+ error :
21
+ type : object
22
+ nullable : true
23
+ description : An error, if any, that has occurred for this job.
5
24
properties :
6
- current :
7
- description : The current state of the job.
25
+ message :
8
26
type : string
9
- enum :
10
- - new
11
- - queued
12
- - error
13
- - scheduled
14
- - expired
15
- - running
16
- - completed
17
- - " $ref " : " ../State.yml"
27
+ description : Details about the error that has occurred.
Original file line number Diff line number Diff line change
1
+ title : JobTask
2
+ type : object
3
+ description : Information about a job task.
4
+ required :
5
+ - id
6
+ - caption
7
+ - header
8
+ - events
9
+ - error
10
+ - steps
11
+ - state
12
+ - input
13
+ - output
14
+ properties :
15
+ id :
16
+ $ref : ../ID.yml
17
+ caption :
18
+ type : string
19
+ description : A short description of the task.
20
+ header :
21
+ type : string
22
+ description : The API function called.
23
+ events :
24
+ title : TaskEvents
25
+ type : object
26
+ description : A collection of timestamps for each event in the job's lifetime.
27
+ required :
28
+ - queued
29
+ - completed
30
+ - started
31
+ properties :
32
+ queued :
33
+ description : The timestamp of when the task was queued.
34
+ $ref : " ../DateTime.yml"
35
+ completed :
36
+ description : The timestamp of when the task was completed.
37
+ $ref : " ../DateTime.yml"
38
+ started :
39
+ description : The timestamp of when the task was started.
40
+ $ref : " ../DateTime.yml"
41
+ steps :
42
+ description : An array of job task steps.
43
+ type : array
44
+ items :
45
+ $ref : ./TaskStep.yml
46
+ state :
47
+ $ref : ./TaskState.yml
48
+ input :
49
+ type : object
50
+ description : Input information used for the job tasks.
51
+ additionalProperties :
52
+ type : string
53
+ output :
54
+ type : object
55
+ nullable : true
56
+ description : Output informaiton used for the job tasks.
57
+ additionalProperties :
58
+ type : string
59
+ error :
60
+ type : object
61
+ nullable : true
62
+ description : An error object describing issues with the job.
63
+ required :
64
+ - message
65
+ properties :
66
+ message :
67
+ type : string
68
+ description : An error message
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
title : TaskState
2
- allOf :
3
- - required :
4
- - current
5
- properties :
6
- current :
7
- description : The current state of the task.
8
- type : string
9
- enum :
10
- - pending
11
- - error
12
- - running
13
- - completed
14
- - " $ref " : " ../State.yml"
2
+ type : object
3
+ properties :
4
+ changed :
5
+ $ref : ../DateTime.yml
6
+ current :
7
+ description : The current state of the task.
8
+ type : string
9
+ enum :
10
+ - pending
11
+ - error
12
+ - running
13
+ - completed
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ paths:
408
408
" /v1/security/report " :
409
409
$ref : paths/security/report.yml
410
410
# Utils
411
- " /v1/utils/lookup " :
411
+ " /v1/utils/resource/ lookup " :
412
412
$ref : paths/utils/resource/lookup.yml
413
413
components :
414
414
securitySchemes :
You can’t perform that action at this time.
0 commit comments