getTopicForContent function

Future<ServerResponse<String>> getTopicForContent (
  1. HttpClient http,
  2. GetTopicForContentParams params
)

Gets the post Id for the given content item's comments, if it exists.

Implementation

Future<ServerResponse<String>> getTopicForContent(HttpClient http, GetTopicForContentParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Forum/GetTopicForContent/${params.contentId}/",
    null,
    null
    ));
}