7d5ef81737
The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks. https://docs.joinmastodon.org/methods/media/#v2
1 line
90 B
Text
1 line
90 B
Text
Fix /api/v2/media returning the wrong status code (202) for media processed synchronously
|