From 4f9b7432dd4d323ac6cc4efceeae2efaffe62e7d Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 27 Sep 2016 16:58:23 +0200 Subject: Fix #52 - Add API versioning (v1) --- app/views/api/v1/apps/create.rabl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/api/v1/apps/create.rabl (limited to 'app/views/api/v1/apps') 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 } -- cgit