Add REST endpoints for sketches.