getCollectibleNodeDetails function

Future<ServerResponse<DestinyCollectibleNodeDetailResponse>> getCollectibleNodeDetails (HttpClient http, GetCollectibleNodeDetailsParams params)

Given a Presentation Node that has Collectibles as direct descendants, this will return item details about those descendants in the context of the requesting character.

Implementation

Future<ServerResponse<DestinyCollectibleNodeDetailResponse>> getCollectibleNodeDetails(HttpClient http, GetCollectibleNodeDetailsParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Destiny2/${params.membershipType}/Profile/${params.destinyMembershipId}/Character/${params.characterId}/Collectibles/${params.collectiblePresentationNodeHash}/",
    {
      'components': params.components
    },
    null
    ));
}