code: def synchronizeReplica(self,
                             replicaID,
                             transportType="esriTransportTypeUrl",
                             replicaServerGen=None,
                             returnIdsForAdds=False,
                             edits=None,
                             returnAttachmentDatabyURL=False,
                             async=False,
                             syncDirection="snapshot",
                             syncLayers="perReplica",
                             editsUploadID=None,
                             editsUploadFormat=None,
                             dataFormat="json",
                             rollbackOnFailure=True):
          
          params = {
              "f" : "json",
              "replicaID" : replicaID,
              "transportType" : transportType,
              "dataFormat" : dataFormat,
              "rollbackOnFailure" : rollbackOnFailure,
              "async" : async,
              "returnIdsForAdds": returnIdsForAdds,
              "syncDirection" : syncDirection,
              "returnAttachmentDatabyURL" : returnAttachmentDatabyURL
          }
          return
docs: TODO: implement synchronize replica
          http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000vv000000