Skip to content

Instantly share code, notes, and snippets.

@temas
Forked from ctide/gist:1121392
Created August 2, 2011 22:45
Show Gist options
  • Save temas/1121424 to your computer and use it in GitHub Desktop.
Save temas/1121424 to your computer and use it in GitHub Desktop.
synclet return structure
{
"config" : {
"knownIds":[1, 2, 3, 4, 5, 6, 7],
"lastKnownId":45
},
"data" : [
{
"obj": {
"dataFromProvider": "isAllUpInHere"
},
"type" : "new",
"timestamp" : "some format? JS milliseconds?"
},
{
"obj": {
"dataFromProvider": "isAllUpInHere",
"moreData": "etc"
},
"meta" : {
"type" : "update"
}
},
{
"obj": {
"dataFromProvider": "isAllUpInHere"
},
"meta" : {
"type" : "delete"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment