RubyGems website screenshot

RubyGems

RubyGems.org is the Ruby community's primary gem hosting service, providing the infrastructure for publishing, discovering, and installing Ruby gems. The RubyGems API enables programmatic access to gem metadata, version information, download statistics, search, owner management, webhooks, and the compact index used by Bundler for dependency resolution. RubyGems.org hosts over 160,000 gems with billions of total downloads.

6 APIs 0 Features
RubyPackage ManagerOpen SourceDeveloper Tools

APIs

RubyGems Gems API

The RubyGems Gems API (v1) provides endpoints for retrieving gem metadata, listing owned gems, submitting new gems, yanking gem versions, managing gem ownership, retrieving user...

RubyGems API V2

The RubyGems API V2 provides improved endpoints for querying detailed gem version information including metadata, dependencies, checksums, and platform-specific builds. Designed...

RubyGems Downloads API

The RubyGems Downloads API provides download count statistics for gems and individual gem versions hosted on RubyGems.org.

RubyGems Search API

The RubyGems Search API allows developers to search for gems by matching a query string against gem names and descriptions. Returns paginated results of active gems.

RubyGems Activity API

The RubyGems Activity API provides activity feeds of the most recently added and most recently updated gems on RubyGems.org, useful for monitoring new releases and tracking ecos...

RubyGems Webhooks API

The RubyGems Webhooks API enables webhook subscriptions that fire when gems are pushed to RubyGems.org. Webhooks can be scoped to a specific gem or applied globally using a wild...

Collections

Pricing Plans

Rubygems Plans Pricing

1 plans

PLANS

Rate Limits

Rubygems Rate Limits

6 limits

RATE LIMITS

FinOps

Event Specifications

RubyGems Webhook Events

The RubyGems webhook event system delivers HTTP POST notifications when gems are pushed to RubyGems.org. Webhook subscribers receive a JSON payload containing the full gem metad...

ASYNCAPI

Semantic Vocabularies

Rubygems Context

0 classes · 5 properties

JSON-LD

API Governance Rules

RubyGems API Rules

8 rules · 1 errors 6 warnings 1 info

SPECTRAL

JSON Structure

Rubygems Structure

0 properties

JSON STRUCTURE

Example Payloads

Rubygems Search Gems Example

2 fields

EXAMPLE

Resources

🌐
Portal
Portal
🔗
Documentation
Documentation
🔑
Authentication
Authentication
👥
GitHub
GitHub
🟢
StatusPage
StatusPage
📰
Blog
Blog
🔗
LlmsText
LlmsText

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: RubyGems Webhooks API
  version: '1.0'
request:
  auth:
    type: apikey
    key: Authorization
    value: '{{Authorization}}'
    placement: header
items:
- info:
    name: Webhooks
    type: folder
  items:
  - info:
      name: List Webhooks
      type: http
    http:
      method: GET
      url: https://rubygems.org/api/v1/web_hooks.json
    docs: Returns all webhooks registered under the authenticated user's account. The response is an object where keys are
      gem names (or a wildcard) and values are arrays of webhook objects.
  - info:
      name: Create A Webhook
      type: http
    http:
      method: POST
      url: https://rubygems.org/api/v1/web_hooks
      body:
        type: form-urlencoded
        data:
        - name: gem_name
          value: ''
        - name: url
          value: ''
    docs: Register a new webhook that fires when a gem is pushed to RubyGems.org. Use an asterisk (*) as the gem_name to create
      a global webhook that fires for all gem pushes.
  - info:
      name: Remove A Webhook
      type: http
    http:
      method: DELETE
      url: https://rubygems.org/api/v1/web_hooks/remove
      body:
        type: form-urlencoded
        data:
        - name: gem_name
          value: ''
        - name: url
          value: ''
    docs: Remove an existing webhook subscription. The gem_name and url must match an existing webhook. Use an asterisk (*)
      as the gem_name to remove a global webhook.
  - info:
      name: Test Fire A Webhook
      type: http
    http:
      method: POST
      url: https://rubygems.org/api/v1/web_hooks/fire
      body:
        type: form-urlencoded
        data:
        - name: gem_name
          value: ''
        - name: url
          value: ''
    docs: Test fire an existing webhook to verify it is working correctly. The fired request includes an Authorization header
      containing a SHA-256 HMAC signature for verification. Use an asterisk (*) as the gem_name to test fire a global webhook.
bundled: true