4.6 KiB
4.6 KiB
Changes to the Firefish API
Breaking changes are indicated by the ⚠️ icon.
v20240516
- ⚠️
server-info
(an endpoint to get server hardware information) now requires credentials. - ⚠️
net
(server's default network interface) has been removed fromadmin/server-info
. - Adding
lang
to the response ofi
and the request parameter ofi/update
.
v20240504
- ⚠️ Removed
release
endpoint.
v20240424
- Added
antennaLimit
field to the response ofmeta
andadmin/meta
, and the request ofadmin/update-meta
(optional). - Added
filter
optional parameter tonotes/renotes
endpoint to filter the types of renotes. It can take the following values:all
(default)renote
quote
- ⚠️ Removed the following optional parameters in
notes/reactions
, as they were never taken into account due to a bug:sinceId
untilId
v20240413
- ⚠️ Removed
patrons
endpoint.
v20240405
- Added
notes/history
endpoint.
v20240319
- ⚠️
followingCount
andfollowersCount
inusers/show
will benull
(instead of 0) if these values are unavailable. - ⚠️
admin/search/index-all
is removed since posts are now indexed automatically. - New optional parameters are added to
notes/search
endpoint:sinceDate
untilDate
withFiles
searchCwAndAlt
- Added
enableGuestTimeline
field to the response ofmeta
andadmin/meta
, and the request ofadmin/update-meta
(optional).
v20240301
- With the addition of new features, the following endpoints are added:
- check your follow requests that haven't been approved
following/requests/sent
- per-user reply mutes
reply-mute/create
reply-mute/delete
reply-mute/list
- check your follow requests that haven't been approved
- ⚠️ The following (horrible) endpoints are removed:
admin/vacuum
reset-db
v20240228
- ⚠️ The following endpoints are removed:
charts/ap-request
charts/drive
charts/federation
charts/hashtag
charts/instance
charts/notes
charts/user/drive
charts/user/following
charts/user/notes
charts/user/reactions
charts/users
v20240221
- 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/
- Removed
lang
from the response ofi
and the request parameter ofi/update
. - Added
notes/make-private
endpoint.
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.