Update api.md
It seems a few places "download" instead of "upload". Signed-off-by: Nghia Tran <tcnghia@gmail.com>
This commit is contained in:
parent
06fcf053e7
commit
5e06d6500c
2 changed files with 4 additions and 4 deletions
|
@ -426,7 +426,7 @@ The "digest" parameter must be included with the PUT request. Please see the
|
||||||
_Completed Upload_ section for details on the parameters and expected
|
_Completed Upload_ section for details on the parameters and expected
|
||||||
responses.
|
responses.
|
||||||
|
|
||||||
Additionally, the download can be completed with a single `POST` request to
|
Additionally, the upload can be completed with a single `POST` request to
|
||||||
the uploads endpoint, including the "size" and "digest" parameters:
|
the uploads endpoint, including the "size" and "digest" parameters:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -497,7 +497,7 @@ Docker-Upload-UUID: <uuid>
|
||||||
|
|
||||||
For an upload to be considered complete, the client must submit a `PUT`
|
For an upload to be considered complete, the client must submit a `PUT`
|
||||||
request on the upload endpoint with a digest parameter. If it is not provided,
|
request on the upload endpoint with a digest parameter. If it is not provided,
|
||||||
the download will not be considered complete. The format for the final chunk
|
the upload will not be considered complete. The format for the final chunk
|
||||||
will be as follows:
|
will be as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -426,7 +426,7 @@ The "digest" parameter must be included with the PUT request. Please see the
|
||||||
_Completed Upload_ section for details on the parameters and expected
|
_Completed Upload_ section for details on the parameters and expected
|
||||||
responses.
|
responses.
|
||||||
|
|
||||||
Additionally, the download can be completed with a single `POST` request to
|
Additionally, the upload can be completed with a single `POST` request to
|
||||||
the uploads endpoint, including the "size" and "digest" parameters:
|
the uploads endpoint, including the "size" and "digest" parameters:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -497,7 +497,7 @@ Docker-Upload-UUID: <uuid>
|
||||||
|
|
||||||
For an upload to be considered complete, the client must submit a `PUT`
|
For an upload to be considered complete, the client must submit a `PUT`
|
||||||
request on the upload endpoint with a digest parameter. If it is not provided,
|
request on the upload endpoint with a digest parameter. If it is not provided,
|
||||||
the download will not be considered complete. The format for the final chunk
|
the upload will not be considered complete. The format for the final chunk
|
||||||
will be as follows:
|
will be as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue