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

58 lines
1.8 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"required" : [
"status",
"applications"
],
"properties" : {
"status": { "type": "string" },
"status_reason": { "type": ["string", "null"] },
"applications": {
"type": "array",
"items": { "$ref": "#/definitions/application_status" }
}
},
"additionalProperties": false,
"definitions": {
"application_status": {
"type": "object",
"additionalProperties": false,
"properties" : {
"name": { "type": "string" },
"status": {
"type": {
"enum": [
"installable",
"scheduled",
"installing",
"installed",
"errored"
]
}
},
2019-03-02 22:35:43 +05:30
"version": { "type": "string" },
2018-03-27 19:54:05 +05:30
"status_reason": { "type": ["string", "null"] },
2018-11-08 19:23:39 +05:30
"external_ip": { "type": ["string", "null"] },
2019-07-07 11:18:12 +05:30
"external_hostname": { "type": ["string", "null"] },
2019-02-15 15:39:39 +05:30
"hostname": { "type": ["string", "null"] },
2019-03-02 22:35:43 +05:30
"email": { "type": ["string", "null"] },
2019-12-26 22:10:19 +05:30
"stack": { "type": ["string", "null"] },
2020-03-13 15:44:24 +05:30
"modsecurity_enabled": { "type": ["boolean", "null"] },
2020-04-22 19:07:51 +05:30
"modsecurity_mode": {"type": ["integer", "0"]},
"host": {"type": ["string", "null"]},
"port": {"type": ["integer", "514"]},
"protocol": {"type": ["integer", "0"]},
2019-07-31 22:56:46 +05:30
"update_available": { "type": ["boolean", "null"] },
2020-04-08 14:13:33 +05:30
"can_uninstall": { "type": "boolean" },
"available_domains": {
"type": "array",
"items": { "$ref": "#/definitions/domain" }
},
"pages_domain": { "type": [ { "$ref": "#/definitions/domain" }, "null"] }
2018-03-17 18:26:18 +05:30
},
"required" : [ "name", "status" ]
2020-04-08 14:13:33 +05:30
},
"domain": { "id": "integer", "domain": "string" }
2018-03-17 18:26:18 +05:30
}
}