describe `post measurement` API and make code comply API docs