attachment should be contained in notebook endpoint