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