X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/55315b668b8fa04572a44fd7db6598478f54130a..8a2035547ad8bf6abad6a4a03bb0b59211a00932:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index 87c4d91757..fcd5c34212 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + Server::Application.routes.draw do themes_for_rails @@ -26,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 @@ -73,6 +79,7 @@ Server::Application.routes.draw do post 'activate', on: :member post 'setup', on: :collection post 'unsetup', on: :member + post 'update_uuid', on: :member end resources :virtual_machines do get 'logins', on: :member @@ -100,6 +107,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]