{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/979","repository_url":"https://api.github.com/repos/instructure/canvas-lms","labels_url":"https://api.github.com/repos/instructure/canvas-lms/issues/979/labels{/name}","comments_url":"https://api.github.com/repos/instructure/canvas-lms/issues/979/comments","events_url":"https://api.github.com/repos/instructure/canvas-lms/issues/979/events","html_url":"https://github.com/instructure/canvas-lms/issues/979","id":204189891,"number":979,"title":"API: Edit assignment call incorrectly returns HTTP 201 response code","user":{"login":"ToeBee","id":348948,"avatar_url":"https://avatars.githubusercontent.com/u/348948?v=3","gravatar_id":"","url":"https://api.github.com/users/ToeBee","html_url":"https://github.com/ToeBee","followers_url":"https://api.github.com/users/ToeBee/followers","following_url":"https://api.github.com/users/ToeBee/following{/other_user}","gists_url":"https://api.github.com/users/ToeBee/gists{/gist_id}","starred_url":"https://api.github.com/users/ToeBee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToeBee/subscriptions","organizations_url":"https://api.github.com/users/ToeBee/orgs","repos_url":"https://api.github.com/users/ToeBee/repos","events_url":"https://api.github.com/users/ToeBee/events{/privacy}","received_events_url":"https://api.github.com/users/ToeBee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-31T02:36:16Z","updated_at":"2017-02-24T22:17:42Z","closed_at":null,"body":"The [Edit an assignment](https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.update) API call is returning an HTTP 201 \"Created\" response code. This makes no sense for an edit call. It should be returning 200."},"comment":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/comments/282420841","html_url":"https://github.com/instructure/canvas-lms/issues/979#issuecomment-282420841","issue_url":"https://api.github.com/repos/instructure/canvas-lms/issues/979","id":282420841,"user":{"login":"ToeBee","id":348948,"avatar_url":"https://avatars.githubusercontent.com/u/348948?v=3","gravatar_id":"","url":"https://api.github.com/users/ToeBee","html_url":"https://github.com/ToeBee","followers_url":"https://api.github.com/users/ToeBee/followers","following_url":"https://api.github.com/users/ToeBee/following{/other_user}","gists_url":"https://api.github.com/users/ToeBee/gists{/gist_id}","starred_url":"https://api.github.com/users/ToeBee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToeBee/subscriptions","organizations_url":"https://api.github.com/users/ToeBee/orgs","repos_url":"https://api.github.com/users/ToeBee/repos","events_url":"https://api.github.com/users/ToeBee/events{/privacy}","received_events_url":"https://api.github.com/users/ToeBee/received_events","type":"User","site_admin":false},"created_at":"2017-02-24T22:17:42Z","updated_at":"2017-02-24T22:17:42Z","body":"We received a response on this when we opened up support tickets for all of my GitHub issues. The response was that basically the same function gets called for create and edit and it returns a 201. So while they acknowledged that this is technically incorrect, they aren't going to fix it because it's been this way for a long time and something may be depending on it."}}
{"actor":{"display_login":"ToeBee"}}