Source

This page was generated with Wiki Builder. Do not change the format!

Info

Returns trending items for Bungie.net, collapsed into the first page of items per category. For pagination within a category, call GetTrendingCategory.

Parameters

Path Parameters

None

Query String Parameters

None

Example

Request

GET https://www.bungie.net/Platform/Trending/Categories/

Response

PlatformErrorCode: 200

{
    // Type: TrendingCategories
    "Response": {
        // Type: TrendingCategory[]
        "categories": [
           // Type: TrendingCategory
            {
                // Type: string
                "categoryName": "",
                // Type: SearchResultOfTrendingEntry
                "entries": {
                    // Type: TrendingEntry[]
                    "results": [
                       // Type: TrendingEntry
                        {
                            // Type: number:double
                            "weight": 0,
                            // Type: boolean
                            "isFeatured": false,
                            // Type: string
                            "identifier": "",
                            // Type: TrendingEntryType:Enum
                            "entityType": {},
                            // Type: string
                            "displayName": "",
                            // Type: string
                            "tagline": "",
                            // Type: string
                            "image": "",
                            // Type: string:date-time:nullable
                            "startDate": "",
                            // Type: string:date-time:nullable
                            "endDate": "",
                            // Type: string
                            "link": "",
                            // Type: string
                            "webmVideo": "",
                            // Type: string
                            "mp4Video": "",
                            // Type: string
                            "featureImage": "",
                            // Type: TrendingEntry[]
                            "items": [
                               // Type: TrendingEntry
                                "{}"
                            ]
                        }
                    ],
                    // Type: integer:int32
                    "totalResults": 0,
                    // Type: boolean
                    "hasMore": false,
                    // Type: PagedQuery
                    "query": {
                        // Type: integer:int32
                        "itemsPerPage": 0,
                        // Type: integer:int32
                        "currentPage": 0,
                        // Type: string
                        "requestContinuationToken": ""
                    },
                    // Type: string
                    "replacementContinuationToken": "",
                    // Type: boolean
                    "useTotalResults": false
                },
                // Type: string
                "categoryId": ""
            }
        ]
    },
    // Type: PlatformErrorCodes:Enum
    "ErrorCode": 0,
    // Type: integer:int32
    "ThrottleSeconds": 0,
    // Type: string
    "ErrorStatus": "",
    // Type: string
    "Message": "",
    // Type: Dictionary<string,string>
    "MessageData": {
        "{string}": ""
    },
    // Type: object
}

References

  1. https://bungie-net.github.io/multi/operation_get_Trending-GetTrendingCategories.html#operation_get_Trending-GetTrendingCategories