1 Server::Application.routes.draw do
2 resources :commit_ancestors
8 resources :api_client_authorizations
13 resources :collections
16 resources :pipeline_templates
17 resources :pipeline_instances
19 # The priority is based upon order of creation:
20 # first created -> highest priority.
22 # Sample of regular route:
23 # match 'products/:id' => 'catalog#view'
24 # Keep in mind you can assign values other than :controller and :action
26 # Sample of named route:
27 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
28 # This route can be invoked with purchase_url(:id => product.id)
30 # Sample resource route (maps HTTP verbs to controller actions automatically):
33 # Sample resource route with options:
34 # resources :products do
45 # Sample resource route with sub-resources:
46 # resources :products do
47 # resources :comments, :sales
51 # Sample resource route with more complex sub-resources
52 # resources :products do
55 # get 'recent', :on => :collection
59 # Sample resource route within a namespace:
61 # # Directs /admin/products/* to Admin::ProductsController
62 # # (app/controllers/admin/products_controller.rb)
66 # You can have the root of your site routed with "root"
67 # just remember to delete public/index.html.
68 # root :to => 'welcome#index'
70 # See how all your routes lay out with "rake routes"
72 # This is a legacy wild controller route that's not recommended for RESTful applications.
73 # Note: This route will make all actions in every controller accessible via GET requests.
74 # match ':controller(/:action(/:id(.:format)))'
78 match '/schema' => 'schema#show'
79 match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
80 match '/links/from/:tail_uuid' => 'links#index', :as => :orvos_v1_links_from
81 match '/users/current' => 'users#current'
82 resources :collections
85 resources :pipeline_templates
86 resources :pipeline_instances
97 match '/auth/:provider/callback', :to => 'user_sessions#create'
98 match '/auth/failure', :to => 'user_sessions#failure'
101 match '/login', :to => 'user_sessions#login'
102 match '/logout', :to => 'user_sessions#logout'
104 match '/discovery/v1/apis/orvos/v1/rest', :to => 'orvos/v1/schema#discovery_rest_description'
106 # Send unroutable requests to an arbitrary controller
107 # (ends up at ApplicationController#render_not_found)
108 match '*a', :to => 'orvos/v1/links#render_not_found'
110 root :to => 'static#home'