masto
    Preparing search index...

    Interface AccountSource

    Represents display or publishing preferences of user's own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account.

    interface AccountSource {
        attributionDomains: string[];
        discoverable?: boolean | null;
        fields: AccountField[];
        followRequestsCount?: number | null;
        hideCollections?: boolean | null;
        indexable: boolean;
        language: string | null;
        note: string;
        privacy?: (keyof StatusVisibilityRegistry) | null;
        quotePolicy: keyof mastodon.rest.v1.QuoteApprovalPolicyRegistry;
        role: Role;
        sensitive?: boolean | null;
    }
    Index

    Properties

    attributionDomains: string[]

    Domains of websites allowed to credit the account.

    discoverable?: boolean | null

    Whether the account has opted into discovery features such as the profile directory.

    fields: AccountField[]

    Metadata about the account.

    followRequestsCount?: number | null

    The number of pending follow requests.

    hideCollections?: boolean | null

    Whether the user hides the contents of their follows and followers collections.

    indexable: boolean

    Whether public posts should be searchable to anyone.

    language: string | null

    The default posting language for new statuses.

    note: string

    Profile bio, in plain text instead of HTML.

    privacy?: (keyof StatusVisibilityRegistry) | null

    The default post privacy to be used for new statuses.

    The default quote policy to be used for new statuses.

    role: Role

    The complete role assigned to the currently authorized user, including permissions and highlighted status.

    sensitive?: boolean | null

    Whether new statuses should be marked sensitive by default.