debian-mirror-gitlab/spec/fixtures/api/schemas/job/job.json

36 lines
863 B
JSON
Raw Normal View History

2018-10-15 14:42:47 +05:30
{
2018-11-20 20:47:30 +05:30
"description": "Basic job information",
2018-10-15 14:42:47 +05:30
"type": "object",
"required": [
"id",
"name",
"started",
"build_path",
"playable",
"created_at",
"updated_at",
2018-12-13 13:39:08 +05:30
"status",
"archived"
2018-10-15 14:42:47 +05:30
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
2018-11-20 20:47:30 +05:30
"started": {
"oneOf": [
{ "type": "string", "format": "date-time" },
{ "type": "boolean" }
]
},
2018-10-15 14:42:47 +05:30
"build_path": { "type": "string" },
2018-11-20 20:47:30 +05:30
"retry_path": { "type": "string" },
2018-10-15 14:42:47 +05:30
"playable": { "type": "boolean" },
"created_at": { "type": "string" },
"updated_at": { "type": "string" },
2018-12-05 23:21:45 +05:30
"status": { "$ref": "../status/ci_detailed_status.json" },
"callout_message": { "type": "string" },
2018-12-13 13:39:08 +05:30
"recoverable": { "type": "boolean" },
"archived": { "type": "boolean" }
2018-10-15 14:42:47 +05:30
},
2018-11-20 20:47:30 +05:30
"additionalProperties": true
2018-10-15 14:42:47 +05:30
}