And while add it point to this via a top-level FEDERATION.md document as standardised by FEP-67ff. Also add a few missing descriptions to the config cheatsheet and move the recently removed C2S extension into an appropiate subsection.
4.4 KiB
Nodeinfo Extensions
Akkoma currently implements version 2.0 and 2.1 of nodeinfo spec, but provides the following additional fields.
metadata
The spec leaves the content of metadata up to implementations
and indeed Akkoma adds many fields here apart from the commonly
found nodeName and nodeDescription fields.
accountActivationRequired
Whether or not users need to confirm their email before completing registration. (boolean)
!!! note Not to be confused with account approval, where each registration needs to be manually approved by an admin. Account approval has no nodeinfo entry.
features
Array of strings denoting supported server features. E.g. a server supporting
quote posts should include a "quote_posting" entry here.
A non-exhaustive list of possible features:
pollsquote_postingeditingbubble_timelinepleroma_emoji_reactions(Unicode emoji)custom_emoji_reactionsakkoma_apiakkoma:machine_translationmastodon_apipleroma_api
federatedTimelineAvailable
Whether or not the “federated timeline”, i.e. a timeline containing posts from the entire known network, is made available. (boolean)
federation
This section is optional and can contain various custom keys describing federation policies. The following are required to be presented:
enabled(boolean) whether the server federates at all
A non-exhaustive list of optional keys:
exclusions(boolean) whether some federation policies are withheldmrf_simple(object) describes how the Simple MRF policy is configured
fieldsLimits
A JSON object documenting restriction for user account info fields. All properties are integers.
maxFieldsmaximum number of account info fields local users can createmaxRemoteFieldsmaximum number of account info fields remote users can have before the user gets rejected or fields truncatednameLengthmaximum length of a field’s namevalueLengthmaximum length of a field’s value
invitesEnabled
Whether or not signing up via invite codes is possible. (boolean)
localBubbleInstances
Array of domains (as strings) of other instances chosen by the admin which are shown in the bubble timeline.
mailerEnabled
Whether or not the instance can send out emails. (boolean)
nodeDescription
Human-friendly description of this instance (string)
nodeName
Human-friendly name of this instance (string)
pollLimits
JSON object containing limits for polls created by local users. All values are integers.
max_optionsmaximum number of poll optionsmax_option_charsmaximum characters per poll optionmin_expirationminimum time in seconds a poll must be open formax_expirationmaximum time a poll is allowed to be open for
postFormats
Array of strings containing media types for supported post source formats. A non-exhaustive list of possible values:
text/plaintext/markdowntext/bbcodetext/x.misskeymarkdown
private
Whether or not unauthenticated API access is permitted. (boolean)
privilegedStaff
Whether or not moderators are trusted to perform some additional tasks like e.g. issuing password reset emails.
publicTimelineVisibility
JSON object containing boolean-valued keys reporting if a given timeline can be viewed without login.
localfederatedbubble
restrictedNicknames
Array of strings listing nicknames forbidden to be used during signup.
skipThreadContainment
Whether broken threads are filtered out (boolean)
staffAccounts
Array containing ActivityPub IDs of local accounts with some form of elevated privilege on the instance.
suggestions
JSON object containing info on whether the interaction-based
Mastodon /api/v1/suggestions feature is enabled and optionally
additional implementation-defined fields with more details
on e.g. how suggested users are selected.
!!! note This has no relation to the newer /api/v2/suggestions API which also (or exclusively) contains staff-curated entries.
enabled(boolean) whether or not user recommendations are enabled
uploadLimits
JSON object documenting various upload-related size limits. All values are integers and in bytes.
avatarmaximum size of uploaded user avatarsbannermaximum size of uploaded user profile bannersbackgroundmaximum size of uploaded user profile backgroundsgeneralmaximum size for all other kinds of uploads