aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/instance_operation.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-21 15:00:05 +0200
committerlain <lain@soykaf.club>2020-05-21 15:00:05 +0200
commit814c3e51714b2a7de30ed751a6aef361fc712807 (patch)
treee0db564ad32b79a357095a7b1131787b23b06fb9 /lib/pleroma/web/api_spec/operations/instance_operation.ex
parentd19c7167704308df093f060082639c0a15996af7 (diff)
parent42b06d78dfc9cec2a31bcb4676cc0135863ca97d (diff)
downloadpleroma-814c3e51714b2a7de30ed751a6aef361fc712807.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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",