Interface WikiPage

API.getWikiPage

interface WikiPage {
    available_locales: string[];
    layout: string;
    locale: string;
    markdown: string;
    path: string;
    subtitle: null | string;
    tags: string[];
    title: string;
}

Properties

available_locales: string[]
layout: string
locale: string

Lowercase BCP 47 language (sub)tag (for example, en for english)

markdown: string
path: string

It's what should be after https://osu.ppy.sh/wiki/{locale}/

subtitle: null | string

Think of it as the title of the parent wiki page

If the title in the path (assuming it's in it (very unlikely if locale is not en)) is after a slash (/), this is what is before the slash

tags: string[]
title: string