hippofish/docs/api-change.md

1.9 KiB

Changes to the Firefish API

Breaking changes are indicated by the ⚠️ icon.

Unreleased

  • ⚠️ 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
    • admin/update-meta
      • These parameter(s) are removed from the request field:
        • sensitiveMediaDetection
        • sensitiveMediaDetectionSensitivity
        • setSensitiveFlagAutomatically
        • enableSensitiveMediaDetectionForVideos
    • admin/show-user
      • These parameter(s) are removed from the response field:
        • autoSensitive
    • i/update
      • These parameter(s) are removed from the request field:
        • autoSensitive

v20240212

  • ⚠️ The field name of the response of latest-version has been changed from tag_name to latest_version.

v1.0.5-rc

  • admin/update-meta can now take moreUrls parameter, and response of admin/meta now includes moreUrls
  • ⚠️ response of meta no longer includes the following:
    • enableTwitterIntegration
    • enableGithubIntegration
    • enableDiscordIntegration
  • ⚠️ parameter of admin/update-meta and response of admin/meta no longer include the following:
    • enableTwitterIntegration
    • enableGithubIntegration
    • enableDiscordIntegration
    • twitterConsumerKey
    • twitterConsumerSecret
    • githubClientId
    • githubClientSecret
    • discordClientId
    • discordClientSecret
  • ⚠️ response of admin/show-user no longer includes integrations.
  • Added lang parameter to notes/create and notes/edit.
  • ⚠️ notes/translate now requires credentials.