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

33 lines
859 B
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"id",
"name",
"slug",
"external_url",
2021-11-18 22:05:49 +05:30
"state",
"created_at",
"updated_at"
2019-07-31 22:56:46 +05:30
],
"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
},
2021-06-08 01:23:25 +05:30
"state": { "type": "string" },
2021-11-18 22:05:49 +05:30
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
"project": { "$ref": "project.json" },
2021-06-08 01:23:25 +05:30
"enable_advanced_logs_querying": { "type": "boolean" },
"logs_api_path": { "type": "string" },
"gitlab_managed_apps_logs_path": { "type": "string" }
2019-07-31 22:56:46 +05:30
},
"additionalProperties": false
}