1 Server::Application.routes.draw do
4 resources :repositories
5 resources :virtual_machines
6 resources :authorized_keys
8 resources :commit_ancestors
12 resources :api_client_authorizations
13 resources :api_clients
17 resources :collections
20 resources :pipeline_templates
21 resources :pipeline_instances
23 # The priority is based upon order of creation:
24 # first created -> highest priority.
26 # Sample of regular route:
27 # match 'products/:id' => 'catalog#view'
28 # Keep in mind you can assign values other than :controller and :action
30 # Sample of named route:
31 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
32 # This route can be invoked with purchase_url(:id => product.id)
34 # Sample resource route (maps HTTP verbs to controller actions automatically):
37 # Sample resource route with options:
38 # resources :products do
49 # Sample resource route with sub-resources:
50 # resources :products do
51 # resources :comments, :sales
55 # Sample resource route with more complex sub-resources
56 # resources :products do
59 # get 'recent', :on => :collection
63 # Sample resource route within a namespace:
65 # # Directs /admin/products/* to Admin::ProductsController
66 # # (app/controllers/admin/products_controller.rb)
70 # You can have the root of your site routed with "root"
71 # just remember to delete public/index.html.
72 # root :to => 'welcome#index'
74 # See how all your routes lay out with "rake routes"
76 # This is a legacy wild controller route that's not recommended for RESTful applications.
77 # Note: This route will make all actions in every controller accessible via GET requests.
78 # match ':controller(/:action(/:id(.:format)))'
82 match '/schema' => 'schema#show'
83 match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
84 match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk
85 match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from
86 match '/users/current' => 'users#current'
87 match '/users/system' => 'users#system'
88 match '/jobs/queue' => 'jobs#queue'
89 match '/jobs/:uuid/log_tail_follow' => 'jobs#log_tail_follow'
90 post '/jobs/:uuid/cancel' => 'jobs#cancel'
91 match '/users/:uuid/event_stream' => 'users#event_stream'
92 post '/users/:uuid/activate' => 'users#activate'
93 match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins'
94 match '/virtual_machines/:uuid/logins' => 'virtual_machines#logins'
95 post '/api_client_authorizations/create_system_auth' => 'api_client_authorizations#create_system_auth'
96 match '/repositories/get_all_permissions' => 'repositories#get_all_permissions'
97 get '/user_agreements/signatures' => 'user_agreements#signatures'
98 post '/user_agreements/sign' => 'user_agreements#sign'
99 get '/collections/:uuid/provenance' => 'collections#provenance'
100 resources :collections
103 resources :pipeline_templates
104 resources :pipeline_instances
109 resources :api_clients
110 resources :api_client_authorizations
113 resources :keep_disks
114 resources :authorized_keys
115 resources :virtual_machines
116 resources :repositories
119 resources :user_agreements
124 match '/auth/:provider/callback', :to => 'user_sessions#create'
125 match '/auth/failure', :to => 'user_sessions#failure'
128 match '/login', :to => 'user_sessions#login'
129 match '/logout', :to => 'user_sessions#logout'
131 match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
133 match '/static/login_failure', :to => 'static#login_failure', :as => :login_failure
135 # Send unroutable requests to an arbitrary controller
136 # (ends up at ApplicationController#render_not_found)
137 match '*a', :to => 'arvados/v1/links#render_not_found'
139 root :to => 'static#home'