X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ebb2559b3a09636ff687316bbe512e0e8a86b168..9997ada67ce36d2fbe831bce473aa61250727aff:/apps/workbench/config/routes.rb diff --git a/apps/workbench/config/routes.rb b/apps/workbench/config/routes.rb index 21cb7c40bc..a3644e5169 100644 --- a/apps/workbench/config/routes.rb +++ b/apps/workbench/config/routes.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + ArvadosWorkbench::Application.routes.draw do themes_for_rails @@ -75,6 +79,7 @@ ArvadosWorkbench::Application.routes.draw do get 'choose', on: :collection end resources :pipeline_instances do + post 'cancel', :on => :member get 'compare', on: :collection post 'copy', on: :member end @@ -86,6 +91,9 @@ ArvadosWorkbench::Application.routes.draw do post 'share', :on => :member post 'unshare', :on => :member get 'choose', on: :collection + post 'remove_selected_files', on: :member + get 'tags', on: :member + post 'save_tags', on: :member end get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file', format: false) @@ -106,6 +114,11 @@ ArvadosWorkbench::Application.routes.draw do resources :workflows + get "trash" => 'trash_items#index', :as => :trash + resources :trash_items do + post 'untrash_items', on: :collection + end + post 'actions' => 'actions#post' get 'actions' => 'actions#show' get 'websockets' => 'websocket#index' @@ -113,6 +126,8 @@ ArvadosWorkbench::Application.routes.draw do root :to => 'projects#index' + match '/_health/ping', to: 'healthcheck#ping', via: [:get] + # Send unroutable requests to an arbitrary controller # (ends up at ApplicationController#render_not_found) match '*a', to: 'links#render_not_found', via: [:get, :post]