forked from TrueCloudLab/distribution
Spelling corrections
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
parent
0b3b55e723
commit
bffa20d6bb
2 changed files with 5 additions and 5 deletions
|
@ -277,7 +277,7 @@ API. When this header is omitted, clients may fallback to an older API version.
|
||||||
|
|
||||||
This API design is driven heavily by [content addressability](http://en.wikipedia.org/wiki/Content-addressable_storage).
|
This API design is driven heavily by [content addressability](http://en.wikipedia.org/wiki/Content-addressable_storage).
|
||||||
The core of this design is the concept of a content addressable identifier. It
|
The core of this design is the concept of a content addressable identifier. It
|
||||||
uniquely identifies content by taking a collision-resistent hash of the bytes.
|
uniquely identifies content by taking a collision-resistant hash of the bytes.
|
||||||
Such an identifier can be independently calculated and verified by selection
|
Such an identifier can be independently calculated and verified by selection
|
||||||
of a common _algorithm_. If such an identifier can be communicated in a secure
|
of a common _algorithm_. If such an identifier can be communicated in a secure
|
||||||
manner, one can retrieve the content from an insecure source, calculate it
|
manner, one can retrieve the content from an insecure source, calculate it
|
||||||
|
@ -791,7 +791,7 @@ Images are stored in collections, known as a _repository_, which is keyed by a
|
||||||
contain several repositories. The list of available repositories is made
|
contain several repositories. The list of available repositories is made
|
||||||
available through the _catalog_.
|
available through the _catalog_.
|
||||||
|
|
||||||
The catalog for a given registry can be retrived with the following request:
|
The catalog for a given registry can be retrieved with the following request:
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /v2/_catalog
|
GET /v2/_catalog
|
||||||
|
@ -875,7 +875,7 @@ To get the next result set, a client would issue the request as follows, using
|
||||||
the URL encoded in the described `Link` header:
|
the URL encoded in the described `Link` header:
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /v2/_catalog?n=<n from the request>&last=<last repostory value from previous response>
|
GET /v2/_catalog?n=<n from the request>&last=<last repository value from previous response>
|
||||||
```
|
```
|
||||||
|
|
||||||
The above process should then be repeated until the `Link` header is no longer
|
The above process should then be repeated until the `Link` header is no longer
|
||||||
|
|
|
@ -536,7 +536,7 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
},
|
},
|
||||||
Successes: []ResponseDescriptor{
|
Successes: []ResponseDescriptor{
|
||||||
{
|
{
|
||||||
Description: "The manifest idenfied by `name` and `reference`. The contents can be used to identify and resolve resources required to run the specified image.",
|
Description: "The manifest identified by `name` and `reference`. The contents can be used to identify and resolve resources required to run the specified image.",
|
||||||
StatusCode: http.StatusOK,
|
StatusCode: http.StatusOK,
|
||||||
Headers: []ParameterDescriptor{
|
Headers: []ParameterDescriptor{
|
||||||
digestHeader,
|
digestHeader,
|
||||||
|
@ -928,7 +928,7 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
{
|
{
|
||||||
Name: RouteNameBlobUpload,
|
Name: RouteNameBlobUpload,
|
||||||
Path: "/v2/{name:" + RepositoryNameRegexp.String() + "}/blobs/uploads/",
|
Path: "/v2/{name:" + RepositoryNameRegexp.String() + "}/blobs/uploads/",
|
||||||
Entity: "Intiate Blob Upload",
|
Entity: "Initiate Blob Upload",
|
||||||
Description: "Initiate a blob upload. This endpoint can be used to create resumable uploads or monolithic uploads.",
|
Description: "Initiate a blob upload. This endpoint can be used to create resumable uploads or monolithic uploads.",
|
||||||
Methods: []MethodDescriptor{
|
Methods: []MethodDescriptor{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue