Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct last query parameter type in API endpoints #464

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Correct last query parameter type in API endpoints #464

merged 1 commit into from
Mar 12, 2024

Conversation

CathalMullan
Copy link
Contributor

Incorrectly specified as integer in the endpoints summary.

The last query parameter provides further means for limiting the number of tags.
It is usually used in combination with the n parameter: /v2/<name>/tags/list?n=<int>&last=<tagname>

<name> is the namespace of the repository, <int> is the number of tags requested, and <tagname> is the value of the last tag.
<tagname> MUST NOT be a numerical index, but rather it MUST be a proper tag.

Signed-off-by: Cathal Mullan <contact@cathal.dev>
@jdolitsky jdolitsky merged commit 0e5fe09 into opencontainers:main Mar 12, 2024
4 checks passed
@sudo-bmitch sudo-bmitch mentioned this pull request Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants