Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing fields from API and removed fields that are not returned by API #1039

Merged
merged 3 commits into from
Jan 2, 2016
Merged

Added missing fields from API and removed fields that are not returned by API #1039

merged 3 commits into from
Jan 2, 2016

Conversation

gabrielweyer
Copy link
Contributor

Issue

Also has an Id and Locked properties. I tested the change in the CanDeserializeIssue method.

IssueEventPayload

Doesn't have a property Assignee or Label. GitHub only fire an event when an issue is opened, closed or re-opened. GitHub does not fire an event when assigning someone to the issue, assigning a label or a milestone (I tested manually on my test repository).

IssueEvents

Has a CommitUrl property. I tested the change in the CanDeserializeMergedEvent method.

Note: the documentation doesn't have the CommitUrl property yet but it is being returned by the API (I used Fiddler as my proxy to inspect what was returned).

@naveensrinivasan
Copy link

Do we want to use the property CommitUrl that hasn't yet been documented?

@shiftkey
Copy link
Member

Do we want to use the property CommitUrl that hasn't yet been documented?

I'm tentatively 👍 on this, but I'll let @haacked throw his 2c in as well before we close this out.

@haacked
Copy link
Contributor

haacked commented Jan 2, 2016

Looks good to me. Thanks!

haacked added a commit that referenced this pull request Jan 2, 2016
Added missing fields from API and removed fields that are not returned by API
@haacked haacked merged commit 0b5bb00 into octokit:master Jan 2, 2016
@gabrielweyer gabrielweyer deleted the fix-api-fields branch January 3, 2016 08:27
@rokonec
Copy link

rokonec commented Aug 4, 2020

GitHub webhooks are triggered on assignment and labeling and have indeed Label and Assignee property when applicable.
Please revert those changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants