Spina CMS

Enabling the API

🚧 Spina's API is currently in beta, it includes the most important endpoints but is not yet complete.

You enable the API by setting an API key in the initializer. It's highly recommended to use Rails credentials to store your API key.

# config/initializers/spina.rb
Spina.configure do |config|
  # ...
  config.api_key = Rails.application.credentials.spina_api_key