forked from TrueCloudLab/distribution
Fix json formatting in registry api docs
Signed-off-by: Ilion Beyst <ilion.beyst@gmail.com>
This commit is contained in:
parent
85d4039064
commit
89384541cc
1 changed files with 61 additions and 62 deletions
|
@ -266,7 +266,8 @@ are reported as part of 4xx responses, in a json response body. One or more
|
|||
errors will be returned in the following format:
|
||||
|
||||
{
|
||||
"errors": [{
|
||||
"errors": [
|
||||
{
|
||||
"code": <error identifier>,
|
||||
"message": <message describing condition>,
|
||||
"detail": <unstructured>
|
||||
|
@ -441,7 +442,6 @@ manifest will be returned, with the following format (see
|
|||
"blobSum": <digest>
|
||||
},
|
||||
...
|
||||
]
|
||||
],
|
||||
"history": <v1 images>,
|
||||
"signature": <JWS>
|
||||
|
@ -832,7 +832,6 @@ image manifest. An image can be pushed using the following request format:
|
|||
"blobSum": <digest>
|
||||
},
|
||||
...
|
||||
]
|
||||
],
|
||||
"history": <v1 images>,
|
||||
"signature": <JWS>,
|
||||
|
@ -855,7 +854,8 @@ identifying the missing blob. An error is returned for each unknown blob. The
|
|||
response format is as follows:
|
||||
|
||||
{
|
||||
"errors": [{
|
||||
"errors": [
|
||||
{
|
||||
"code": "BLOB_UNKNOWN",
|
||||
"message": "blob unknown to registry",
|
||||
"detail": {
|
||||
|
@ -1771,7 +1771,6 @@ Content-Type: <media type of manifest>
|
|||
"blobSum": "<digest>"
|
||||
},
|
||||
...
|
||||
]
|
||||
],
|
||||
"history": <v1 images>,
|
||||
"signature": <JWS>
|
||||
|
@ -1991,7 +1990,6 @@ Content-Type: <media type of manifest>
|
|||
"blobSum": "<digest>"
|
||||
},
|
||||
...
|
||||
]
|
||||
],
|
||||
"history": <v1 images>,
|
||||
"signature": <JWS>
|
||||
|
@ -2226,7 +2224,8 @@ The error codes that may be included in the response body are enumerated below:
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"errors": [{
|
||||
"errors": [
|
||||
{
|
||||
"code": "BLOB_UNKNOWN",
|
||||
"message": "blob unknown to registry",
|
||||
"detail": {
|
||||
|
@ -5499,7 +5498,7 @@ Content-Type: application/json
|
|||
"repositories": [
|
||||
<name>,
|
||||
...
|
||||
]
|
||||
],
|
||||
"next": "<url>?last=<name>&n=<last value of n>"
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue