Context:
User want to synchronize local data with server data
URL:
https://intelligencebank.com/webapp/1.0/sync
Method
POST
Parameters
apikey: {client api key}
useruuid: { useruuid }
sync: data to sync in JSON format
[
{ "folders":["uuid","uuid"] },
{ "files":[{"fileuuid":"uuid",
"updatedat": "update date",
"processedat":"process date",
"annotation":[{annotation data},{annotation data}]
}]
}
]
Header:
_aid: <appid>
Response
202 : { folders: {folder: folderuuid, +file contents
of folder }, { file: status: (deleted | updated | newfile | access denied ), +file info }}
401 : Access denied
500 : Internal server error
Actions
Process response
Notes:
Last modified on 1/08/2016 6:44 PM by User.