Rest api skeleton