summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-05-07 17:46:05 -0400
committerMark Felder <feld@feld.me>2024-05-07 17:46:05 -0400
commit06c26bf9c964986b9018ca843be94767f41636a3 (patch)
tree47848a8b53a4ec6d6162ba1152250afbe166cb9d
parentb979389958e2d96212cf54ad917d55da86524e30 (diff)
downloadpleroma-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.ex9
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{