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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.8 KiB
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"id",
"status",
"stage",
"name",
"ref",
"tag",
"coverage",
"created_at",
"started_at",
"finished_at",
2023-04-23 21:23:45 +05:30
"erased_at",
2019-07-31 22:56:46 +05:30
"duration",
2021-06-08 01:23:25 +05:30
"queued_duration",
2019-07-31 22:56:46 +05:30
"user",
"commit",
"pipeline",
"web_url",
"artifacts",
"artifacts_expire_at",
2021-03-11 19:13:27 +05:30
"tag_list",
2022-10-11 01:57:18 +05:30
"runner",
"project"
2019-07-31 22:56:46 +05:30
],
"properties": {
"id": { "type": "integer" },
"status": { "type": "string" },
"stage": { "type": "string" },
"name": { "type": "string" },
"ref": { "type": "string" },
"tag": { "type": "boolean" },
"coverage": { "type": ["number", "null"] },
2019-09-04 21:01:54 +05:30
"allow_failure": { "type": "boolean" },
2019-07-31 22:56:46 +05:30
"created_at": { "type": "string" },
"started_at": { "type": ["null", "string"] },
"finished_at": { "type": ["null", "string"] },
2023-04-23 21:23:45 +05:30
"erased_at": { "type": ["null", "string"] },
2019-07-31 22:56:46 +05:30
"duration": { "type": ["null", "number"] },
2021-06-08 01:23:25 +05:30
"queued_duration": { "type": ["null", "number"] },
2019-07-31 22:56:46 +05:30
"user": { "$ref": "user/basic.json" },
"commit": {
"oneOf": [
{ "type": "null" },
{ "$ref": "commit/basic.json" }
]
},
"pipeline": { "$ref": "pipeline/basic.json" },
"web_url": { "type": "string" },
"artifacts": {
"type": "array",
"items": { "$ref": "artifact.json" }
},
"artifacts_file": {
"oneOf": [
{ "type": "null" },
{ "$ref": "artifact_file.json" }
]
},
"artifacts_expire_at": { "type": ["null", "string"] },
2021-03-11 19:13:27 +05:30
"tag_list": {
"type": "array"
},
2019-07-31 22:56:46 +05:30
"runner": {
"oneOf": [
{ "type": "null" },
{ "$ref": "runner.json" }
]
2022-10-11 01:57:18 +05:30
},
"project": {
"ci_job_token_scope_enabled": { "type": "boolean" }
2019-07-31 22:56:46 +05:30
}
},
"additionalProperties":false
}