Merge pull request #17136 from gesellix/change-route-volume-create
rename `POST /volumes` to `POST /volumes/create` Upstream-commit: 492945235b6be7f2f7ff8721de0c01a93d0b0f6f Component: engine
This commit is contained in:
@ -100,7 +100,7 @@ This section lists each version from latest to oldest. Each listing includes a
|
||||
[Docker Remote API v1.21](docker_remote_api_v1.21.md) documentation
|
||||
|
||||
* `GET /volumes` lists volumes from all volume drivers.
|
||||
* `POST /volumes` to create a volume.
|
||||
* `POST /volumes/create` to create a volume.
|
||||
* `GET /volumes/(name)` get low-level information about a volume.
|
||||
* `DELETE /volumes/(name)`remove a volume with the specified name.
|
||||
* `VolumeDriver` has been moved from config to hostConfig to make the configuration portable.
|
||||
|
||||
@ -2428,13 +2428,13 @@ Status Codes:
|
||||
|
||||
### Create a volume
|
||||
|
||||
`POST /volumes`
|
||||
`POST /volumes/create`
|
||||
|
||||
Create a volume
|
||||
|
||||
**Example request**:
|
||||
|
||||
POST /volumes HTTP/1.1
|
||||
POST /volumes/create HTTP/1.1
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
|
||||
@ -2425,13 +2425,13 @@ Status Codes:
|
||||
|
||||
### Create a volume
|
||||
|
||||
`POST /volumes`
|
||||
`POST /volumes/create`
|
||||
|
||||
Create a volume
|
||||
|
||||
**Example request**:
|
||||
|
||||
POST /volumes HTTP/1.1
|
||||
POST /volumes/create HTTP/1.1
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user