osu-api-v2-js
    Preparing search index...

    Interface WithHostRecentparticipants

    API.getRoom / API.getRooms

    interface WithHostRecentparticipants {
        active: boolean;
        auto_skip: boolean;
        category: "normal" | "spotlight" | "daily_challenge";
        channel_id: number;
        current_playlist_item?: null | Multiplayer.Room.PlaylistItem.WithBeatmap;
        current_user_score?: {
            accuracy: number;
            attempts: number;
            completed: number;
            playlist_item_attempts: { attempts: number; id: number }[];
            pp: number;
            room_id: number;
            total_score: number;
            user_id: number;
        };
        difficulty_range?: { max: number; min: number };
        ends_at: null | Date;
        has_password: boolean;
        host: WithCountry;
        id: number;
        max_attempts: null | number;
        name: string;
        participant_count: number;
        playlist?: WithComplexBeatmap[];
        playlist_item_stats?: {
            count_active: number;
            count_total: number;
            ruleset_ids: Ruleset[];
        };
        queue_mode: "all_players"
        | "all_players_round_robin"
        | "host_only";
        recent_participants: User[];
        starts_at: Date;
        status: "idle" | "playing";
        type: "head_to_head" | "team_versus" | "playlists";
        user_id: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    active: boolean
    auto_skip: boolean
    category: "normal" | "spotlight" | "daily_challenge"
    channel_id: number
    current_playlist_item?: null | Multiplayer.Room.PlaylistItem.WithBeatmap
    current_user_score?: {
        accuracy: number;
        attempts: number;
        completed: number;
        playlist_item_attempts: { attempts: number; id: number }[];
        pp: number;
        room_id: number;
        total_score: number;
        user_id: number;
    }

    Only exists if the authorized user has played

    Type declaration

    • accuracy: number

      In a format where 96.40% would be 0.9640 (with some numbers after the zero)

    • attempts: number
    • completed: number
    • playlist_item_attempts: { attempts: number; id: number }[]

      How many (completed (I think)) attempts on each item? Empty array if the multiplayer room is the realtime kind

    • pp: number
    • room_id: number
    • total_score: number
    • user_id: number
    difficulty_range?: { max: number; min: number }
    ends_at: null | Date
    has_password: boolean
    id: number
    max_attempts: null | number
    name: string
    participant_count: number
    playlist?: WithComplexBeatmap[]
    playlist_item_stats?: {
        count_active: number;
        count_total: number;
        ruleset_ids: Ruleset[];
    }
    queue_mode: "all_players" | "all_players_round_robin" | "host_only"
    recent_participants: User[]
    starts_at: Date
    status: "idle" | "playing"
    type: "head_to_head" | "team_versus" | "playlists"
    user_id: number