Please refer to the API documentation at https://github.com/HackerNews/API.