{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/6776","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/6776/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/6776/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/6776/events","html_url":"https://github.com/aspnet/Docs/issues/6776","id":328352598,"node_id":"MDU6SXNzdWUzMjgzNTI1OTg=","number":6776,"title":"Asynchronous Action example checks model state, even though invalid model state/BadRequest response occurs by default","user":{"login":"fiksen99","id":2607336,"node_id":"MDQ6VXNlcjI2MDczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/2607336?v=4","gravatar_id":"","url":"https://api.github.com/users/fiksen99","html_url":"https://github.com/fiksen99","followers_url":"https://api.github.com/users/fiksen99/followers","following_url":"https://api.github.com/users/fiksen99/following{/other_user}","gists_url":"https://api.github.com/users/fiksen99/gists{/gist_id}","starred_url":"https://api.github.com/users/fiksen99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiksen99/subscriptions","organizations_url":"https://api.github.com/users/fiksen99/orgs","repos_url":"https://api.github.com/users/fiksen99/repos","events_url":"https://api.github.com/users/fiksen99/events{/privacy}","received_events_url":"https://api.github.com/users/fiksen99/received_events","type":"User","site_admin":false},"labels":[{"id":327109981,"node_id":"MDU6TGFiZWwzMjcxMDk5ODE=","url":"https://api.github.com/repos/aspnet/Docs/labels/P1","name":"P1","color":"fbca04","default":false},{"id":918734558,"node_id":"MDU6TGFiZWw5MTg3MzQ1NTg=","url":"https://api.github.com/repos/aspnet/Docs/labels/Source%20-%20Docs.ms","name":"Source - Docs.ms","color":"77f966","default":false}],"state":"open","locked":false,"assignee":{"login":"scottaddie","id":10702007,"node_id":"MDQ6VXNlcjEwNzAyMDA3","avatar_url":"https://avatars3.githubusercontent.com/u/10702007?v=4","gravatar_id":"","url":"https://api.github.com/users/scottaddie","html_url":"https://github.com/scottaddie","followers_url":"https://api.github.com/users/scottaddie/followers","following_url":"https://api.github.com/users/scottaddie/following{/other_user}","gists_url":"https://api.github.com/users/scottaddie/gists{/gist_id}","starred_url":"https://api.github.com/users/scottaddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottaddie/subscriptions","organizations_url":"https://api.github.com/users/scottaddie/orgs","repos_url":"https://api.github.com/users/scottaddie/repos","events_url":"https://api.github.com/users/scottaddie/events{/privacy}","received_events_url":"https://api.github.com/users/scottaddie/received_events","type":"User","site_admin":false},"assignees":[{"login":"scottaddie","id":10702007,"node_id":"MDQ6VXNlcjEwNzAyMDA3","avatar_url":"https://avatars3.githubusercontent.com/u/10702007?v=4","gravatar_id":"","url":"https://api.github.com/users/scottaddie","html_url":"https://github.com/scottaddie","followers_url":"https://api.github.com/users/scottaddie/followers","following_url":"https://api.github.com/users/scottaddie/following{/other_user}","gists_url":"https://api.github.com/users/scottaddie/gists{/gist_id}","starred_url":"https://api.github.com/users/scottaddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottaddie/subscriptions","organizations_url":"https://api.github.com/users/scottaddie/orgs","repos_url":"https://api.github.com/users/scottaddie/repos","events_url":"https://api.github.com/users/scottaddie/events{/privacy}","received_events_url":"https://api.github.com/users/scottaddie/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/4","html_url":"https://github.com/aspnet/Docs/milestone/4","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/4/labels","id":1356168,"node_id":"MDk6TWlsZXN0b25lMTM1NjE2OA==","number":4,"title":"Backlog","description":"Issues that have been triaged but aren’t yet scheduled. Issues not assigned to any milestone are those that have not been triaged.","creator":{"login":"danroth27","id":1874516,"node_id":"MDQ6VXNlcjE4NzQ1MTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1874516?v=4","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":197,"closed_issues":253,"state":"open","created_at":"2015-10-14T20:43:26Z","updated_at":"2018-06-01T02:50:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-06-01T01:49:17Z","updated_at":"2018-06-01T02:51:47Z","closed_at":null,"author_association":"NONE","body":"see the asynch example on this page. It uses ModelState.IsValid as an example. But actually with an [ApiController] the model state is checked and BadRequest returned by default, which means this code would never be hit. We should update this to something more relevant (use the NotFound example from above?)\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: fa03501b-5e71-4c18-0269-39babbf9d93c\n* Version Independent ID: b51bc104-a6e2-b21f-8362-45cee22e8c22\n* Content: [Controller action return types in ASP.NET Core Web API](https://docs.microsoft.com/en-us/aspnet/core/web-api/action-return-types?view=aspnetcore-2.1#asynchronous-action-1)\n* Content Source: [aspnetcore/web-api/action-return-types.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/web-api/action-return-types.md)\n* Service: **unspecified**\n* Product: **aspnet-core**\n* GitHub Login: @scottaddie\n* Microsoft Alias: **scaddie**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/393742957","html_url":"https://github.com/aspnet/Docs/issues/6776#issuecomment-393742957","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/6776","id":393742957,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzc0Mjk1Nw==","user":{"login":"Rick-Anderson","id":3605364,"node_id":"MDQ6VXNlcjM2MDUzNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3605364?v=4","gravatar_id":"","url":"https://api.github.com/users/Rick-Anderson","html_url":"https://github.com/Rick-Anderson","followers_url":"https://api.github.com/users/Rick-Anderson/followers","following_url":"https://api.github.com/users/Rick-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Rick-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Rick-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rick-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Rick-Anderson/orgs","repos_url":"https://api.github.com/users/Rick-Anderson/repos","events_url":"https://api.github.com/users/Rick-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Rick-Anderson/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T02:51:47Z","updated_at":"2018-06-01T02:51:47Z","author_association":"CONTRIBUTOR","body":"@rynowak please suggest update."}}
{"actor":{"display_login":"Rick-Anderson"}}