1 Server::Application.routes.draw do
2 resources :virtual_machines
3 resources :authorized_keys
5 resources :commit_ancestors
9 resources :api_client_authorizations
10 resources :api_clients
14 resources :collections
17 resources :pipeline_templates
18 resources :pipeline_instances
20 # The priority is based upon order of creation:
21 # first created -> highest priority.
23 # Sample of regular route:
24 # match 'products/:id' => 'catalog#view'
25 # Keep in mind you can assign values other than :controller and :action
27 # Sample of named route:
28 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
29 # This route can be invoked with purchase_url(:id => product.id)
31 # Sample resource route (maps HTTP verbs to controller actions automatically):
34 # Sample resource route with options:
35 # resources :products do
46 # Sample resource route with sub-resources:
47 # resources :products do
48 # resources :comments, :sales
52 # Sample resource route with more complex sub-resources
53 # resources :products do
56 # get 'recent', :on => :collection
60 # Sample resource route within a namespace:
62 # # Directs /admin/products/* to Admin::ProductsController
63 # # (app/controllers/admin/products_controller.rb)
67 # You can have the root of your site routed with "root"
68 # just remember to delete public/index.html.
69 # root :to => 'welcome#index'
71 # See how all your routes lay out with "rake routes"
73 # This is a legacy wild controller route that's not recommended for RESTful applications.
74 # Note: This route will make all actions in every controller accessible via GET requests.
75 # match ':controller(/:action(/:id(.:format)))'
79 match '/schema' => 'schema#show'
80 match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
81 match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk
82 match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from
83 match '/users/current' => 'users#current'
84 match '/jobs/queue' => 'jobs#queue'
85 match '/authorized_keys/get_all_logins' => 'authorized_keys#get_all_logins'
86 resources :collections
89 resources :pipeline_templates
90 resources :pipeline_instances
98 resources :authorized_keys
99 resources :virtual_machines
104 match '/auth/:provider/callback', :to => 'user_sessions#create'
105 match '/auth/failure', :to => 'user_sessions#failure'
108 match '/login', :to => 'user_sessions#login'
109 match '/logout', :to => 'user_sessions#logout'
111 match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
113 # Send unroutable requests to an arbitrary controller
114 # (ends up at ApplicationController#render_not_found)
115 match '*a', :to => 'arvados/v1/links#render_not_found'
117 root :to => 'static#home'