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:
Sebastiaan van Stijn
2015-10-21 10:21:27 -07:00
7 changed files with 10 additions and 10 deletions

View File

@ -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.

View File

@ -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
{

View File

@ -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
{