You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As more unique features get added to GoToSocial, it'd be nice to have some way for clients to keep track of API changes and features outside of nodeinfo. For example, for the interaction limits, there's no way of knowing if they are supported without either checking nodeinfo or by using the api and checking if it fails.
Additionally, as Mastodon and GTS move at different speeds, it'd be nice to also display what version of Mastodon's API is supported.
Describe the solution you'd like.
The latest Mastodon version, added an api_versions entry in /api/v2/instance. It's a String => Int object, so other software (like GTS) can add their own api versions:
Something to consider however is how often it should be bumped, especially when GTS is still beta. Mastodon is already on version 2, between api_versions getting merged and released.
IMO, "mastodon": 1 (or 2), should probably be added when GTS supports all Mastodon 4.3 APIs, which might be less than ideal if stuff like 'notifications filters' never make it in.
Describe alternatives you've considered.
From my side, the alternatives mentioned in the first text input (nodeinfo, try the API).
An alternative to api_versions, could be *oma's pleroma.metadata.features entry, which lists all features it supports:
Is your feature request related to a problem ?
As more unique features get added to GoToSocial, it'd be nice to have some way for clients to keep track of API changes and features outside of nodeinfo. For example, for the interaction limits, there's no way of knowing if they are supported without either checking nodeinfo or by using the api and checking if it fails.
Additionally, as Mastodon and GTS move at different speeds, it'd be nice to also display what version of Mastodon's API is supported.
Describe the solution you'd like.
The latest Mastodon version, added an
api_versions
entry in/api/v2/instance
. It's a String => Int object, so other software (like GTS) can add their own api versions:Something to consider however is how often it should be bumped, especially when GTS is still beta. Mastodon is already on version 2, between api_versions getting merged and released.
IMO,
"mastodon": 1
(or2
), should probably be added when GTS supports all Mastodon 4.3 APIs, which might be less than ideal if stuff like 'notifications filters' never make it in.Describe alternatives you've considered.
From my side, the alternatives mentioned in the first text input (nodeinfo, try the API).
An alternative to
api_versions
, could be *oma'spleroma.metadata.features
entry, which lists all features it supports:Additional context.
There are some interesting takes on the Mastodon PR mastodon/mastodon#31354
The text was updated successfully, but these errors were encountered: