do not check type
refactoring
hard-code rather than string concatenation (!)
Raise NotFound rather than BadRequest
refactored validation
Added some doc