Microsoft 开发人员网络 > 论坛主页 > Live Framework > how do i get Sync Entries based on eTag
提出问题提出问题
 

已答复how do i get Sync Entries based on eTag

  • 2009年6月26日 16:25krskumar 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,
    Is it possible to retrieve SyncEntries based on eTag?

    e.g. Get me all the Entries of a Feed whose eTag>2.. This should return me all the entries (including deleted) whose sequence is > 2

    Thanks,
    Kumar Subramanian

答案

  • 2009年7月2日 6:06Vikas-AhujaMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    Thanks Neil.

    For GETing an incremental feed, Kumar would need to put the Etag value in the "If-None-Match" header.
    This posting is provided "AS IS" with no warranties, and confers no rights.

全部回复

  • 2009年7月2日 3:15Neil Mackenzie 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I believe the intent is that you treat the ETag as an entity tag the internal representation of which is opaque. In other words, you should not rely on the numerical ordering of the integer representation of the ETag. Consequently, there is no reason to and you should not perform the query you seek to perform.
  • 2009年7月2日 6:06Vikas-AhujaMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    Thanks Neil.

    For GETing an incremental feed, Kumar would need to put the Etag value in the "If-None-Match" header.
    This posting is provided "AS IS" with no warranties, and confers no rights.