Skip to content

Commit 0ca8e19

Browse files
links...
Signed-off-by: Craig <[email protected]>
1 parent a84fc14 commit 0ca8e19

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/reference/api/registry/latest.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ tags:
119119

120120
2. [Check if the blob exists](#operation/CheckBlobExists) using a `HEAD` request for each blob digest.
121121

122-
3. If the blob does not exist, [upload the blob](#operation=CompleteBlobUpload) using a monolithic `PUT` request:
123-
- First, [initiate the upload](#operation=InitiateBlobUpload) with `POST`.
124-
- Then [upload and complete](#operation=CompleteBlobUpload) with `PUT`.
122+
3. If the blob does not exist, [upload the blob](#operation/CompleteBlobUpload) using a monolithic `PUT` request:
123+
- First, [initiate the upload](#operation/InitiateBlobUpload) with `POST`.
124+
- Then [upload and complete](#operation/CompleteBlobUpload) with `PUT`.
125125

126-
**Note**: Alternatively, you can upload the blob in multiple chunks by using `PATCH` requests to send each chunk, followed by a final `PUT` request to complete the upload. This is known as a [chunked upload](#operation=UploadBlobChunk) and is useful for large blobs or when resuming interrupted uploads.
126+
**Note**: Alternatively, you can upload the blob in multiple chunks by using `PATCH` requests to send each chunk, followed by a final `PUT` request to complete the upload. This is known as a [chunked upload](#operation/UploadBlobChunk) and is useful for large blobs or when resuming interrupted uploads.
127127

128128

129-
4. [Upload the image manifest](#operation=PutImageManifest) using a `PUT` request to associate the config and layers.
129+
4. [Upload the image manifest](#operation/PutImageManifest) using a `PUT` request to associate the config and layers.
130130

131131
The following bash script example pushes a dummy config blob and manifest to `yourusername/helloworld:latest` on Docker Hub. You can replace `yourusername` with your Docker Hub username and `dckr_pat` with your Docker Hub personal access token.
132132

@@ -203,9 +203,9 @@ tags:
203203
This section outlines the basic steps to delete an image using the registry API.
204204
205205
1. [Get a bearer token for the repository](https://docs.docker.com/reference/api/registry/auth/).
206-
2. [Get the manifest](#operation=GetImageManifest) using the image's tag.
206+
2. [Get the manifest](#operation/GetImageManifest) using the image's tag.
207207
3. Retrieve the `Docker-Content-Digest` header from the manifest response. This digest uniquely identifies the manifest.
208-
4. [Delete the manifest](#operation=DeleteImageManifest) using a `DELETE` request and the digest.
208+
4. [Delete the manifest](#operation/DeleteImageManifest) using a `DELETE` request and the digest.
209209
210210
The following bash script example deletes the `latest` tag from `yourusername/helloworld` on Docker Hub. Replace `yourusername` with your Docker Hub username and `dckr_pat` with your Docker Hub personal access token.
211211

0 commit comments

Comments
 (0)