Interface UserEndpointMe

Is the same as the UserEndpointGet/User object but some optional attributes on UserEndpointGet/User are included.


This type information is not official but was collected looking at responses. For type safety just treat this object like a User object.

Hierarchy-Diagram

UML class diagram of UserEndpointMe
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.

discord: null | string

Discord name. null if the user has it not set in the settings.


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

This is included in a UserEndpointGet object.

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.

has_supported: boolean

Whether or not ever being a supporter in the past.

id: number

Unique identifier for user.

interests: null | string

Interests string. null if the user has it not set in the settings.


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

This is included in a UserEndpointGet object.

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?

join_date: string

Date since when the user account exists.

last_visit: null | string

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

This is included in a UserEndpointGet/UserEndpointSearchUser object.

location: null | string

Location string. null if the user has it not set in the settings.


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

This is included in a UserEndpointGet 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.

max_blocks: number

Maximum number of users allowed to be blocked.

max_friends: number

Maximum number of friends allowed to be added.

monthly_playcounts: UserMonthlyPlaycount[]

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

This is included in a UserEndpointGet object.

occupation: null | string

Occupation string. null if the user has it not set in the settings.


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.

playmode: GameMode

The default game mode the user is playing.

playstyle: null | Playstyle[]

Device choices of the user. null if the user has it not set in the settings.

pm_friends_only: boolean

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

post_count: number

Number of forum posts.

Integer

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.

profile_order: ProfilePage[]

Ordered array of sections in user profile page.

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.

title: null | string

User-specific title. null if the user has no title.


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

This is included in a UserEndpointGet object.

title_url: null | string

User-specific title URL. null if the user has no title URL.


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

This is included in a UserEndpointGet object.

twitter: null | string

Twitter name. null if the user has it not set in the settings.


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.

variants?: UserGameModeVariant[]

Exists for profiles that have mania as their default game mode.

website: null | string

Website string. null if the user has it not set in the settings.


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

This is included in a UserEndpointGet object.

Generated using TypeDoc