observation-js Documentation - v1.16.0
    Preparing search index...

    Interface User

    The current authenticated user as returned by GET /user/info/.

    interface User {
        id: number;
        name: string;
        email: string;
        is_mail_allowed: boolean;
        url: string;
        country: string | null;
        consider_email_confirmed: boolean;
        avatar: string | null;
    }
    Index

    Properties

    id: number

    Unique id of the user.

    name: string

    Display name of the user.

    email: string

    Email of the user.

    is_mail_allowed: boolean

    Whether the user allows us to send mail (newsletters, notifications, etc.).

    url: string

    Url to the user's profile.

    country: string | null

    The uppercase ISO 3166-1-alpha-2 country code, or null when unset.

    consider_email_confirmed: boolean

    Whether the user's email address is confirmed.

    avatar: string | null

    A url to a jpg file for the user avatar, or null if the user has no avatar.