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

    Interface WithContentNavigation

    API.getNewsPost

    interface WithContentNavigation {
        author: string;
        content: string;
        edit_url: string;
        first_image: null | string;
        id: number;
        navigation: { newer?: NewsPost; older?: NewsPost };
        published_at: Date;
        slug: string;
        title: string;
        updated_at: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    author: string
    content: string

    With HTML

    edit_url: string

    Link to view the file on GitHub

    first_image: null | string

    Link to the first image in the document

    id: number
    navigation: { newer?: NewsPost; older?: NewsPost }
    published_at: Date
    slug: string

    Filename without the extension, used in URLs

    title: string
    updated_at: Date