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

25 lines
502 B
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"id",
"name",
"slug",
"external_url",
"last_deployment"
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"slug": { "type": "string" },
"external_url": { "$ref": "../../types/nullable_string.json" },
"last_deployment": {
"oneOf": [
{ "type": "null" },
{ "$ref": "deployment.json" }
]
2019-12-21 20:55:43 +05:30
},
"state": { "type": "string" }
2019-07-31 22:56:46 +05:30
},
"additionalProperties": false
}