Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url and possibly max_toot_chars are missing from Instance entity #1554

Open
anosidium opened this issue Nov 3, 2024 · 3 comments
Open

url and possibly max_toot_chars are missing from Instance entity #1554

anosidium opened this issue Nov 3, 2024 · 3 comments

Comments

@anosidium
Copy link

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 anosidium changed the title url and possibly max_toot_chars missing are from Instance entity url and possibly max_toot_chars are missing from Instance entity Nov 3, 2024
@ClearlyClaire
Copy link
Contributor

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

@anosidium
Copy link
Author

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?

@ClearlyClaire
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants