Merge branch 'master' into 15572-new-install-docs
[arvados.git] / services / api / app / controllers / arvados / v1 / pipeline_templates_controller.rb
index a2c6d0b97d90d54990937cffdc854c0f63e11b19..4a5e724ee64471df8bcd38db5e6e2193c05e244b 100644 (file)
@@ -1,3 +1,12 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Arvados::V1::PipelineTemplatesController < ApplicationController
   accept_attribute_as_json :components, Hash
+
+  def create
+    return send_error("Unsupported legacy jobs API",
+                      status: 400)
+  end
 end