Commit 7e275e62 authored by Alex Kalderimis's avatar Alex Kalderimis

Update job API schema

parent bd135a2c
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"started_at", "started_at",
"finished_at", "finished_at",
"duration", "duration",
"queued_duration",
"user", "user",
"commit", "commit",
"pipeline", "pipeline",
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
"started_at": { "type": ["null", "string"] }, "started_at": { "type": ["null", "string"] },
"finished_at": { "type": ["null", "string"] }, "finished_at": { "type": ["null", "string"] },
"duration": { "type": ["null", "number"] }, "duration": { "type": ["null", "number"] },
"queued_duration": { "type": ["null", "number"] },
"user": { "$ref": "user/basic.json" }, "user": { "$ref": "user/basic.json" },
"commit": { "commit": {
"oneOf": [ "oneOf": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment