{"action":"closed","issue":{"url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs/issues/23","repository_url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs","labels_url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs/issues/23/comments","events_url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs/issues/23/events","html_url":"https://github.com/lessonly/lesson.ly-api-docs/issues/23","id":148705218,"number":23,"title":"API documentation for /course/:id/assignments is incomplete","user":{"login":"armilam","id":430986,"avatar_url":"https://avatars.githubusercontent.com/u/430986?v=3","gravatar_id":"","url":"https://api.github.com/users/armilam","html_url":"https://github.com/armilam","followers_url":"https://api.github.com/users/armilam/followers","following_url":"https://api.github.com/users/armilam/following{/other_user}","gists_url":"https://api.github.com/users/armilam/gists{/gist_id}","starred_url":"https://api.github.com/users/armilam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armilam/subscriptions","organizations_url":"https://api.github.com/users/armilam/orgs","repos_url":"https://api.github.com/users/armilam/repos","events_url":"https://api.github.com/users/armilam/events{/privacy}","received_events_url":"https://api.github.com/users/armilam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lessonly/lesson.ly-api-docs/labels/code%20review","name":"code review","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"armilam","id":430986,"avatar_url":"https://avatars.githubusercontent.com/u/430986?v=3","gravatar_id":"","url":"https://api.github.com/users/armilam","html_url":"https://github.com/armilam","followers_url":"https://api.github.com/users/armilam/followers","following_url":"https://api.github.com/users/armilam/following{/other_user}","gists_url":"https://api.github.com/users/armilam/gists{/gist_id}","starred_url":"https://api.github.com/users/armilam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armilam/subscriptions","organizations_url":"https://api.github.com/users/armilam/orgs","repos_url":"https://api.github.com/users/armilam/repos","events_url":"https://api.github.com/users/armilam/events{/privacy}","received_events_url":"https://api.github.com/users/armilam/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-04-15T16:23:01Z","updated_at":"2016-04-15T17:58:38Z","closed_at":"2016-04-15T17:58:38Z","body":"API documentation for `/course/:id/assignments` is incomplete. The docs say:\r\n\r\n```json\r\n    {\r\n      \"id\": 2,\r\n      \"resource_type\": \"assignment\",\r\n      \"assignee_id\": 2,\r\n      \"ext_uid\": \"DEF456\",\r\n      \"due_by\": \"2020-09-30T00:00:00Z\",\r\n      \"reassigned_at\": \"2020-09-30T00:00:00Z\"\r\n    }\r\n```\r\n\r\nAn actual response:\r\n\r\n```json\r\n        {\r\n            \"id\": 977127,\r\n            \"resource_type\": \"assignment\",\r\n            \"assignee_id\": 564601,\r\n            \"assignable_type\": \"Course\",\r\n            \"assignable_id\": 2722,\r\n            \"ext_uid\": null,\r\n            \"due_by\": null,\r\n            \"reassigned_at\": null,\r\n            \"status\": \"Completed\",\r\n            \"score\": 0,\r\n            \"started_at\": \"2016-03-28T14:15:17Z\",\r\n            \"completed_at\": \"2016-03-28T18:20:06Z\",\r\n            \"updated_at\": \"2016-03-28T18:20:06Z\"\r\n        }\r\n```"}}