// readme

Rubies

A Sinatra API interface to Ruby versions, releases and branches.

The application is live at https://rubies.io.

Usage

The API endpoint is https://rubies.io/api.
All successful requests return a JSON response with Content-Type application/json and status 200.
CORS is enabled by default.

Statuses

/normal - returns the branches and the latest releases in normal maintenance (receiving bug fixes and security fixes).

$ curl -s https://rubies.io/api/normal | jq
{
  "status": "normal",
  "branches": [
    "3.4",
    "3.3"
  ],
  "latest": [
    "3.4.4",
    "3.3.8"
  ]
}

/security - returns the branches and the latest releases in security maintenance (receiving security fixes only).

$ curl -s https://rubies.io/api/security | jq
{
  "status": "security",
  "branches": [
    "3.2"
  ],
  "latest": [
    "3.2.8"
  ]
}

/preview - returns the branches and the latest releases currently in preview.

$ curl -sโ€ฆ