#Verjson
A simple microservice that allows you to store and retreive json documents and deals with version control.
POST
/document
Data Params
- Any Json document
Response
{ id : *document id to use for retreival* }
GET
/document/{id}/{version}
Url Params
- required id: the id of the document
- optional version: the specific version of the document, if not specified the newest version will be returned
Response
The Json document
POST
/document/{id}
Url Params
- required id: the id of the document
Data Params
- The updated json document
Response
{ version : *the version number for this update* }