Hunter.Instance (hunter v0.7.0)

Copy Markdown View Source

Instance entity

This module defines a Hunter.Instance struct.

Fields

  • domain - The instance's domain name
  • title - The instance's title
  • version - The Mastodon version used by instance
  • source_url - The URL for the source code of the software running this instance
  • description - A short, plain-text description of the instance
  • usage - Statistics about how much use the instance has seen
  • thumbnail - Assets associated with server branding
  • languages - Primary languages of the instance and its staff
  • configuration - Configured values and limits for this instance
  • registrations - Information about registering for this instance
  • contact - Hints related to contacting a representative of the instance
  • rules - An itemized list of Hunter.Rule for this instance

Summary

Types

t()

@type t() :: %Hunter.Instance{
  configuration: map(),
  contact: map(),
  description: String.t(),
  domain: String.t(),
  languages: [String.t()],
  registrations: map(),
  rules: [Hunter.Rule.t()],
  source_url: String.t(),
  thumbnail: map(),
  title: String.t(),
  usage: map(),
  version: String.t()
}