[BUG] Push event structure is inconsistent with others: duplicate HTML URL instead of HTML + API

Look at https://developer.github.com/v3/activity/events/types/#pushevent.

There’s url and html_url keys in the event payload. And they are both pointing to the same https://github.com address, but the expected value for url should point to https://api.github.com. It’s event documented at https://developer.github.com/v3/repos/#get

I think it’s a bug. For all other events it is set as expected and I can reuse url value when doing further API requests.

Thanks for reaching out.

This is a duplicate of a previous topic. You may want to see my response there. Because this topic is a duplicate, I’ll be closing this topic for further replies.

Thanks again!

1 Like