▲ 4 points
Testing HN API
This is a test.
Please don't upvote.
* When adding an item, its id, its parent id (if it has one), and the story id show up in the /updates endpoint.
* When editing a comment, the comment id and the story id show up in the /updates endpoint.
* When deleting a comment, its id and the story id show up in the /updates endpoint, but not its parent id.
* When kids order changes, their parent id and the story id show up in the /updates endpoint, but not necessarily the kids ids.
Edit: What if the comment is edited?
Edited the nested reply.
Edit with result (also useful for a test) : only direct parent id and story id show in /updates when posting a reply. What about edits?
Result : In case of an edit, only the story id shows in /updates.
Testing deletes.