Ruby on Rails (API Mode)

Rails generated with the --api flag boots a slimmer middleware stack and an ApplicationController inheriting from ActionController::API (rather than ActionController::Base), making Rails a first-class JSON API framework while keeping Active Record, routing, and generators.

API entry from apis.yml

apis.yml Raw ↑
aid: ruby:rails-api
name: Ruby on Rails (API Mode)
description: Rails generated with the --api flag boots a slimmer middleware stack and an ApplicationController
  inheriting from ActionController::API (rather than ActionController::Base), making Rails a first-class
  JSON API framework while keeping Active Record, routing, and generators.
humanURL: https://guides.rubyonrails.org/api_app.html
tags:
- Web Framework
- REST
- JSON API
properties:
- type: Documentation
  url: https://guides.rubyonrails.org/api_app.html
- type: GitHub
  url: https://github.com/rails/rails
- type: Website
  url: https://rubyonrails.org/