X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/99658f9ca22500e6249a77bae32994599949c76d..a3a19bfc20889601b07156a5aa80fd5c6defba4b:/services/api/config/routes.rb?ds=sidebyside diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index b6132c162d..d330817c9e 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -1,4 +1,6 @@ Server::Application.routes.draw do + resources :humans + resources :traits resources :repositories resources :virtual_machines resources :authorized_keys @@ -84,7 +86,11 @@ Server::Application.routes.draw do match '/users/current' => 'users#current' match '/users/system' => 'users#system' match '/jobs/queue' => 'jobs#queue' + match '/jobs/:uuid/log_tail_follow' => 'jobs#log_tail_follow' + match '/users/:uuid/event_stream' => 'users#event_stream' 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' resources :collections resources :links @@ -103,6 +109,8 @@ Server::Application.routes.draw do resources :authorized_keys resources :virtual_machines resources :repositories + resources :traits + resources :humans end end @@ -116,6 +124,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'