{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/2450","repository_url":"https://api.github.com/repos/WP-API/WP-API","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/2450/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/2450/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/2450/events","html_url":"https://github.com/WP-API/WP-API/issues/2450","id":149143403,"number":2450,"title":"per_page default should be the same as user set option in admin","user":{"login":"andrejcremoznik","id":761287,"avatar_url":"https://avatars.githubusercontent.com/u/761287?v=3","gravatar_id":"","url":"https://api.github.com/users/andrejcremoznik","html_url":"https://github.com/andrejcremoznik","followers_url":"https://api.github.com/users/andrejcremoznik/followers","following_url":"https://api.github.com/users/andrejcremoznik/following{/other_user}","gists_url":"https://api.github.com/users/andrejcremoznik/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejcremoznik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejcremoznik/subscriptions","organizations_url":"https://api.github.com/users/andrejcremoznik/orgs","repos_url":"https://api.github.com/users/andrejcremoznik/repos","events_url":"https://api.github.com/users/andrejcremoznik/events{/privacy}","received_events_url":"https://api.github.com/users/andrejcremoznik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WP-API/WP-API/labels/Discussion","name":"Discussion","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-18T12:55:41Z","updated_at":"2016-04-21T19:05:41Z","closed_at":null,"body":"`per_page` is currently set to 10.\r\n\r\nThis needlessly complicates things when you want to fetch a paged archive. Instead of simply sending the page you want, you need to either supply `{ per_page: <?= get_option('posts_per_page') ?>, page: N }` or fiddle with the `after` parameter.\r\n\r\nI think `per_page` should be the same as `get_option('posts_per_page')` and not hardcoded to 10."},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/213071834","html_url":"https://github.com/WP-API/WP-API/issues/2450#issuecomment-213071834","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/2450","id":213071834,"user":{"login":"websupporter","id":6458412,"avatar_url":"https://avatars.githubusercontent.com/u/6458412?v=3","gravatar_id":"","url":"https://api.github.com/users/websupporter","html_url":"https://github.com/websupporter","followers_url":"https://api.github.com/users/websupporter/followers","following_url":"https://api.github.com/users/websupporter/following{/other_user}","gists_url":"https://api.github.com/users/websupporter/gists{/gist_id}","starred_url":"https://api.github.com/users/websupporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websupporter/subscriptions","organizations_url":"https://api.github.com/users/websupporter/orgs","repos_url":"https://api.github.com/users/websupporter/repos","events_url":"https://api.github.com/users/websupporter/events{/privacy}","received_events_url":"https://api.github.com/users/websupporter/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T19:05:41Z","updated_at":"2016-04-21T19:05:41Z","body":"Yes, if you are \"This is my website, I do what I want\" I really have no problem. But If you are like \"I write the coolest plugin, put it on wordpress.org and get 100.000 downloads\", this is my concern. I will open another issue for this. Thanks :)"}}