mastodon/app/views/api/v1/instances/show.rabl

11 lines
326 B
Ruby

object false
node(:uri) { site_hostname }
node(:title) { Setting.site_title }
node(:description) { Setting.site_description }
node(:email) { Setting.site_contact_email }
node(:version) { Mastodon::Version.to_s }
node :urls do
{ :streaming_api => Rails.configuration.x.streaming_api_base_url }
end