X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f5e7711b2b8b7f4d191b8fb47078cddd9c0c6727..67a54670123669370bb4e664c7e40c71f7539b5f:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index a83e7a8718..044f0dc90a 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -1,4 +1,7 @@ Server::Application.routes.draw do + resources :humans + resources :traits + resources :repositories resources :virtual_machines resources :authorized_keys resources :keep_disks @@ -81,8 +84,21 @@ Server::Application.routes.draw do match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from match '/users/current' => 'users#current' + match '/users/system' => 'users#system' match '/jobs/queue' => 'jobs#queue' - match '/authorized_keys/get_all_logins' => 'authorized_keys#get_all_logins' + 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 @@ -92,11 +108,17 @@ Server::Application.routes.draw do resources :groups resources :logs resources :users + resources :api_clients + resources :api_client_authorizations resources :jobs resources :job_tasks resources :keep_disks resources :authorized_keys resources :virtual_machines + resources :repositories + resources :traits + resources :humans + resources :user_agreements end end @@ -110,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'