/api/v1/accounts/:id/statuses?only_media=true returns media that is not owned
In Soapbox FE this "Media" tab on user profiles works by pulling from /api/v1/accounts/:id/statuses?only_media=true
:
The third one, of Kermit drinking tea, is not owned by me, but is rather from a post that I Announced. In Mastodon, the ?only_media=true
option only returns Creates, not Announces, so it fits better with the above UI.
Pleroma FE's design displays the media tab as a timeline, so including Announces actually makes sense:
In order to support this design, it would be nice if there were a way to filter only Creates on that endpoint. For now I think I'll just filter it on the frontend.