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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.9 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": {
"id": { "type": "integer" },
2021-01-29 00:20:46 +05:30
"global_id": { "type": "string" },
2018-12-05 23:21:45 +05:30
"name": { "type": "string" },
"state": { "type": "string" },
"external_url": { "$ref": "types/nullable_string.json" },
"environment_type": { "$ref": "types/nullable_string.json" },
2019-07-07 11:18:12 +05:30
"name_without_type": { "type": "string" },
2018-12-05 23:21:45 +05:30
"has_stop_action": { "type": "boolean" },
"environment_path": { "type": "string" },
"stop_path": { "type": "string" },
2020-01-01 13:55:28 +05:30
"cancel_auto_stop_path": { "type": "string" },
2018-12-05 23:21:45 +05:30
"folder_path": { "type": "string" },
2020-04-08 14:13:33 +05:30
"logs_path": { "type": "string" },
"logs_api_path": { "type": "string" },
"enable_advanced_logs_querying": { "type": "boolean" },
2018-12-05 23:21:45 +05:30
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
2020-01-01 13:55:28 +05:30
"auto_stop_at": { "type": "string", "format": "date-time" },
2018-12-05 23:21:45 +05:30
"can_stop": { "type": "boolean" },
2020-10-24 23:57:45 +05:30
"has_opened_alert": { "type": "boolean" },
2022-05-07 20:08:51 +05:30
"tier": { "type": "string" },
"required_approval_count": { "type": "integer" },
2019-12-04 20:38:33 +05:30
"cluster_type": { "type": "types/nullable_string.json" },
"terminal_path": { "type": "types/nullable_string.json" },
2021-03-08 18:12:59 +05:30
"rollout_status": {
"oneOf": [
{ "type": "null" },
{ "$ref": "rollout_status.json" }
]
},
2018-12-05 23:21:45 +05:30
"last_deployment": {
"oneOf": [
{ "type": "null" },
2019-09-04 21:01:54 +05:30
{ "$ref": "deployment.json" },
{
2021-01-03 14:25:43 +05:30
"type": "object",
"properties" : {
"name": { "type": "string" },
"build_path": { "type": "string" }
}
2019-09-04 21:01:54 +05:30
}
2018-12-05 23:21:45 +05:30
]
2020-04-22 19:07:51 +05:30
},
"can_delete": { "type": "boolean" }
,
"delete_path": { "type": "string" }
2018-12-05 23:21:45 +05:30
},
"additionalProperties": false
}