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 match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins'
91 match '/repositories/get_all_permissions' => 'repositories#get_all_permissions'
92 resources :collections
95 resources :pipeline_templates
96 resources :pipeline_instances
101 resources :api_clients
102 resources :api_client_authorizations
105 resources :keep_disks
106 resources :authorized_keys
107 resources :virtual_machines
108 resources :repositories
115 match '/auth/:provider/callback', :to => 'user_sessions#create'
116 match '/auth/failure', :to => 'user_sessions#failure'
119 match '/login', :to => 'user_sessions#login'
120 match '/logout', :to => 'user_sessions#logout'
122 match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
124 # Send unroutable requests to an arbitrary controller
125 # (ends up at ApplicationController#render_not_found)
126 match '*a', :to => 'arvados/v1/links#render_not_found'
128 root :to => 'static#home'