Windows Azure Platform Developer Center > Azure Forums > Live Framework > how do i get Sync Entries based on eTag
Ask a questionAsk a question
 

Answerhow do i get Sync Entries based on eTag

  • Friday, June 26, 2009 4:25 PMkrskumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

Answers

  • Thursday, July 02, 2009 6:06 AMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    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.

All Replies

  • Thursday, July 02, 2009 3:15 AMNeil Mackenzie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Thursday, July 02, 2009 6:06 AMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    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.