Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

head should beafter in PushEvent#966

Closed
rco-ableton wants to merge1 commit intogithub:masterfromrco-ableton:patch-1

Conversation

rco-ableton
Copy link

The actual payload JSON contains anafter entry but nohead entry, so I assume this should beafter in the description.

The actual payload JSON contains an `after` entry but no `head` entry, so I assume this should be `after` in the description.
@izuzak
Copy link
Member

Thanks for submitting a pull request,@rco-ableton. That's actually expected behavior -- please see the note at the top of that section:

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

"The Events API PushEvent payload is described in the table below. The example payload below that is from a webhook delivery and will differ from the Events API PushEvent payload."

The payloads for the push event send via webhooks does not match the payload for the PushEvent made available via the Events API, and that's expected behavior. You'll notice that API responses which include a PushEvent have ahead field in the JSON body.

@izuzakizuzak closed thisJan 25, 2016
@rco-ableton
Copy link
Author

Oh my, that's a good Monday morning reading comprehension failure! Sorry for the noise!

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@rco-ableton@izuzak

[8]ページ先頭

©2009-2025 Movatter.jp