diff options
author | 2024-10-21 14:04:50 +0200 | |
---|---|---|
committer | 2024-10-21 14:04:50 +0200 | |
commit | 8a93300ac43ffd70ca687d71ee8eefdb755e6a58 (patch) | |
tree | 4f091a3e8ad082738f65f5ab47a1be910bc94933 /docs/api | |
parent | [chore]: Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#3469) (diff) | |
download | gotosocial-8a93300ac43ffd70ca687d71ee8eefdb755e6a58.tar.xz |
[feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473)v0.17.1
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/swagger.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index ee2fb5974..2370cc36c 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -206,6 +206,13 @@ definitions: example: A cute drawing of a smiling sloth. type: string x-go-name: AvatarDescription + avatar_media_id: + description: |- + Database ID of the media attachment for this account's avatar image. + Omitted if no avatar uploaded for this account (ie., default avatar). + example: 01JAJ3XCD66K3T99JZESCR137W + type: string + x-go-name: AvatarMediaID avatar_static: description: |- Web location of a static version of the account's avatar. @@ -277,6 +284,13 @@ definitions: example: A sunlit field with purple flowers. type: string x-go-name: HeaderDescription + header_media_id: + description: |- + Database ID of the media attachment for this account's header image. + Omitted if no header uploaded for this account (ie., default header). + example: 01JAJ3XCD66K3T99JZESCR137W + type: string + x-go-name: HeaderMediaID header_static: description: |- Web location of a static version of the account's header. @@ -2211,6 +2225,13 @@ definitions: example: A cute drawing of a smiling sloth. type: string x-go-name: AvatarDescription + avatar_media_id: + description: |- + Database ID of the media attachment for this account's avatar image. + Omitted if no avatar uploaded for this account (ie., default avatar). + example: 01JAJ3XCD66K3T99JZESCR137W + type: string + x-go-name: AvatarMediaID avatar_static: description: |- Web location of a static version of the account's avatar. @@ -2282,6 +2303,13 @@ definitions: example: A sunlit field with purple flowers. type: string x-go-name: HeaderDescription + header_media_id: + description: |- + Database ID of the media attachment for this account's header image. + Omitted if no header uploaded for this account (ie., default header). + example: 01JAJ3XCD66K3T99JZESCR137W + type: string + x-go-name: HeaderMediaID header_static: description: |- Web location of a static version of the account's header. |