about summary refs log tree commit diff
path: root/app/views/api/v1/apps
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/v1/apps')
-rw-r--r--app/views/api/v1/apps/create.rabl4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/api/v1/apps/create.rabl b/app/views/api/v1/apps/create.rabl
new file mode 100644
index 000000000..1ff6469a4
--- /dev/null
+++ b/app/views/api/v1/apps/create.rabl
@@ -0,0 +1,4 @@
+object @app
+attributes :id, :redirect_uri
+node(:client_id) { |app| app.uid }
+node(:client_secret) { |app| app.secret }