|
|
@ -125,7 +125,12 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
|
|
|
|
},
|
|
|
|
},
|
|
|
|
avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"},
|
|
|
|
avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"},
|
|
|
|
background_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: %{
|
|
|
|
example: %{
|
|
|
|
"avatar_upload_limit" => 2_000_000,
|
|
|
|
"avatar_upload_limit" => 2_000_000,
|
|
|
|