debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/environment.json
2021-11-18 22:05:49 +05:30

32 lines
859 B
JSON

{
"type": "object",
"required": [
"id",
"name",
"slug",
"external_url",
"state",
"created_at",
"updated_at"
],
"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" }
]
},
"state": { "type": "string" },
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
"project": { "$ref": "project.json" },
"enable_advanced_logs_querying": { "type": "boolean" },
"logs_api_path": { "type": "string" },
"gitlab_managed_apps_logs_path": { "type": "string" }
},
"additionalProperties": false
}