getPublicMilestoneContent function

Future<ServerResponse<DestinyMilestoneContent>> getPublicMilestoneContent (HttpClient http, GetPublicMilestoneContentParams params)

Gets custom localized content for the milestone of the given hash, if it exists.

Implementation

Future<ServerResponse<DestinyMilestoneContent>> getPublicMilestoneContent(HttpClient http, GetPublicMilestoneContentParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Destiny2/Milestones/${params.milestoneHash}/Content/",
    null,
    null
    ));
}