瀏覽代碼

Merge pull request #7181 from timruffles/patch-3

[DOCS] replace foo/bar with concrete names
Sven Dowideit 11 年之前
父節點
當前提交
bb6217c055
共有 1 個文件被更改,包括 7 次插入5 次删除
  1. 7 5
      docs/sources/reference/api/registry_api.md

+ 7 - 5
docs/sources/reference/api/registry_api.md

@@ -67,6 +67,8 @@ The latter would only require two new commands in docker, e.g.,
 (and optionally doing consistency checks). Authentication and authorization
 (and optionally doing consistency checks). Authentication and authorization
 are then delegated to SSH (e.g., with public keys).
 are then delegated to SSH (e.g., with public keys).
 
 
+The default namespace for a private repository is `library`.
+
 # Endpoints
 # Endpoints
 
 
 ## Images
 ## Images
@@ -305,7 +307,7 @@ Get all of the tags for the given repo.
 
 
     **Example Request**:
     **Example Request**:
 
 
-        GET /v1/repositories/foo/bar/tags HTTP/1.1
+        GET /v1/repositories/reynholm/help-system-server/tags HTTP/1.1
         Host: registry-1.docker.io
         Host: registry-1.docker.io
         Accept: application/json
         Accept: application/json
         Content-Type: application/json
         Content-Type: application/json
@@ -341,7 +343,7 @@ Get a tag for the given repo.
 
 
     **Example Request**:
     **Example Request**:
 
 
-        GET /v1/repositories/foo/bar/tags/latest HTTP/1.1
+        GET /v1/repositories/reynholm/help-system-server/tags/latest HTTP/1.1
         Host: registry-1.docker.io
         Host: registry-1.docker.io
         Accept: application/json
         Accept: application/json
         Content-Type: application/json
         Content-Type: application/json
@@ -375,7 +377,7 @@ Delete the tag for the repo
 
 
     **Example Request**:
     **Example Request**:
 
 
-        DELETE /v1/repositories/foo/bar/tags/latest HTTP/1.1
+        DELETE /v1/repositories/reynholm/help-system-server/tags/latest HTTP/1.1
         Host: registry-1.docker.io
         Host: registry-1.docker.io
         Accept: application/json
         Accept: application/json
         Content-Type: application/json
         Content-Type: application/json
@@ -408,7 +410,7 @@ Put a tag for the given repo.
 
 
     **Example Request**:
     **Example Request**:
 
 
-        PUT /v1/repositories/foo/bar/tags/latest HTTP/1.1
+        PUT /v1/repositories/reynholm/help-system-server/tags/latest HTTP/1.1
         Host: registry-1.docker.io
         Host: registry-1.docker.io
         Accept: application/json
         Accept: application/json
         Content-Type: application/json
         Content-Type: application/json
@@ -446,7 +448,7 @@ Delete a repository
 
 
     **Example Request**:
     **Example Request**:
 
 
-        DELETE /v1/repositories/foo/bar/ HTTP/1.1
+        DELETE /v1/repositories/reynholm/help-system-server/ HTTP/1.1
         Host: registry-1.docker.io
         Host: registry-1.docker.io
         Accept: application/json
         Accept: application/json
         Content-Type: application/json
         Content-Type: application/json