Merge pull request #8599 from irachex/commit_docs

Fix commit api document
This commit is contained in:
Sven Dowideit 2014-10-16 16:10:49 -07:00
commit 62cb97278d
4 changed files with 9 additions and 9 deletions

View File

@ -1208,7 +1208,7 @@ Create a new image from a container's changes
**Example request**:
POST /commit?container=44c004db4b17&m=message&repo=myrepo HTTP/1.1
POST /commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
Content-Type: application/json
{
@ -1256,7 +1256,7 @@ Query Parameters:
- **container** source container
- **repo** repository
- **tag** tag
- **m** commit message
- **comment** commit message
- **author** author (e.g., "John Hannibal Smith
<[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")

View File

@ -1197,7 +1197,7 @@ Create a new image from a container's changes
**Example request**:
POST /commit?container=44c004db4b17&m=message&repo=myrepo HTTP/1.1
POST /commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
Content-Type: application/json
{
@ -1245,7 +1245,7 @@ Query Parameters:
- **container** source container
- **repo** repository
- **tag** tag
- **m** commit message
- **comment** commit message
- **author** author (e.g., "John Hannibal Smith
<[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")

View File

@ -1202,7 +1202,7 @@ Create a new image from a container's changes
**Example request**:
POST /commit?container=44c004db4b17&m=message&repo=myrepo HTTP/1.1
POST /commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
Content-Type: application/json
{
@ -1250,7 +1250,7 @@ Query Parameters:
- **container** source container
- **repo** repository
- **tag** tag
- **m** commit message
- **comment** commit message
- **author** author (e.g., "John Hannibal Smith
<[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")

View File

@ -399,7 +399,7 @@ Status Codes:
`GET /containers/(id)/resize?h=<height>&w=<width>`
Resize the TTY of container `id`
Resize the TTY of container `id`
**Example request**:
@ -1237,7 +1237,7 @@ Create a new image from a container's changes
**Example request**:
POST /commit?container=44c004db4b17&m=message&repo=myrepo HTTP/1.1
POST /commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
Content-Type: application/json
{
@ -1285,7 +1285,7 @@ Query Parameters:
- **container** source container
- **repo** repository
- **tag** tag
- **m** commit message
- **comment** commit message
- **author** author (e.g., "John Hannibal Smith
<[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")