pull/14990/head
Gonzalo Riestra 5 years ago
parent 017cdeb0f0
commit 20aecafd79

@ -573,6 +573,13 @@ CartoDB::Application.routes.draw do
delete 'kuviz/:id', to: 'custom_visualizations#delete', constraints: { id: UUID_REGEXP }, as: :api_v4_kuviz_delete_viz
put 'kuviz/:id', to: 'custom_visualizations#update', constraints: { id: UUID_REGEXP }, as: :api_v4_kuviz_update_viz
get 'kuviz', to: 'custom_visualizations#index', as: :api_v4_kuviz_list_vizs
# OAuth apps
get 'oauth_apps', to: 'oauth_apps#index', as: :api_v4_oauth_apps_index
get 'oauth_apps/:id', to: 'oauth_apps#show', constraints: { id: UUID_REGEXP }, as: :api_v4_oauth_apps_show
post 'oauth_apps', to: 'oauth_apps#create', as: :api_v4_oauth_apps_create
put 'oauth_apps/:id', to: 'oauth_apps#update', constraints: { id: UUID_REGEXP }, as: :api_v4_oauth_apps_update
delete 'oauth_apps/:id', to: 'oauth_apps#destroy', constraints: { id: UUID_REGEXP }, as: :api_v4_oauth_apps_destroy
end
scope 'v3/' do

Loading…
Cancel
Save