-
Notifications
You must be signed in to change notification settings - Fork 0
API of FuzzyGuy Service
Vlad-Doru Ion edited this page Jun 4, 2014
·
5 revisions
GET - fetch value for key or approximate keys
- store: name of the datastore where we want to look for the key
- key: the key which we would like to search for
- distance: the distance within our approximate search will span
- results: if the distance is greater than 0 set the number of results which we would like to retrieve
POST - create a new datastore
- store: name of the datastore which we want to create
PUT - add a key-value pair to a datastore
- store: name of the datastore which we want to use
- key: the key which we would like to add
- value: its corresponding value
DELETE - remove a key-value pair to a datastore
- store: name of the datastore which we want to use
- key: the key which we would like to delete (optional)
PUT - add multiple key-value pairs to a datastore
- store: name of the datastore where we want to store the key-value pairs
- dictionary: A JSON-encoded dictionary represting the key-value pairs which we want to set
GET - get for multiple keys
- store: name of the datastore which we want to use
- keys: a JSON encoded lists which will consist of queried keys
- distance: our distance to which we will span our search
- results: maximum number of results