pl-api
    Preparing search index...

    Type Alias Instance

    Instance: {
        account_domain: string;
        api_versions: { [key: string]: number };
        blockchains?: {
            chain_id: string | null;
            chain_metadata: {
                description: string;
                is_forwarding_required: boolean;
                payment_amount_min: number;
            };
            features: { subscriptions: boolean };
        }[];
        configuration: {
            accounts: | {
                allow_custom_css: boolean;
                max_featured_tags: number;
                max_profile_fields: number;
            }
            | null;
            chats: { max_characters: number };
            groups: {
                max_characters_description: number;
                max_characters_name: number;
            };
            limited_federation?: boolean;
            media_attachments: {
                image_matrix_limit?: number;
                image_size_limit?: number;
                supported_mime_types?: string[];
                video_duration_limit?: number;
                video_frame_rate_limit?: number;
                video_matrix_limit?: number;
                video_size_limit?: number;
            };
            polls: {
                max_characters_per_option: number;
                max_expiration: number;
                max_options: number;
                min_expiration: number;
            };
            reactions: { max_reactions: number };
            statuses: {
                characters_reserved_per_url?: number;
                max_characters: number;
                max_media_attachments: number;
            };
            timelines_access: {
                hashtag_feeds: {
                    local: "disabled"
                    | "public"
                    | "authenticated";
                    remote: "disabled" | "public" | "authenticated";
                };
                live_feeds: {
                    bubble: "disabled"
                    | "public"
                    | "restricted"
                    | "authenticated";
                    local: "disabled" | "public" | "restricted" | "authenticated";
                    remote: "disabled" | "public" | "restricted" | "authenticated";
                    wrenched: "disabled" | "public" | "restricted" | "authenticated";
                };
                trending_link_feeds: {
                    local: "disabled"
                    | "public"
                    | "authenticated";
                    remote: "disabled" | "public" | "authenticated";
                };
            };
            translation: { enabled: boolean };
            urls: {
                about: string | null;
                privacy_policy: string | null;
                status?: string;
                streaming?: string;
                terms_of_service: string | null;
            };
            vapid: { public_key: string };
        };
        contact: { contact_account?: Account; email: string };
        description: string;
        domain: string;
        feature_quote: boolean;
        icons: { size: string; src: string }[];
        languages: string[];
        pleroma: {
            metadata: {
                account_activation_required: boolean;
                birthday_min_age: number;
                birthday_required: boolean;
                description_limit: number;
                federation: {
                    enabled: boolean;
                    mrf_policies?: string[];
                    mrf_simple: {
                        accept: string[];
                        avatar_removal: string[];
                        banner_removal: string[];
                        federated_timeline_removal: string[];
                        followers_only: string[];
                        media_nsfw: string[];
                        media_removal: string[];
                        reject: string[];
                        reject_deletes: string[];
                        report_removal: string[];
                    };
                    mrf_simple_info: {
                        accept: [string, string][];
                        avatar_removal: [string, string][];
                        banner_removal: [string, string][];
                        federated_timeline_removal: [string, string][];
                        followers_only: [string, string][];
                        media_nsfw: [string, string][];
                        media_removal: [string, string][];
                        reject: [string, string][];
                        reject_deletes: [string, string][];
                        report_removal: [string, string][];
                    };
                };
                fields_limits: {
                    max_fields: number;
                    name_length: number;
                    value_length: number;
                };
                markup: { allow_headings: boolean; allow_inline_images: boolean };
                migration_cooldown_period?: number;
                multitenancy: {
                    domains?: { domain: string; id: string; public: boolean }[];
                    enabled: boolean;
                };
                post_formats: string[];
                restrict_unauthenticated: {
                    activities: { local: boolean; remote: boolean };
                    profiles: { local: boolean; remote: boolean };
                    timelines: {
                        bubble: boolean;
                        federated: boolean;
                        local: boolean;
                        wrenched: boolean;
                    };
                };
                translation: {
                    allow_remote: boolean;
                    allow_unauthenticated: boolean;
                    source_languages?: string[];
                    target_languages?: string[];
                };
            };
            oauth_consumer_strategies: string[];
            stats: { mau?: number };
            vapid_public_key: string;
        };
        registrations: {
            approval_required: boolean;
            enabled: boolean;
            message?: string;
            min_age: number
            | null;
            reason_required: boolean | null;
            url: string | null;
        };
        rules: {
            hint: string;
            id: string;
            text: string;
            translations?: { [key: string]: { hint: string; text: string } };
        }[];
        stats: {
            domain_count?: number;
            status_count?: number;
            user_count?: number;
        };
        thumbnail: { url: string };
        title: string;
        usage: { users: { active_month: number } };
        version: string;
    }

    Type Declaration

    • account_domain: string
    • api_versions: { [key: string]: number }
    • Optionalblockchains?: {
          chain_id: string | null;
          chain_metadata: {
              description: string;
              is_forwarding_required: boolean;
              payment_amount_min: number;
          };
          features: { subscriptions: boolean };
      }[]
    • configuration: {
          accounts:
              | {
                  allow_custom_css: boolean;
                  max_featured_tags: number;
                  max_profile_fields: number;
              }
              | null;
          chats: { max_characters: number };
          groups: { max_characters_description: number; max_characters_name: number };
          limited_federation?: boolean;
          media_attachments: {
              image_matrix_limit?: number;
              image_size_limit?: number;
              supported_mime_types?: string[];
              video_duration_limit?: number;
              video_frame_rate_limit?: number;
              video_matrix_limit?: number;
              video_size_limit?: number;
          };
          polls: {
              max_characters_per_option: number;
              max_expiration: number;
              max_options: number;
              min_expiration: number;
          };
          reactions: { max_reactions: number };
          statuses: {
              characters_reserved_per_url?: number;
              max_characters: number;
              max_media_attachments: number;
          };
          timelines_access: {
              hashtag_feeds: {
                  local: "disabled"
                  | "public"
                  | "authenticated";
                  remote: "disabled" | "public" | "authenticated";
              };
              live_feeds: {
                  bubble: "disabled"
                  | "public"
                  | "restricted"
                  | "authenticated";
                  local: "disabled" | "public" | "restricted" | "authenticated";
                  remote: "disabled" | "public" | "restricted" | "authenticated";
                  wrenched: "disabled" | "public" | "restricted" | "authenticated";
              };
              trending_link_feeds: {
                  local: "disabled"
                  | "public"
                  | "authenticated";
                  remote: "disabled" | "public" | "authenticated";
              };
          };
          translation: { enabled: boolean };
          urls: {
              about: string | null;
              privacy_policy: string | null;
              status?: string;
              streaming?: string;
              terms_of_service: string | null;
          };
          vapid: { public_key: string };
      }
    • contact: { contact_account?: Account; email: string }
    • description: string
    • domain: string
    • feature_quote: boolean
    • icons: { size: string; src: string }[]
    • languages: string[]
    • pleroma: {
          metadata: {
              account_activation_required: boolean;
              birthday_min_age: number;
              birthday_required: boolean;
              description_limit: number;
              federation: {
                  enabled: boolean;
                  mrf_policies?: string[];
                  mrf_simple: {
                      accept: string[];
                      avatar_removal: string[];
                      banner_removal: string[];
                      federated_timeline_removal: string[];
                      followers_only: string[];
                      media_nsfw: string[];
                      media_removal: string[];
                      reject: string[];
                      reject_deletes: string[];
                      report_removal: string[];
                  };
                  mrf_simple_info: {
                      accept: [string, string][];
                      avatar_removal: [string, string][];
                      banner_removal: [string, string][];
                      federated_timeline_removal: [string, string][];
                      followers_only: [string, string][];
                      media_nsfw: [string, string][];
                      media_removal: [string, string][];
                      reject: [string, string][];
                      reject_deletes: [string, string][];
                      report_removal: [string, string][];
                  };
              };
              fields_limits: {
                  max_fields: number;
                  name_length: number;
                  value_length: number;
              };
              markup: { allow_headings: boolean; allow_inline_images: boolean };
              migration_cooldown_period?: number;
              multitenancy: {
                  domains?: { domain: string; id: string; public: boolean }[];
                  enabled: boolean;
              };
              post_formats: string[];
              restrict_unauthenticated: {
                  activities: { local: boolean; remote: boolean };
                  profiles: { local: boolean; remote: boolean };
                  timelines: {
                      bubble: boolean;
                      federated: boolean;
                      local: boolean;
                      wrenched: boolean;
                  };
              };
              translation: {
                  allow_remote: boolean;
                  allow_unauthenticated: boolean;
                  source_languages?: string[];
                  target_languages?: string[];
              };
          };
          oauth_consumer_strategies: string[];
          stats: { mau?: number };
          vapid_public_key: string;
      }
    • registrations: {
          approval_required: boolean;
          enabled: boolean;
          message?: string;
          min_age: number | null;
          reason_required: boolean | null;
          url: string | null;
      }
    • rules: {
          hint: string;
          id: string;
          text: string;
          translations?: { [key: string]: { hint: string; text: string } };
      }[]
    • stats: { domain_count?: number; status_count?: number; user_count?: number }
    • thumbnail: { url: string }
    • title: string
    • usage: { users: { active_month: number } }
    • version: string