diff options
author | Mark Felder <feld@feld.me> | 2024-05-07 17:46:05 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-05-07 17:46:05 -0400 |
commit | 06c26bf9c964986b9018ca843be94767f41636a3 (patch) | |
tree | 47848a8b53a4ec6d6162ba1152250afbe166cb9d | |
parent | b979389958e2d96212cf54ad917d55da86524e30 (diff) | |
download | pleroma-06c26bf9c964986b9018ca843be94767f41636a3.tar.gz pleroma-06c26bf9c964986b9018ca843be94767f41636a3.zip |
Add the absent max_featured_tags to the api spec for /api/v1/instance
-rw-r--r-- | lib/pleroma/web/api_spec/operations/instance_operation.ex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/instance_operation.ex b/lib/pleroma/web/api_spec/operations/instance_operation.ex index bc37cae75..b6c411c07 100644 --- a/lib/pleroma/web/api_spec/operations/instance_operation.ex +++ b/lib/pleroma/web/api_spec/operations/instance_operation.ex @@ -50,6 +50,15 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do %Schema{ type: :object, properties: %{ + accounts: %Schema{ + type: :object, + properties: %{ + max_featured_tags: %Schema{ + type: :integer, + description: "The maximum number of featured tags allowed for each account." + } + } + }, uri: %Schema{type: :string, description: "The domain name of the instance"}, title: %Schema{type: :string, description: "The title of the website"}, description: %Schema{ |