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