REST API  : CRUD Lines,  R :difficulty, orientation