Simperium / simperium-protocol

Documentation on the Simperium client/server syncing protocol
25 stars 2 forks source link

Subscribe to a specific objects changes #3

Open chengfred opened 8 years ago

chengfred commented 8 years ago

In init command:

Currently we send name property to indicate the bucket name, and this implicitly subscribes you to all of a buckets changes, name: "note" => send all changes in note bucket

Perhaps: name: "note.abcd" => send only changes for object abcd in note

Or, a separate field:

query: "abcd" => send only changes for object abcd ( bucket from name: "note" still )

Not sure if we want to support more complicated queries yet

roundhill commented 8 years ago

:clap: