Added published date to the api endpoint