When I receive a JSON Object containing posts from a WordPress account, it only includes about 15 posts. What steps can I take to retrieve more than that amount?
The structure of the JSON data is as follows:
{
ID: 4164,
title: "24 Hour Non-Stop with Marco Carola",
status: "publish",
type: "post",
author: {
ID: 11,
username: "VIlma Quiros",
name: "VIlma Quiros",
first_name: "VIlma",
last_name: "Quiros",
nickname: "VIlma Quiros",
slug: "vilma-quiros",
URL: "",
avatar: "",
description: "",
registered: "2015-04-16T07:04:04+00:00",
meta: {
links: {
self: "http://urbanetradio.com/wp-json/users/11",
archives: "http://urbanetradio.com/wp-json/users/11/posts"
}
}
},
content: "<p class="p2"><a href="http://urbanetradio.com/wp-content/uploads/2015/05/PRUEBA-1.png"</p> <p><iframe src="https://www.youtube.com/embed/AV6nAmjDynE" width="750" height="422" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p> ",
parent: null,
link: "http://urbanetradio.com/24-hour-non-stop-with-marco-carola/",
date: "2015-05-08T18:42:33",
modified: "2015-05-08T20:20:10",
format: "standard",
slug: "24-hour-non-stop-with-marco-carola",
guid: "http://urbanetradio.com/?p=4164",
excerpt: "<p>Last weekend, Marco Carola put on a marathon show at the Sunwaves 2015 Festival by mixing for no less than 24 hours straight. …</p> ",
menu_order: 0,
comment_status: "closed",
ping_status: "open",
sticky: false,
date_tz: "America/Costa_Rica",
date_gmt: "2015-05-09T00:42:33",
modified_tz: "America/Costa_Rica",
modified_gmt: "2015-05-09T02:20:10",
...
I am making a GET request to
http://urbanetradio.com/wp-json/posts
For more information on the API, refer to
In the extensive JSON data, there doesn't seem to be any property or attribute indicating how to increase the number of posts beyond what is currently retrieved.