[feat] Adding configuration
property in /api/v1/instance
endpoint #696
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#696
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
Akkoma's instance endpoint (for example, https://seafoam.space/api/v1/instance) returns
max_toot_chars
as the maximum characters of the toot now, while Mastodon hasconfiguration.statuses.max_characters
property for that number (ref. https://mastodon.social/api/v1/instance).It would be nice for Akkoma's endpoint can return the same
configuration
property in/api/v1/instance
endpoint.https://seafoam.space/api/v1/instance
https://mastodon.social/api/v1/instance
The reasoning
I'm working on the Elk client and Akkoma users reported the issue about the maximum characters: https://github.com/elk-zone/elk/issues/2573.
If the Akkoma has a compatible response on the endpoint, it would help improve the interoperability with other tools too. Thanks!
Have you searched for this feature request?
Although Akkoma only claims compatibility with Mastodon 2.7.2, this makes sense to me and I guess exposing it also the Mastodon-way wouldn’t be to hard or too much bloat (but my guess has no authority), but just for reference for the curious:
*oma added
max_toot_chars
on 2018-11-06 (and most other properties in a misnamed commit on 2019-10-02).According to its own docs Mastodon added
configuration
properties in 3.4.2 which was tagged on 2021-11-06. It’s literally Mastodon’s API afterall so they don’t need to consider how others already extended it, but funny still