documentation icon indicating copy to clipboard operation
documentation copied to clipboard

`url` and possibly `max_toot_chars` are missing from `Instance` entity

Open anosidium opened this issue 1 year ago • 3 comments

When I inspected Instance entity using this endpoint GET /api/v2/instance for mastodon.social instance, I noticed that the url attribute is missing from the Instance entity documentation. The documentation does list message attribute but not for url. Currently the JSON response is null for url key.

As for max_toot_chars attribute, I only notice this peculiar attribute for todon.nl instance. As far as I can tell, this instance is running the official Mastodon instance. I don't get the impression that it is running a fork or some derivatives but I could be wrong. This key value matches max_characters value.

anosidium avatar Nov 03 '24 16:11 anosidium

max_toot_chars is an unsupported extension, todon.nl likely has a local set of changes.

ClearlyClaire avatar Nov 04 '24 12:11 ClearlyClaire

Could you please explain about extensions? It's the first time that I am hearing it. What do you mean by local set of changes? Is todon.nl not running an official Mastodon instance?

anosidium avatar Nov 06 '24 01:11 anosidium

Mastodon does not allow changing the character limit away from the default 500 characters without modification. toot.nl allows 1312 characters, so they have made local changes to their installation. The max_toot_chars attribute is most likely from those changes.

ClearlyClaire avatar Nov 06 '24 13:11 ClearlyClaire