-
Notifications
You must be signed in to change notification settings - Fork 0
API of FuzzyGuy Service
Vlad-Doru Ion edited this page Apr 22, 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
PUT - add multiple key-value pairs to a datastore
- store: name of the datastore which we want to use
- dictionary: a JSON encoded dictionary which will consist of our key-value pairs