The ContentsManager should be able to handle it - it would be a different handler than the '/api/' handler, but the same object turning paths into files. The relevant piece is that contents (generic files) should be responsible rather than the notebook manager, which is currently taking care of both.