Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-2006, 01:07 PM
Member
 
Posts: 14
Default "ms" and "rev" attributes in a SOAP response message

In a tipical "getxxx" response message, i.e.
<cn f="" id="299" l="7" md="1148422012" ms="78" rev="78" t="">

What the "ms" and "rev" represent for? For me, they all look like the last token when the item was modified.
Reply With Quote
  #2 (permalink)  
Old 05-25-2006, 01:36 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

ms = metadata sequence number
rev = content sequence number (ie, revision number)

if an item's content changes, both get updated to the current mailbox revision number. if an items metadata changes only ms gets updated.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #3 (permalink)  
Old 05-25-2006, 02:00 PM
Member
 
Posts: 14
Default

Quote:
Originally Posted by sam
ms = metadata sequence number
rev = content sequence number (ie, revision number)

if an item's content changes, both get updated to the current mailbox revision number. if an items metadata changes only ms gets updated.
Is this number used to compare with the token number in SyncRequest to return the latest sync data?
Reply With Quote
  #4 (permalink)  
Old 05-25-2006, 02:16 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

The server offers these values; you can use them however you see fit.

You can use them in a SyncRequest. In general, the token you specify in a SyncRequest should be whatever the server returned in the previous SyncResponse.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.