Skip to content

FR: Include role in API v1 /api/v1/gems/<gem>/owners response #5816

@parkr

Description

@parkr

Is your feature request related to a problem?

I want to automate specifying owners & maintainers for my group of gems. To do so, I have an automation script that calls /api/v1/gems/<gem>/owners.json and receives a list of current owners by id and handle. This does not include role ("owner" / "maintainer").

Describe the solution you'd like

I'd like the role to be added to this endpoint so each member of a gem has its role included in this output.

Describe alternatives you've considered

I am not aware of alternatives. I thought about scraping HTML but it's not publicly available on https://rubygems.org/gems/<gem> so I can't scrape it.

Additional context

I previously requested that the new API for POST/PATCH of owners be documented: #5270. This was fulfilled by @colby-swandale. 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions