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

134 lines
2.4 KiB
JSON
Raw Normal View History

2018-12-05 23:21:45 +05:30
{
"type": "object",
"required": [
"id",
"name",
"state",
"external_url",
"environment_type",
"has_stop_action",
"environment_path",
"stop_path",
"folder_path",
"created_at",
"updated_at",
"can_stop"
],
"properties": {
2023-03-04 22:38:38 +05:30
"id": {
"type": "integer"
},
"global_id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"external_url": {
"$ref": "types/nullable_string.json",
"format": "uri"
},
"environment_type": {
"$ref": "types/nullable_string.json",
"format": "uri"
},
"name_without_type": {
"type": "string"
},
"has_stop_action": {
"type": "boolean"
},
"environment_path": {
"type": "string"
},
"stop_path": {
"type": "string"
},
"cancel_auto_stop_path": {
"type": "string"
},
"folder_path": {
"type": "string"
},
"logs_path": {
"type": "string"
},
"logs_api_path": {
"type": "string"
},
"enable_advanced_logs_querying": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"auto_stop_at": {
"type": "string",
"format": "date-time"
},
"can_stop": {
"type": "boolean"
},
"has_opened_alert": {
"type": "boolean"
},
"tier": {
"type": "string"
},
"required_approval_count": {
"type": "integer"
},
"cluster_type": {
"ref": "types/nullable_string.json"
},
"terminal_path": {
"ref": "types/nullable_string.json"
},
2021-03-08 18:12:59 +05:30
"rollout_status": {
"oneOf": [
2023-03-04 22:38:38 +05:30
{
"type": "null"
},
{
"$ref": "rollout_status.json"
}
2021-03-08 18:12:59 +05:30
]
},
2018-12-05 23:21:45 +05:30
"last_deployment": {
"oneOf": [
2023-03-04 22:38:38 +05:30
{
"type": "null"
},
{
"$ref": "deployment.json"
},
2019-09-04 21:01:54 +05:30
{
2021-01-03 14:25:43 +05:30
"type": "object",
2023-03-04 22:38:38 +05:30
"properties": {
"name": {
"type": "string"
},
"build_path": {
"type": "string"
}
2021-01-03 14:25:43 +05:30
}
2019-09-04 21:01:54 +05:30
}
2018-12-05 23:21:45 +05:30
]
2020-04-22 19:07:51 +05:30
},
2023-03-04 22:38:38 +05:30
"can_delete": {
"type": "boolean"
},
"delete_path": {
"type": "string"
}
2018-12-05 23:21:45 +05:30
},
"additionalProperties": false
2023-03-04 22:38:38 +05:30
}