X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c86cbaa6f286e50900dae3203a42044449e042f7..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 c44c81a733..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,11 +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 - reload_object_before_update - @object.cancel cascade: params[:cascade] - show + return send_error("Unsupported legacy jobs API", + status: 400) end end