porting GET and POST '/session/:sessionId/orientation'