{"action":"opened","issue":{"url":"https://api.github.com/repos/coursecycle/coursecycle-server/issues/2","labels_url":"https://api.github.com/repos/coursecycle/coursecycle-server/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/coursecycle/coursecycle-server/issues/2/comments","events_url":"https://api.github.com/repos/coursecycle/coursecycle-server/issues/2/events","html_url":"https://github.com/coursecycle/coursecycle-server/issues/2","id":127112642,"number":2,"title":"Add page limits to resource endpoints","user":{"login":"rcchen","id":1175041,"avatar_url":"https://avatars.githubusercontent.com/u/1175041?v=3","gravatar_id":"","url":"https://api.github.com/users/rcchen","html_url":"https://github.com/rcchen","followers_url":"https://api.github.com/users/rcchen/followers","following_url":"https://api.github.com/users/rcchen/following{/other_user}","gists_url":"https://api.github.com/users/rcchen/gists{/gist_id}","starred_url":"https://api.github.com/users/rcchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcchen/subscriptions","organizations_url":"https://api.github.com/users/rcchen/orgs","repos_url":"https://api.github.com/users/rcchen/repos","events_url":"https://api.github.com/users/rcchen/events{/privacy}","received_events_url":"https://api.github.com/users/rcchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-17T18:08:03Z","updated_at":"2016-01-17T18:08:03Z","closed_at":null,"body":"Right now `GET /courses` will attempt to load 11427 courses along with their associated sections. This is clearly a problem, so these endpoints should switch to a pagination model, where `GET /courses` has an implicit limit of 20 courses starting from page 0, and further pages can be retrieved with `GET /courses?p=1..n`"}}