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

36 lines
679 B
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"id",
"iid",
"ref",
"sha",
"created_at",
2019-12-21 20:55:43 +05:30
"updated_at",
2019-07-31 22:56:46 +05:30
"user",
"deployable"
],
"properties": {
"id": { "type": "integer" },
"iid": { "type": "integer" },
"ref": { "type": "string" },
"sha": { "type": "string" },
"created_at": { "type": "string" },
2019-12-21 20:55:43 +05:30
"updated_at": { "type": "string" },
2019-07-31 22:56:46 +05:30
"user": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user/basic.json" }
]
},
"deployable": {
"oneOf": [
{ "type": "null" },
{ "$ref": "job.json" }
]
2019-12-21 20:55:43 +05:30
},
"status": { "type": "string" }
2019-07-31 22:56:46 +05:30
},
"additionalProperties": false
}