{"action":"created","issue":{"url":"https://api.github.com/repos/dchester/epilogue/issues/34","labels_url":"https://api.github.com/repos/dchester/epilogue/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/dchester/epilogue/issues/34/comments","events_url":"https://api.github.com/repos/dchester/epilogue/issues/34/events","html_url":"https://github.com/dchester/epilogue/issues/34","id":54753109,"number":34,"title":"Association Routes?","user":{"login":"sharathm","id":202974,"avatar_url":"https://avatars.githubusercontent.com/u/202974?v=3","gravatar_id":"","url":"https://api.github.com/users/sharathm","html_url":"https://github.com/sharathm","followers_url":"https://api.github.com/users/sharathm/followers","following_url":"https://api.github.com/users/sharathm/following{/other_user}","gists_url":"https://api.github.com/users/sharathm/gists{/gist_id}","starred_url":"https://api.github.com/users/sharathm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharathm/subscriptions","organizations_url":"https://api.github.com/users/sharathm/orgs","repos_url":"https://api.github.com/users/sharathm/repos","events_url":"https://api.github.com/users/sharathm/events{/privacy}","received_events_url":"https://api.github.com/users/sharathm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dchester/epilogue/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mbroadst","id":312966,"avatar_url":"https://avatars.githubusercontent.com/u/312966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroadst","html_url":"https://github.com/mbroadst","followers_url":"https://api.github.com/users/mbroadst/followers","following_url":"https://api.github.com/users/mbroadst/following{/other_user}","gists_url":"https://api.github.com/users/mbroadst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroadst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroadst/subscriptions","organizations_url":"https://api.github.com/users/mbroadst/orgs","repos_url":"https://api.github.com/users/mbroadst/repos","events_url":"https://api.github.com/users/mbroadst/events{/privacy}","received_events_url":"https://api.github.com/users/mbroadst/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dchester/epilogue/milestones/1","html_url":"https://github.com/dchester/epilogue/milestones/0.6.0","labels_url":"https://api.github.com/repos/dchester/epilogue/milestones/1/labels","id":1062447,"number":1,"title":"0.6.0","description":"","creator":{"login":"mbroadst","id":312966,"avatar_url":"https://avatars.githubusercontent.com/u/312966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroadst","html_url":"https://github.com/mbroadst","followers_url":"https://api.github.com/users/mbroadst/followers","following_url":"https://api.github.com/users/mbroadst/following{/other_user}","gists_url":"https://api.github.com/users/mbroadst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroadst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroadst/subscriptions","organizations_url":"https://api.github.com/users/mbroadst/orgs","repos_url":"https://api.github.com/users/mbroadst/repos","events_url":"https://api.github.com/users/mbroadst/events{/privacy}","received_events_url":"https://api.github.com/users/mbroadst/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-04-10T19:01:50Z","updated_at":"2015-04-10T19:02:19Z","due_on":null,"closed_at":null},"comments":46,"created_at":"2015-01-19T11:29:09Z","updated_at":"2015-08-03T08:18:35Z","closed_at":null,"body":"Do you support association routes as well?\r\nIf I have a scenario for example..\r\n\r\nStudents have many courses\r\nEach course has many semesters \r\nEach semester has many subjects\r\n\r\nand assuming the associations are defined correctly in Sequelize, can we auto generate routes like\r\n`POST /student/:studentId/course`\r\n`GET /student/:studentId/course`\r\n`PUT /student/:studentId/course/:courseId`\r\n\r\n`POST /student/:studentId/course/:courseId/semester`\r\n\r\n`POST /student/:studentId/course/:courseId/semester/:semesterId/subject`"},"comment":{"url":"https://api.github.com/repos/dchester/epilogue/issues/comments/127161153","html_url":"https://github.com/dchester/epilogue/issues/34#issuecomment-127161153","issue_url":"https://api.github.com/repos/dchester/epilogue/issues/34","id":127161153,"user":{"login":"Fridus","id":3214565,"avatar_url":"https://avatars.githubusercontent.com/u/3214565?v=3","gravatar_id":"","url":"https://api.github.com/users/Fridus","html_url":"https://github.com/Fridus","followers_url":"https://api.github.com/users/Fridus/followers","following_url":"https://api.github.com/users/Fridus/following{/other_user}","gists_url":"https://api.github.com/users/Fridus/gists{/gist_id}","starred_url":"https://api.github.com/users/Fridus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fridus/subscriptions","organizations_url":"https://api.github.com/users/Fridus/orgs","repos_url":"https://api.github.com/users/Fridus/repos","events_url":"https://api.github.com/users/Fridus/events{/privacy}","received_events_url":"https://api.github.com/users/Fridus/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T08:18:34Z","updated_at":"2015-08-03T08:18:34Z","body":"@mbroadst I'll look at that. It is when the associated object is the same model"}}