Skip to content

API of FuzzyGuy Service

Vlad-Doru Ion edited this page Apr 22, 2014 · 5 revisions

API Documentation

Basic requests

URL ~ /fuzzy


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

URL ~ /fuzzy/batch


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

Clone this wiki locally