X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/060d38d627bd1e51dd2b3c6e7de9af6aa7d7b6f3..2bbce020a50f83db34b6b9f8079879cfdd2d955d:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index c030d4242f..5b6fe80975 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -30,6 +30,8 @@ Server::Application.routes.draw do resources :groups do get 'contents', on: :collection get 'contents', on: :member + post 'trash', on: :member + post 'untrash', on: :member end resources :humans resources :job_tasks @@ -104,6 +106,8 @@ Server::Application.routes.draw do match '/static/login_failure', to: 'static#login_failure', as: :login_failure, via: [:get, :post] + match '/_health/ping', to: 'arvados/v1/healthcheck#ping', via: [:get] + # Send unroutable requests to an arbitrary controller # (ends up at ApplicationController#render_not_found) match '*a', to: 'static#render_not_found', via: [:get, :post, :put, :patch, :delete, :options]