# HG changeset patch # User neko259 # Date 2014-08-11 16:00:21 # Node ID 2564a26624d616d4bb723915d18ac6cf36490abd # Parent b8db9e2d300f55515c11240907c9b7f8a47c4df1 Edited info about version diff --git a/docs/samples/request_get.xml b/docs/samples/request_get.xml --- a/docs/samples/request_get.xml +++ b/docs/samples/request_get.xml @@ -1,5 +1,5 @@ - + post id1/1 diff --git a/docs/samples/request_pull.xml b/docs/samples/request_pull.xml --- a/docs/samples/request_pull.xml +++ b/docs/samples/request_pull.xml @@ -1,5 +1,5 @@ - + post 3 diff --git a/docs/sync.markdown b/docs/sync.markdown --- a/docs/sync.markdown +++ b/docs/sync.markdown @@ -29,6 +29,11 @@ Each post has an ID in the unique format All requests pass a request type, protocol and model versions and a list of optional arguments used for filtering. +Each protocol has its own version. Version consists of 2 numbers: first is +incompatible version (1.3 and 2.0 are not compatible and must not be in sync) +and the second one is minor and compatible (for example, new optional field +is added which will be igroned by those who don't support it yet). + # REQUESTS # Request types: * pull - pull the desired model ids