Skip to content

A simple microservice that allows you to store and retreive json documents and deals with version control.

Notifications You must be signed in to change notification settings

wolkenmachine/VerJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Verjson

A simple microservice that allows you to store and retreive json documents and deals with version control.

API


Create a document

POST /document

Data Params

  • Any Json document

Response

{ id : *document id to use for retreival* }


Retrive a document

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


Update a 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* }

About

A simple microservice that allows you to store and retreive json documents and deals with version control.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published