1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Add documentation for registrations.reason_required (#1624)

This commit is contained in:
Claire 2025-03-26 15:24:56 +01:00 committed by GitHub
parent 3540a72082
commit a0310e97ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,6 +121,7 @@ aliases: [
"registrations": {
"enabled": false,
"approval_required": false,
"reason_required": false,
"message": null,
"min_age": 16
},
@ -519,6 +520,13 @@ aliases: [
**Version history:**\
4.4.0 - added
#### `registrations[reason_required]` #{registrations-reason_required}
**Description:** Whether registrations require the user to provide a reason for joining. Only applicable when `registrations[approval_required]` is true.\
**Type:** {{<nullable>}} Boolean\
**Version history:**\
4.4.0 - added
### `api_versions` {#api-versions}
**Description:** Information about which version of the API is implemented by this server. It contains at least a `mastodon` attribute, and other implementations may have their own additional attributes.\