Click to Rate and Give Feedback
MSDN
MSDN Library
Live Services SDK
Live Framework SDK
 Live Framework Pagination Query Ope...

  Switch on low bandwidth view
Live Framework Pagination Query Operators
[This is preliminary documentation and is subject to change.]

The paging query operators $skip and $top enable you to skip a number of results, return the top n results, or, when used together, return paged results.

The following examples demonstrate the use of the $skip and $top operators.

HTTP Request

GET https://user-ctp.windows.net/V0.1/Mesh/MeshObjects/{meshObjectID}/DataFeeds/
{dataFeedID}/DataEntries/?$skip=20

Description

The server returns a collection of data entries beginning with the twenty-first entry, skipping the first 20 entries.

HTTP Request

GET https://user-ctp.windows.net/V0.1/Mesh/MeshObjects/{meshObjectID}/DataFeeds/
{dataFeedID}/DataEntries/?$top=20

Description

The server returns a collection of the first 20 data entries.

HTTP Request

GET https://user-ctp.windows.net/V0.1/Mesh/MeshObjects/{meshObjectID}/DataFeeds/
{dataFeedID}/DataEntries/?$top=20&$skip=10

Description

The server returns a collection of 20 data entries, skipping the first 10 entries. The query parameter may be in any order.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker