Skip to content

Add tag prefix filtering to /repos/{owner}/{repo}/releases API #38513

Description

@supriyo-biswas

What problem would this solve?

Some projects which are organized in a monorepo structure where multiple software artifacts are released from within the same project, as an example, https://github.com/kubernetes-sigs/kustomize/releases where we can see multiple artifacts tagged kustomize/..., kyaml/... and so on.

Currently the /repos/{owner}/{repo}/releases API only supports fetching all the releases without a specific prefix, which means if there are no recent releases of, say, the kustomize artifacts, I might have to scan a few pages, which wastes server resources.

What do you propose?

I want to be able to pass a query string like ?tag_prefix=kustomize/ that will filter only the artifacts with that tag, avoiding a large number of requests.

I can send in a pull request if interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions