X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6f4a1bcdf7fcddcad49769adecb1f9a4c459b822..bb45025e80abc00f8da524d9a78c0bab976d4f3a:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index e837e38617..211701a054 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -1,4 +1,6 @@ Server::Application.routes.draw do + themes_for_rails + resources :humans resources :traits resources :repositories @@ -79,7 +81,6 @@ Server::Application.routes.draw do namespace :arvados do namespace :v1 do - match '/schema' => 'schema#show' match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from @@ -90,6 +91,8 @@ Server::Application.routes.draw do post '/jobs/:uuid/cancel' => 'jobs#cancel' match '/users/:uuid/event_stream' => 'users#event_stream' post '/users/:uuid/activate' => 'users#activate' + post '/users/setup' => 'users#setup' + post '/users/:uuid/unsetup' => 'users#unsetup' match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins' match '/virtual_machines/:uuid/logins' => 'virtual_machines#logins' post '/api_client_authorizations/create_system_auth' => 'api_client_authorizations#create_system_auth' @@ -97,6 +100,7 @@ Server::Application.routes.draw do get '/user_agreements/signatures' => 'user_agreements#signatures' post '/user_agreements/sign' => 'user_agreements#sign' get '/collections/:uuid/provenance' => 'collections#provenance' + get '/collections/:uuid/used_by' => 'collections#used_by' resources :collections resources :links resources :nodes @@ -128,7 +132,7 @@ Server::Application.routes.draw do match '/login', :to => 'user_sessions#login' match '/logout', :to => 'user_sessions#logout' - match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description' + match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#index' match '/static/login_failure', :to => 'static#login_failure', :as => :login_failure