diff options
author | 2023-06-16 12:16:04 +0300 | |
---|---|---|
committer | 2023-06-16 11:16:04 +0200 | |
commit | 0fa06c0cde19ba5a4b77aa8372509cf9116fc546 (patch) | |
tree | d1e8299bb1a4c41db82f3e4c7926003bd067288d /docs/api | |
parent | [chore/bugfix] Demote failed inbox forwarding to warn log rather than error r... (diff) | |
download | gotosocial-0fa06c0cde19ba5a4b77aa8372509cf9116fc546.tar.xz |
[bugfix] Accept non-multipart forms for account updates (#1896)
* [bugfix] Update Swagger schema per max_profile_fields addition
* [bugfix] Accept non-multipart forms for account updates
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/swagger.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 34a3dd7d1..839793f82 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -1147,6 +1147,13 @@ definitions: format: int64 type: integer x-go-name: MaxFeaturedTags + max_profile_fields: + description: |- + The maximum number of profile fields allowed for each account. + Currently not configurable, so this is hardcoded to 6. (https://github.com/superseriousbusiness/gotosocial/issues/1876) + format: int64 + type: integer + x-go-name: MaxProfileFields title: InstanceConfigurationAccounts models instance account config parameters. type: object x-go-name: InstanceConfigurationAccounts @@ -3144,6 +3151,7 @@ paths: patch: consumes: - multipart/form-data + - application/x-www-form-urlencoded - application/json operationId: accountUpdate parameters: |