X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5fcebaf9f4c05cf63f2cfa6d69b5bf16e0a73b96..4ad105bd22c9141e5f88139ad3bf334a52f7a5d1:/services/api/config/routes.rb?ds=sidebyside diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index ebb5c69271..044f0dc90a 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -87,10 +87,18 @@ Server::Application.routes.draw do match '/users/system' => 'users#system' match '/jobs/queue' => 'jobs#queue' match '/jobs/:uuid/log_tail_follow' => 'jobs#log_tail_follow' + 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' 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' match '/repositories/get_all_permissions' => 'repositories#get_all_permissions' + 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 @@ -110,6 +118,7 @@ Server::Application.routes.draw do resources :repositories resources :traits resources :humans + resources :user_agreements end end @@ -123,6 +132,8 @@ Server::Application.routes.draw do match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description' + match '/static/login_failure', :to => 'static#login_failure', :as => :login_failure + # Send unroutable requests to an arbitrary controller # (ends up at ApplicationController#render_not_found) match '*a', :to => 'arvados/v1/links#render_not_found'