You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm retrieving a list of issues from a repository and if it's close I retrieve the single issue. The issue value returned from the single issue response - does not contain "Close_by" fields.
var issue = await client.Issue.Get("octokit", "octokit.net",#_of_issue);
https://github.com/octokit/octokit.net/blob/master/docs/issues.md
I'm retrieving a list of issues from a repository and if it's close I retrieve the single issue. The issue value returned from the single issue response - does not contain "Close_by" fields.
var issue = await client.Issue.Get("octokit", "octokit.net",#_of_issue);
The "issue" response is incorrect.
Reference https://developer.github.com/v3/issues/#get-a-single-issue for the expected JSON response format. Inside the response the "closed_by" value is expected - doesn't exist.
{
// removed for clarity
"closed_by": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"site_admin": false
}
The text was updated successfully, but these errors were encountered: