2.4 KiB
2.4 KiB
Changes to the Firefish API
Breaking changes are indicated by the ⚠️ icon.
Unreleased
- Added
admin/set-emoji-moderator
endpoint, where moderators can give these permissions to regular users:add
: Add new custom emojis, set tag/category/license to newly added custom emojismod
:add
permission + edit the name/category/tag/license of the existing custom emojisfull
:mod
permission + delete existing custom emojis
- Emoji moderators are able to access to the endpoints under
admin/emoji/
v20240217
- ⚠️ Since the auto NSFW media detection has been removed, these endpoints are affected:
admin/meta
- These parameter(s) are removed from the response field:
sensitiveMediaDetection
sensitiveMediaDetectionSensitivity
setSensitiveFlagAutomatically
enableSensitiveMediaDetectionForVideos
- These parameter(s) are removed from the response field:
admin/update-meta
- These parameter(s) are removed from the request field:
sensitiveMediaDetection
sensitiveMediaDetectionSensitivity
setSensitiveFlagAutomatically
enableSensitiveMediaDetectionForVideos
- These parameter(s) are removed from the request field:
admin/show-user
- These parameter(s) are removed from the response field:
autoSensitive
- These parameter(s) are removed from the response field:
i/update
- These parameter(s) are removed from the request field:
autoSensitive
- These parameter(s) are removed from the request field:
/api/emojis
endpoint has been added.
v20240212
- ⚠️ The field name of the response of
latest-version
has been changed fromtag_name
tolatest_version
.
v1.0.5-rc
admin/update-meta
can now takemoreUrls
parameter, and response ofadmin/meta
now includesmoreUrls
- These URLs are used for the help menu (related merge request)
- ⚠️ response of
meta
no longer includes the following:enableTwitterIntegration
enableGithubIntegration
enableDiscordIntegration
- ⚠️ parameter of
admin/update-meta
and response ofadmin/meta
no longer include the following:enableTwitterIntegration
enableGithubIntegration
enableDiscordIntegration
twitterConsumerKey
twitterConsumerSecret
githubClientId
githubClientSecret
discordClientId
discordClientSecret
- ⚠️ response of
admin/show-user
no longer includesintegrations
. - Added
lang
parameter tonotes/create
andnotes/edit
. - ⚠️
notes/translate
now requires credentials.