debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/deployment.json
2022-04-04 11:22:00 +05:30

35 lines
660 B
JSON

{
"type": "object",
"required": [
"id",
"iid",
"ref",
"sha",
"created_at",
"updated_at",
"user",
"deployable",
"status"
],
"properties": {
"id": { "type": "integer" },
"iid": { "type": "integer" },
"ref": { "type": "string" },
"sha": { "type": "string" },
"created_at": { "type": "string" },
"updated_at": { "type": "string" },
"user": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user/basic.json" }
]
},
"deployable": {
"oneOf": [
{ "type": "null" },
{ "$ref": "job.json" }
]
},
"status": { "type": "string" }
}
}