Interface CreateSite

interface CreateSite {
    actor_name_max_length?: number;
    allowed_instances?: string[];
    application_email_admins?: boolean;
    application_question?: string;
    banner?: string;
    blocked_instances?: string[];
    captcha_difficulty?: string;
    captcha_enabled?: boolean;
    community_creation_admin_only?: boolean;
    content_warning?: string;
    default_post_listing_mode?: PostListingMode;
    default_post_listing_type?: ListingType;
    default_sort_type?: SortType;
    default_theme?: string;
    description?: string;
    discussion_languages?: number[];
    enable_downvotes?: boolean;
    enable_nsfw?: boolean;
    federation_debug?: boolean;
    federation_enabled?: boolean;
    hide_modlog_mod_names?: boolean;
    icon?: string;
    legal_information?: string;
    name: string;
    private_instance?: boolean;
    rate_limit_comment?: number;
    rate_limit_comment_per_second?: number;
    rate_limit_image?: number;
    rate_limit_image_per_second?: number;
    rate_limit_message?: number;
    rate_limit_message_per_second?: number;
    rate_limit_post?: number;
    rate_limit_post_per_second?: number;
    rate_limit_register?: number;
    rate_limit_register_per_second?: number;
    rate_limit_search?: number;
    rate_limit_search_per_second?: number;
    registration_mode?: RegistrationMode;
    require_email_verification?: boolean;
    sidebar?: string;
    slur_filter_regex?: string;
    taglines?: string[];
}

Properties

actor_name_max_length?: number
allowed_instances?: string[]
application_email_admins?: boolean
application_question?: string
banner?: string
blocked_instances?: string[]
captcha_difficulty?: string
captcha_enabled?: boolean
community_creation_admin_only?: boolean
content_warning?: string
default_post_listing_mode?: PostListingMode
default_post_listing_type?: ListingType
default_sort_type?: SortType
default_theme?: string
description?: string
discussion_languages?: number[]
enable_downvotes?: boolean
enable_nsfw?: boolean
federation_debug?: boolean
federation_enabled?: boolean
hide_modlog_mod_names?: boolean
icon?: string
legal_information?: string
name: string
private_instance?: boolean
rate_limit_comment?: number
rate_limit_comment_per_second?: number
rate_limit_image?: number
rate_limit_image_per_second?: number
rate_limit_message?: number
rate_limit_message_per_second?: number
rate_limit_post?: number
rate_limit_post_per_second?: number
rate_limit_register?: number
rate_limit_register_per_second?: number
rate_limit_search?: number
rate_limit_search_per_second?: number
registration_mode?: RegistrationMode
require_email_verification?: boolean
sidebar?: string
slur_filter_regex?: string
taglines?: string[]