mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
doc: remove trailing slashes
This commit is contained in:
parent
ab67fa4cc6
commit
8298e06627
@ -1,10 +1,10 @@
|
|||||||
## Members API
|
## Members API
|
||||||
|
|
||||||
### GET /v2/members/
|
### GET /v2/members
|
||||||
Return an HTTP 200 OK response code and a representation of all members in the etcd cluster:
|
Return an HTTP 200 OK response code and a representation of all members in the etcd cluster:
|
||||||
```
|
```
|
||||||
Example Request: GET
|
Example Request: GET
|
||||||
http://localhost:2379/v2/members/
|
http://localhost:2379/v2/members
|
||||||
Response formats: JSON
|
Response formats: JSON
|
||||||
Example Response:
|
Example Response:
|
||||||
```
|
```
|
||||||
@ -35,7 +35,7 @@ Return an HTTP 200 OK response code and a representation of all members in the e
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### POST /v2/members/
|
### POST /v2/members
|
||||||
Add a member to the cluster.
|
Add a member to the cluster.
|
||||||
Returns an HTTP 201 response code and the representation of added member with a newly generated a memberID when successful. Returns a string describing the failure condition when unsuccessful.
|
Returns an HTTP 201 response code and the representation of added member with a newly generated a memberID when successful. Returns a string describing the failure condition when unsuccessful.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user