same question for #Hometown #HometownAdmin and #gotosocial #GtS #GtSDev: is it possible to detect what content types are accepted for post contents?
context: i'm trying to add #RichText support to a native client.
from my brief delvings i think that Hometown works like Glitch: it doesn't advertise the list of acceptable MIME types, but supports text/plain, text/markdown, and text/html, and accepts an additional content_type parameter on POST to /api/v1/statuses that contains the desired MIME type…
and GotoSocial doesn't list the available types either, but accepts an additional format parameter on POST to /api/v1/statuses that takes either of the literal strings plain or markdown.
which means (sigh) i'm going to have to propose an API extension for advertising rich text content types, which nobody will use and vanilla Mastodon will never mainline, or sniff the server type and switch client behavior based on what it thinks it's talking to (which means another API call to nodeinfo in the case of GotoSocial, since it doesn't show up as GtS in api/vX/instance). or maybe it's not too late to get GtS to switch to what Glitch, Hometown, and Akkoma are doing?
edit: i have since learned that Hometown doesn't author rich text posts, it just renders them.