diff --git a/README.md b/README.md index 57ff6af4366489b876c8b3a9b12934216047245f..5e71995c65bf57fe2dd8d1249d68d87f086c5616 100644 --- a/README.md +++ b/README.md @@ -376,10 +376,10 @@ Any non-empty responses are JSON formatted messages. then information about the interface is returned, otherwise 404 is returned. - The resp onse will be formatted according to the following syntax: + The response will be formatted according to the following syntax: ```json - { + { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", @@ -402,7 +402,6 @@ Any non-empty responses are JSON formatted messages. "required": ["name", "description"], "additionalProperties": False }, - "ix-public-peer": { "type": "object", "properties": { @@ -421,17 +420,24 @@ Any non-empty responses are JSON formatted messages. }, "required": ["name", "description", "as"], "additionalProperties": False - } + }, + "ix-public-peer-group": { + "type": "array", + "items": {"$ref": "#/definitions/ip-address"} + }, + }, "type": "object", "properties": { "ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer"}, + "ix-public-peer-group": { + "$ref": "#/definitions/ix-public-peer-group"}, "vpn-rr-peer-info": {"$ref": "#/definitions/vpn-rr-peer"} }, "additionalProperties": False - } - ``` + } + ``` * /poller/interfaces/*`hostname`*