2018-08-20 09:15:53 -04:00
|
|
|
{
|
|
|
|
"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" },
|
2020-11-08 22:09:03 -05:00
|
|
|
"global_id": { "type": "string" },
|
2018-08-20 09:15:53 -04:00
|
|
|
"name": { "type": "string" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"external_url": { "$ref": "types/nullable_string.json" },
|
|
|
|
"environment_type": { "$ref": "types/nullable_string.json" },
|
2019-02-26 14:13:09 -05:00
|
|
|
"name_without_type": { "type": "string" },
|
2018-08-20 09:15:53 -04:00
|
|
|
"has_stop_action": { "type": "boolean" },
|
|
|
|
"environment_path": { "type": "string" },
|
|
|
|
"stop_path": { "type": "string" },
|
2019-12-10 02:53:40 -05:00
|
|
|
"cancel_auto_stop_path": { "type": "string" },
|
2018-08-20 09:15:53 -04:00
|
|
|
"folder_path": { "type": "string" },
|
2020-03-11 11:09:37 -04:00
|
|
|
"logs_path": { "type": "string" },
|
|
|
|
"logs_api_path": { "type": "string" },
|
|
|
|
"enable_advanced_logs_querying": { "type": "boolean" },
|
2018-08-20 09:15:53 -04:00
|
|
|
"created_at": { "type": "string", "format": "date-time" },
|
|
|
|
"updated_at": { "type": "string", "format": "date-time" },
|
2019-12-10 02:53:40 -05:00
|
|
|
"auto_stop_at": { "type": "string", "format": "date-time" },
|
2018-08-20 09:15:53 -04:00
|
|
|
"can_stop": { "type": "boolean" },
|
2020-08-13 14:10:36 -04:00
|
|
|
"has_opened_alert": { "type": "boolean" },
|
2022-02-18 07:15:31 -05:00
|
|
|
"tier": { "type": "string" },
|
|
|
|
"required_approval_count": { "type": "integer" },
|
2019-09-13 09:26:31 -04:00
|
|
|
"cluster_type": { "type": "types/nullable_string.json" },
|
|
|
|
"terminal_path": { "type": "types/nullable_string.json" },
|
2021-01-05 13:10:25 -05:00
|
|
|
"rollout_status": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "null" },
|
|
|
|
{ "$ref": "rollout_status.json" }
|
|
|
|
]
|
|
|
|
},
|
2018-08-20 09:15:53 -04:00
|
|
|
"last_deployment": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "null" },
|
2019-05-10 13:02:00 -04:00
|
|
|
{ "$ref": "deployment.json" },
|
|
|
|
{
|
2020-10-07 11:08:40 -04:00
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"build_path": { "type": "string" }
|
|
|
|
}
|
2019-05-10 13:02:00 -04:00
|
|
|
}
|
2018-08-20 09:15:53 -04:00
|
|
|
]
|
2020-03-25 05:08:11 -04:00
|
|
|
},
|
|
|
|
"can_delete": { "type": "boolean" }
|
|
|
|
,
|
|
|
|
"delete_path": { "type": "string" }
|
2018-08-20 09:15:53 -04:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|