commit: 06c26bf9c964986b9018ca843be94767f41636a3
parent b979389958e2d96212cf54ad917d55da86524e30
Author: Mark Felder <feld@feld.me>
Date: Tue, 7 May 2024 17:46:05 -0400
Add the absent max_featured_tags to the api spec for /api/v1/instance
Diffstat:
1 file 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
@@ -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{