Fix #525 - Add instance information API
This commit is contained in:
parent
7b58c1a694
commit
6be7bde243
6 changed files with 19 additions and 28 deletions
6
app/views/api/v1/instances/show.rabl
Normal file
6
app/views/api/v1/instances/show.rabl
Normal file
|
@ -0,0 +1,6 @@
|
|||
object false
|
||||
|
||||
node(:uri) { Rails.configuration.x.local_domain }
|
||||
node(:title) { Setting.site_title }
|
||||
node(:description) { Setting.site_description }
|
||||
node(:email) { Setting.site_contact_email }
|
Loading…
Add table
Add a link
Reference in a new issue