X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e2a7fe50d3b6e98b7f549c78c4f91dbe4066ddbb..d6598fd6339e6219a7103781433356dfde546527:/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb diff --git a/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb b/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb index 614af685f9..166f71049b 100644 --- a/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb +++ b/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb @@ -1,5 +1,19 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class Arvados::V1::PipelineInstancesController < ApplicationController accept_attribute_as_json :components, Hash accept_attribute_as_json :properties, Hash accept_attribute_as_json :components_summary, Hash + + def create + return send_error("Unsupported legacy jobs API", + status: 400) + end + + def cancel + return send_error("Unsupported legacy jobs API", + status: 400) + end end