Interface UserCompact

Mainly used for embedding in certain responses to save additional api lookups.

(Source)

Hierarchy-Diagram

UML class diagram of UserCompact
Legend
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property

Hierarchy

Properties

account_history?: UserAccountHistory[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

active_tournament_banner?: null | UserProfileBanner

May be additionally included in the response. Relevant endpoints should list them if applicable.

null if the user has no active tournament banner.

This is included in a UserEndpointGet object.

avatar_url: string

Url of user's avatar.

badges?: UserBadge[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

beatmap_playcounts_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointMe object.

blocks?: unknown

May be additionally included in the response. Relevant endpoints should list them if applicable.

comments_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a User object.

country_code: string

Two-letter code representing user's country.

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a User object.

default_group: string

Identifier of the default group the user belongs to.

favourite_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

follower_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

friends?: unknown

May be additionally included in the response. Relevant endpoints should list them if applicable.

graveyard_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

groups?: UserGroup[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

guest_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

id: number

Unique identifier for user.

is_active: boolean

Has this account been active in the last x months?

is_bot: boolean

Is this a bot account?

is_deleted: boolean

Account was deleted.

is_online: boolean

Is the user currently online? (either on lazer or the new website).

is_restricted?: boolean

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a User object if this is the currently authenticated user.

This is included in a UserEndpointMe object.

is_supporter: boolean

Does this user have supporter?

last_visit?: null | string

Last access time. null if the user hides online presence.

This is included in a UserEndpointGet/UserEndpointSearchUser object.

loved_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

mapping_follower_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

monthly_playcounts?: UserMonthlyPlaycount[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

May be additionally included in the response. Relevant endpoints should list them if applicable.

If the user has never edited their page (never supported osu!) this key will not be undefined.

This is included in a UserEndpointGet object.

pending_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

pm_friends_only: boolean

Whether or not the user allows PM from other than friends.

previous_usernames?: string[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

profile_colour?: null | string

Colour of username/profile highlight.

This is included in a UserEndpointGet/UserEndpointSearchUser object.

rank_history?: UserRankHistory

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

ranked_beatmapset_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

replays_watched_counts?: UserReplaysWatchedCount[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

scores_best_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

scores_first_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

scores_pinned_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

scores_recent_count?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

statistics?: UserStatistics

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

statistics_rulesets: UserStatisticsRulesets

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointMe object.

support_level?: number

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

unread_pm_count?: unknown

May be additionally included in the response. Relevant endpoints should list them if applicable.

user_achievements?: UserAchievement[]

May be additionally included in the response. Relevant endpoints should list them if applicable.

This is included in a UserEndpointGet object.

user_preferences?: unknown

May be additionally included in the response. Relevant endpoints should list them if applicable.

username: string

User's display name.

Generated using TypeDoc