diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2020-06-08 19:21:07 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2020-06-08 19:21:07 +0300 |
commit | 604a83ae3efe21b231fb524203a883a062102546 (patch) | |
tree | 610d04900503ec700fe7307fb73fd90bb5865009 /lib/pleroma/web/api_spec/operations/instance_operation.ex | |
parent | 1be6b3056e97654612f377eaf3c8d80de6d8d77f (diff) | |
parent | d1924926585a477682b8fcc3176521dacb0766dd (diff) | |
download | pleroma-604a83ae3efe21b231fb524203a883a062102546.tar.gz |
merge develop
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/instance_operation.ex')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/instance_operation.ex | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/operations/instance_operation.ex b/lib/pleroma/web/api_spec/operations/instance_operation.ex index 880bd3f1b..bf39ae643 100644 --- a/lib/pleroma/web/api_spec/operations/instance_operation.ex +++ b/lib/pleroma/web/api_spec/operations/instance_operation.ex @@ -125,13 +125,19 @@ 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, "background_upload_limit" => 4_000_000, + "background_image" => "/static/image.png", "banner_upload_limit" => 4_000_000, - "description" => "A Pleroma instance, an alternative fediverse server", + "description" => "Pleroma: An efficient and flexible fediverse server", "email" => "lain@lain.com", "languages" => ["en"], "max_toot_chars" => 5000, |