Add REST api for post buildout with tests.