GET api/v1/lists/trending-topics

Returns a list of product resources and trending topics

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of product resources and trending topics

PrttResponse
NameDescriptionTypeAdditional information
count

integer

None.

items

Collection of PrttTab

None.

_links

Collection of Link

None.

_languages

Collection of LanguagesLink

None.

Response Codes

CodeDescriptionAdditional information
200OKThe request returned without error
204No ContentThe request was successful but no results were returned
400Bad RequestA parameter was missing or invalid
404Not FoundThe requested resource was not found

Response Formats

application/json, text/json

Sample:
{
  "count": 1,
  "_links": [
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    }
  ],
  "_languages": [
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    }
  ],
  "items": [
    {
      "tabId": 1,
      "tabName": "sample string 2",
      "tabSortOrder": 1,
      "prttSections": [
        {
          "cpckSectionId": 1,
          "sectionName": "sample string 2",
          "sectionSortOrder": 1,
          "prttLinks": [
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            },
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            }
          ]
        },
        {
          "cpckSectionId": 1,
          "sectionName": "sample string 2",
          "sectionSortOrder": 1,
          "prttLinks": [
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            },
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            }
          ]
        }
      ]
    },
    {
      "tabId": 1,
      "tabName": "sample string 2",
      "tabSortOrder": 1,
      "prttSections": [
        {
          "cpckSectionId": 1,
          "sectionName": "sample string 2",
          "sectionSortOrder": 1,
          "prttLinks": [
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            },
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            }
          ]
        },
        {
          "cpckSectionId": 1,
          "sectionName": "sample string 2",
          "sectionSortOrder": 1,
          "prttLinks": [
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            },
            {
              "cpckLinkId": 1,
              "linkLabel": "sample string 2",
              "linkDescription": "sample string 3",
              "link": "sample string 4",
              "isInternal": true,
              "linkSortOrder": 1
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<prttResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <_languages>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
  </_languages>
  <_links>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
  </_links>
  <count>1</count>
  <items>
    <prttTab>
      <tabId>1</tabId>
      <tabName>sample string 2</tabName>
      <tabSortOrder>1</tabSortOrder>
      <prttSections>
        <prttSection>
          <cpckSectionId>1</cpckSectionId>
          <sectionName>sample string 2</sectionName>
          <sectionSortOrder>1</sectionSortOrder>
          <prttLinks>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
          </prttLinks>
        </prttSection>
        <prttSection>
          <cpckSectionId>1</cpckSectionId>
          <sectionName>sample string 2</sectionName>
          <sectionSortOrder>1</sectionSortOrder>
          <prttLinks>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
          </prttLinks>
        </prttSection>
      </prttSections>
    </prttTab>
    <prttTab>
      <tabId>1</tabId>
      <tabName>sample string 2</tabName>
      <tabSortOrder>1</tabSortOrder>
      <prttSections>
        <prttSection>
          <cpckSectionId>1</cpckSectionId>
          <sectionName>sample string 2</sectionName>
          <sectionSortOrder>1</sectionSortOrder>
          <prttLinks>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
          </prttLinks>
        </prttSection>
        <prttSection>
          <cpckSectionId>1</cpckSectionId>
          <sectionName>sample string 2</sectionName>
          <sectionSortOrder>1</sectionSortOrder>
          <prttLinks>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
            <prttLink>
              <cpckLinkId>1</cpckLinkId>
              <linkLabel>sample string 2</linkLabel>
              <linkDescription>sample string 3</linkDescription>
              <link>sample string 4</link>
              <isInternal>true</isInternal>
              <linkSortOrder>1</linkSortOrder>
            </prttLink>
          </prttLinks>
        </prttSection>
      </prttSections>
    </prttTab>
  </items>
</prttResponse>