mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Add the absent max_featured_tags to the api spec for /api/v1/instance
This commit is contained in:
parent
b979389958
commit
06c26bf9c9
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,15 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
|
||||||
%Schema{
|
%Schema{
|
||||||
type: :object,
|
type: :object,
|
||||||
properties: %{
|
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"},
|
uri: %Schema{type: :string, description: "The domain name of the instance"},
|
||||||
title: %Schema{type: :string, description: "The title of the website"},
|
title: %Schema{type: :string, description: "The title of the website"},
|
||||||
description: %Schema{
|
description: %Schema{
|
||||||
|
|
Loading…
Reference in a new issue