1 Server::Application.routes.draw do
2 resources :repositories
3 resources :virtual_machines
4 resources :authorized_keys
6 resources :commit_ancestors
10 resources :api_client_authorizations
11 resources :api_clients
15 resources :collections
18 resources :pipeline_templates
19 resources :pipeline_instances
21 # The priority is based upon order of creation:
22 # first created -> highest priority.
24 # Sample of regular route:
25 # match 'products/:id' => 'catalog#view'
26 # Keep in mind you can assign values other than :controller and :action
28 # Sample of named route:
29 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
30 # This route can be invoked with purchase_url(:id => product.id)
32 # Sample resource route (maps HTTP verbs to controller actions automatically):
35 # Sample resource route with options:
36 # resources :products do
47 # Sample resource route with sub-resources:
48 # resources :products do
49 # resources :comments, :sales
53 # Sample resource route with more complex sub-resources
54 # resources :products do
57 # get 'recent', :on => :collection
61 # Sample resource route within a namespace:
63 # # Directs /admin/products/* to Admin::ProductsController
64 # # (app/controllers/admin/products_controller.rb)
68 # You can have the root of your site routed with "root"
69 # just remember to delete public/index.html.
70 # root :to => 'welcome#index'
72 # See how all your routes lay out with "rake routes"
74 # This is a legacy wild controller route that's not recommended for RESTful applications.
75 # Note: This route will make all actions in every controller accessible via GET requests.
76 # match ':controller(/:action(/:id(.:format)))'
80 match '/schema' => 'schema#show'
81 match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
82 match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk
83 match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from
84 match '/users/current' => 'users#current'
85 match '/jobs/queue' => 'jobs#queue'
86 match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins'
87 match '/repositories/get_all_permissions' => 'repositories#get_all_permissions'
88 resources :collections
91 resources :pipeline_templates
92 resources :pipeline_instances
100 resources :authorized_keys
101 resources :virtual_machines
102 resources :repositories
107 match '/auth/:provider/callback', :to => 'user_sessions#create'
108 match '/auth/failure', :to => 'user_sessions#failure'
111 match '/login', :to => 'user_sessions#login'
112 match '/logout', :to => 'user_sessions#logout'
114 match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
116 # Send unroutable requests to an arbitrary controller
117 # (ends up at ApplicationController#render_not_found)
118 match '*a', :to => 'arvados/v1/links#render_not_found'
120 root :to => 'static#home'