Skip to content
Snippets Groups Projects
Commit 5fb25738 authored by Erik Reid's avatar Erik Reid
Browse files

updated peer-info schema spec

parent 2fd0b549
No related branches found
No related tags found
No related merge requests found
......@@ -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`*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment