implementing /session/:sessionId/elements