Remove duplicate REST API section
The listeners section was duplicated. Also fixed a typo.
This commit is contained in:
@ -258,41 +258,7 @@ GET /v1/services/:name/listeners
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get service listeners
|
### Get a single service listener
|
||||||
|
|
||||||
Get the listeners of a service. The _:name_ in the URI must be a valid service
|
|
||||||
name with all whitespace replaced with hyphens.
|
|
||||||
|
|
||||||
```
|
|
||||||
GET /v1/services/:name/listeners
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Response
|
|
||||||
|
|
||||||
`Status: 200 OK`
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
{
|
|
||||||
"links": {
|
|
||||||
"self": "http://localhost:8989/v1/services/Read-Connection-Router/listeners"
|
|
||||||
},
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"attributes": {
|
|
||||||
"parameters": {
|
|
||||||
"port": 4008,
|
|
||||||
"protocol": "MariaDBClient",
|
|
||||||
"authenticator": "MySQLAuth"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": "Read-Connection-Listener",
|
|
||||||
"type": "listeners"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Get a sigle service listener
|
|
||||||
|
|
||||||
Get the listeners of a service. The _:name_ in the URI must be a valid service
|
Get the listeners of a service. The _:name_ in the URI must be a valid service
|
||||||
name and _:listener_ must be a valid listener name, both with all whitespace
|
name and _:listener_ must be a valid listener name, both with all whitespace
|
||||||
|
|||||||
Reference in New Issue
Block a user