GET api/v2/feed/{type}/{id}/next?locale={locale}&next={next}&pageSize={pageSize}

Retrieves a time contiguous set of Article Cards from the given feed, starting from the given next token.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

Feed to retrieve from. E.g. user, category, featured

string

Required

id

Identifier specific to the feed type. E.g. user id, category name, home

string

Required

locale

Locale to use to filter the feed with. E.g. en, fr, es. Defaults to "us".

string

Default value is en

next

Is the number of articles to skip in the search.

string

None.

pageSize

The maximum number of items to return. Defaults to 10.

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

FeedLinkedDataOfFeedItem
NameDescriptionTypeAdditional information
TotalFeedCount

integer

None.

Items

Collection of FeedItem

None.

Next

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalFeedCount": 1,
  "Items": [
    {
      "Type": "ArticleCard",
      "Item": {}
    },
    {
      "Type": "ArticleCard",
      "Item": {}
    }
  ],
  "Next": "sample string 2"
}

application/xml, text/xml

Sample:
<FeedLinkedDataOfFeedItemDj8flMKB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Search.Models">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Feed.Core.Models" xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.Models">
    <d2p1:FeedItem>
      <d2p1:Item />
      <d2p1:Type>ArticleCard</d2p1:Type>
    </d2p1:FeedItem>
    <d2p1:FeedItem>
      <d2p1:Item />
      <d2p1:Type>ArticleCard</d2p1:Type>
    </d2p1:FeedItem>
  </Items>
  <Next xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.Models">sample string 2</Next>
  <TotalFeedCount>1</TotalFeedCount>
</FeedLinkedDataOfFeedItemDj8flMKB>