From 5e06d6500ccd91833dba9e11b7ddde1027326ba2 Mon Sep 17 00:00:00 2001 From: Nghia Tran Date: Thu, 19 Mar 2015 13:13:53 -0700 Subject: [PATCH] Update api.md It seems a few places "download" instead of "upload". Signed-off-by: Nghia Tran --- doc/spec/api.md | 4 ++-- doc/spec/api.md.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/spec/api.md b/doc/spec/api.md index 1f525f89..9aa6794b 100644 --- a/doc/spec/api.md +++ b/doc/spec/api.md @@ -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 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: ``` @@ -497,7 +497,7 @@ Docker-Upload-UUID: 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, -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: ``` diff --git a/doc/spec/api.md.tmpl b/doc/spec/api.md.tmpl index 6d322753..359b527e 100644 --- a/doc/spec/api.md.tmpl +++ b/doc/spec/api.md.tmpl @@ -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 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: ``` @@ -497,7 +497,7 @@ Docker-Upload-UUID: 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, -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: ```