{"action":"created","issue":{"url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/91","labels_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/91/comments","events_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/91/events","html_url":"https://github.com/CrossRef/rest-api-doc/issues/91","id":118689930,"number":91,"title":"items count not correct in some cases","user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T19:53:40Z","updated_at":"2015-12-10T01:10:21Z","closed_at":null,"body":"e.g., in http://api.crossref.org/funders/10.13039/100000001/works?sample=2\r\n\r\nwe get `items-per-page: 20` \r\n\r\nwhereas JSON shows that we did indeed get 2 items back as requested\r\n\r\n<img width=\"275\" alt=\"screen shot 2015-11-24 at 11 51 31 am\" src=\"https://cloud.githubusercontent.com/assets/577668/11378778/c58e13aa-92a1-11e5-81a4-541d11731654.png\">\r\n\r\n\r\nwhereas if we use `/works` alone (http://api.crossref.org/works?rows=2)  with the `rows` param we get the expected items count\r\n\r\n<img width=\"288\" alt=\"screen shot 2015-11-24 at 11 52 44 am\" src=\"https://cloud.githubusercontent.com/assets/577668/11378820/fa10a462-92a1-11e5-895b-46aaa9e65edc.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/comments/163454726","html_url":"https://github.com/CrossRef/rest-api-doc/issues/91#issuecomment-163454726","issue_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/91","id":163454726,"user":{"login":"kjw","id":21696,"avatar_url":"https://avatars.githubusercontent.com/u/21696?v=3","gravatar_id":"","url":"https://api.github.com/users/kjw","html_url":"https://github.com/kjw","followers_url":"https://api.github.com/users/kjw/followers","following_url":"https://api.github.com/users/kjw/following{/other_user}","gists_url":"https://api.github.com/users/kjw/gists{/gist_id}","starred_url":"https://api.github.com/users/kjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjw/subscriptions","organizations_url":"https://api.github.com/users/kjw/orgs","repos_url":"https://api.github.com/users/kjw/repos","events_url":"https://api.github.com/users/kjw/events{/privacy}","received_events_url":"https://api.github.com/users/kjw/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T01:10:21Z","updated_at":"2015-12-10T01:10:21Z","body":"items-per-page reflects the number of rows requested. It doesn't indicate how many records are returned in the response (total-results does that for the result set.)\r\n\r\nitems-per-page comes from some of the terminology in the open search spec."}}