bungie-api-ts
Version:
TypeScript mappings for the Bungie.net API
32 lines (31 loc) • 1.09 kB
TypeScript
/**
* Bungie.Net API
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.21.9
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-api-ts code generator program.
* https://github.com/DestinyItemManager/bungie-api-ts
* Do not edit these files manually.
*/
import { HttpClient } from '../http.js';
import {
CommunityContentSortMode,
ForumTopicsCategoryFiltersEnum,
PostSearchResponse,
} from '../forum/interfaces.js';
import { ServerResponse } from '../common.js';
export interface GetCommunityContentParams {
/** The type of media to get */
mediaFilter: ForumTopicsCategoryFiltersEnum;
/** Zero based page */
page: number;
/** The sort mode. */
sort: CommunityContentSortMode;
}
/** Returns community content. */
export declare function getCommunityContent(
http: HttpClient,
params: GetCommunityContentParams
): Promise<ServerResponse<PostSearchResponse>>;