5416: Add arv-git-httpd to install docs, api config, and discovery doc.
[arvados.git] / services / api / app / controllers / arvados / v1 / schema_controller.rb
index c108fb898dfc43300f511fe84851dfe72ad47dd9..dbdc38245da0c300a4d3f53e5ec4162423bb0fb9 100644 (file)
@@ -26,6 +26,7 @@ class Arvados::V1::SchemaController < ApplicationController
         description: "The API to interact with Arvados.",
         documentationLink: "http://doc.arvados.org/api/index.html",
         defaultCollectionReplication: Rails.configuration.default_collection_replication,
+        gitHttpBase: Rails.configuration.git_http_base,
         protocol: "rest",
         baseUrl: root_url + "arvados/v1/",
         basePath: "/arvados/v1/",
@@ -33,6 +34,7 @@ class Arvados::V1::SchemaController < ApplicationController
         servicePath: "arvados/v1/",
         batchPath: "batch",
         defaultTrashLifetime: Rails.application.config.default_trash_lifetime,
+        maxRequestSize: Rails.application.config.max_request_size,
         parameters: {
           alt: {
             type: "string",