1 Server::Application.routes.draw do
3 resources :commit_ancestors
7 resources :api_client_authorizations
12 resources :collections
15 resources :pipeline_templates
16 resources :pipeline_instances
18 # The priority is based upon order of creation:
19 # first created -> highest priority.
21 # Sample of regular route:
22 # match 'products/:id' => 'catalog#view'
23 # Keep in mind you can assign values other than :controller and :action
25 # Sample of named route:
26 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
27 # This route can be invoked with purchase_url(:id => product.id)
29 # Sample resource route (maps HTTP verbs to controller actions automatically):
32 # Sample resource route with options:
33 # resources :products do
44 # Sample resource route with sub-resources:
45 # resources :products do
46 # resources :comments, :sales
50 # Sample resource route with more complex sub-resources
51 # resources :products do
54 # get 'recent', :on => :collection
58 # Sample resource route within a namespace:
60 # # Directs /admin/products/* to Admin::ProductsController
61 # # (app/controllers/admin/products_controller.rb)
65 # You can have the root of your site routed with "root"
66 # just remember to delete public/index.html.
67 # root :to => 'welcome#index'
69 # See how all your routes lay out with "rake routes"
71 # This is a legacy wild controller route that's not recommended for RESTful applications.
72 # Note: This route will make all actions in every controller accessible via GET requests.
73 # match ':controller(/:action(/:id(.:format)))'
77 match '/schema' => 'schema#show'
78 match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
79 match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk
80 match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from
81 match '/users/current' => 'users#current'
82 resources :collections
85 resources :pipeline_templates
86 resources :pipeline_instances
98 match '/auth/:provider/callback', :to => 'user_sessions#create'
99 match '/auth/failure', :to => 'user_sessions#failure'
102 match '/login', :to => 'user_sessions#login'
103 match '/logout', :to => 'user_sessions#logout'
105 match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
107 # Send unroutable requests to an arbitrary controller
108 # (ends up at ApplicationController#render_not_found)
109 match '*a', :to => 'arvados/v1/links#render_not_found'
111 root :to => 'static#home'