Skip to content

Commit

Permalink
Merge pull request #107 from jonjohnsonjr/maximum-page
Browse files Browse the repository at this point in the history
Clarify tags listing behavior
  • Loading branch information
vbatts committed Mar 4, 2020
2 parents 88f989b + 6a6ee23 commit 38956df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,8 @@ Host: <registry host>
Authorization: <scheme> <token>
```

Return all tags for the repository
Return all tags for the repository.
The implementation MAY impose a maximum limit and return a partial set with pagination links.

The following parameters SHOULD be specified on the request:

Expand Down Expand Up @@ -1189,13 +1190,14 @@ GET /v2/<name>/tags/list?n=<integer>&last=<integer>
```

Return a portion of the tags for the specified repository.
The implementation MAY impose a maximum limit and return a partial set with pagination links.

The following parameters SHOULD be specified on the request:

| Name | Kind | Description |
|--------|-------|---------------------------------------------------------------------------------------------|
| `name` | path | Name of the target repository. |
| `n` | query | Limit the number of entries in each response. It not present, all entries will be returned. |
| `n` | query | Limit the number of entries in each response. If not present, all entries will be returned. |
| `last` | query | Result set will include values lexically after last. |

###### On Success: OK
Expand Down

0 comments on commit 38956df

Please sign in to comment.