Add `background_image` to `InstanceOperation`
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 20 May 2020 11:18:58 +0000 (15:18 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 20 May 2020 11:18:58 +0000 (15:18 +0400)
lib/pleroma/web/api_spec/operations/instance_operation.ex

index 9d189d029af568351edbf0e40e8a89cfd76d57a2..d5c335d0c19bb312b41bff9bf1f3eff9e8a05901 100644 (file)
@@ -125,7 +125,12 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
         },
         avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"},
         background_upload_limit: %Schema{type: :integer, description: "The title of the website"},
-        banner_upload_limit: %Schema{type: :integer, description: "The title of the website"}
+        banner_upload_limit: %Schema{type: :integer, description: "The title of the website"},
+        background_image: %Schema{
+          type: :string,
+          format: :uri,
+          description: "The background image for the website"
+        }
       },
       example: %{
         "avatar_upload_limit" => 2_000_000,