Skip to content

Add attributes and filter query params to 'List repository tags' endpoint #2455

@pflannery

Description

@pflannery

Would be great if we could only fetch the data we need from the 'List repository tags' endpoint to make it faster and get smaller page download sizes.

Currently my project versionlens uses this endpoint to fetch all tags for a repository but has to limit the requests to a maximum of 3 pages because it's just too slow for larger repositories.

This example fetch url takes around 0.5 secs to fetch one page containing only 100 results (almost 30kb).

NOTE

the undocumented name query param feature for this endpoint isn't useful for versionlens because versionlens
needs to determine if their is a major, minor or patch update available

Is it possible to add the attributes and filter query params to this endpoint? e.g. attributes=name,digest&filter=tag_status eq "active"

thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions