aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/instance_operation.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-20 14:02:40 +0200
committerlain <lain@soykaf.club>2020-05-20 14:02:40 +0200
commitc7cdc553ff9bd7a068274d9b4b71008d9df04723 (patch)
tree7b66d6b01ea9d0e82ec2b594e4549397230ce145 /lib/pleroma/web/api_spec/operations/instance_operation.ex
parent0d5bce018df9c99c771daaaa1de3ab0efc0cba5c (diff)
parent423ea497bb2a7225f4f0d0e1ebff93466b3ec124 (diff)
downloadpleroma-c7cdc553ff9bd7a068274d9b4b71008d9df04723.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into announce-validator
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/instance_operation.ex')
-rw-r--r--lib/pleroma/web/api_spec/operations/instance_operation.ex8
1 files changed, 7 insertions, 1 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..d5c335d0c 100644
--- a/lib/pleroma/web/api_spec/operations/instance_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/instance_operation.ex
@@ -125,11 +125,17 @@ 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",
"email" => "lain@lain.com",