Add download endpoint