This project contains a simple and incomplete implementation of the Open Social API. It can be used to mock or imitate a 'real' Open Social Server.
It is written in Scala using Scalatra.
mvn jetty:run
Direct your browser to http://localhost:8081.
mvn scala:cc
Optional: Install the Zinc server for faster compilation brew install zinc; zinc -start
.
POST: /persons // adds a person
POST: /persons/[uid]/groups // adds a group to a person with uid
DELETE: /persons/[uid] // deletes a person with uid
DELETE: /persons/[uid]/groups/[gid] // deletes a group with gid for person with uid