Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

RubyGems Owners API

Endpoints for managing gem ownership, including listing owners, adding and removing owners, and listing gems by owner.

RubyGems Owners API is one of 9 APIs that RubyGems publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Owners. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://rubygems.org/api/v1.

5 operations 3 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://rubygems.org/api/v1
Terms of Service
Resource Areas
1

Paths & Operations 5

Across 3 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Owners 5

Endpoints for managing gem ownership, including listing owners, adding and removing owners, and listing gems by owner.

GET
/owners/{userHandle}/gems.json
List Gems By Owner
listGemsByOwner 1 param → 200404
GET
/gems/{gemName}/owners.json
List Owners Of A Gem
listGemOwners 1 param → 200404
POST
/gems/{gemName}/owners
Add A Gem Owner
addGemOwner 2 params body → 200401404
DELETE
/gems/{gemName}/owners
Remove A Gem Owner
removeGemOwner 2 params body → 200401404
PATCH
/gems/{gemName}/owners
Update A Gem Owner
updateGemOwner 2 params body → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Gem (23 properties), Owner (3 properties), Dependency (2 properties), Error (1 property). Each schema is shown below with its type and property counts.

Dependency
object
A gem dependency
2 properties
Owner
object
A gem owner on RubyGems.org
3 properties
Gem
object
A Ruby gem hosted on RubyGems.org
23 properties
Error
object
Error response from the RubyGems.org API
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rubygems-owners-api-openapi.yml Raw ↑

Other APIs RubyGems publishes across the network.

RubyGems Gems API
RubyGems Downloads API
RubyGems Search API
RubyGems Activity API
RubyGems Webhooks API
RubyGems Dependencies API
RubyGems Profiles API
RubyGems Versions API