Instance

@Serializable
data class Instance(val uri: String, val title: String, val description: String, val shortDescription: String, val email: String, val version: String, val languages: List<String>, val areRegistrationsEnabled: Boolean, val isApprovalRequired: Boolean, val areInvitesEnabled: Boolean, val urls: InstanceUrls, val stats: InstanceStats, val thumbnail: String? = null, val contactAccount: Account? = null)

Information about the software instance of Mastodon running on this domain.

Constructors

Link copied to clipboard
constructor(uri: String, title: String, description: String, shortDescription: String, email: String, version: String, languages: List<String>, areRegistrationsEnabled: Boolean, isApprovalRequired: Boolean, areInvitesEnabled: Boolean, urls: InstanceUrls, stats: InstanceStats, thumbnail: String? = null, contactAccount: Account? = null)

Properties

Link copied to clipboard

Whether invites are enabled.

Link copied to clipboard

Whether registrations are enabled.

Link copied to clipboard
val contactAccount: Account? = null

A staff user that can be contacted, as an alternative to email.

Link copied to clipboard

An admin-defined description of the instance.

Link copied to clipboard

An email that may be contacted for any inquiries.

Link copied to clipboard

Whether registrations require moderator approval.

Link copied to clipboard

Primary languages of the website and its staff.

Link copied to clipboard

A shorter description of the instance defined by the admin.

Link copied to clipboard

Statistics about how much information the instance contains.

Link copied to clipboard
val thumbnail: String? = null

URL of a banner image for the instance.

Link copied to clipboard

The title of the instance.

Link copied to clipboard
val uri: String

The domain name of the instance.

Link copied to clipboard

URLs of interest for clients apps.

Link copied to clipboard

The version of Mastodon installed on the instance.