-
Notifications
You must be signed in to change notification settings - Fork 15
v2.changelogs.details
cyperdark edited this page Mar 31, 2023
·
4 revisions
Returns details of the specified build
const { auth } = require('osu-api-extended');
await auth.login(client_id, client_secret);
await v2.changelogs.details(stream, build)
Parameter | Type | Description |
---|---|---|
stream | string |
stable40 or stable or beta40 or cuttingedge or lazer or web
|
build | string |
id or name of the build |
export interface response {
id: number;
version: number;
display_version: number;
users: number;
created_at: string;
update_stream: {
id: number;
name: string;
display_name: string;
is_featured: boolean;
};
changelog_entries: {
id?: string;
repository?: string;
github_pull_request_id?: string;
github_url?: string;
url?: string;
type: string;
category: string;
title: string;
major: boolean;
created_at: string;
github_user: {
id: string;
display_name: string;
github_url: string;
osu_username: string;
user_id: number;
user_url: string;
};
message?: string;
message_html?: string;
}[];
versions: {
next: {
id: number;
version: number;
display_version: number;
users: number;
created_at: string;
update_stream: {
id: number;
name: string;
display_name: string;
is_featured: boolean;
};
};
previous: {
id: number;
version: number;
display_version: number;
users: number;
created_at: string;
update_stream: {
id: number;
name: string;
display_name: string;
is_featured: boolean;
};
};
};
error: string;
}