recent resource endpoint

URL: /blogs/<id>/post-assets/@recent.<format>

Supported Methods

GET Get the most recent 50 posts in the selected blog, including draft and scheduled posts.

Query String Arguments

start-index
Index of the first item to return. The first item in the list has index 1.
max-results
Maximum number of items to return in the list response.

Resource Type

This endpoint returns an object of type List<Post>.

entries (array<Post>)
The items within the selected range.
totalResults (integer)
The total number of items in the whole list of which this object is a chunk.

Client Library Methods for PHP

Get the most recent 50 posts in the selected blog, including draft and scheduled posts.
$tp->blogs->getRecentPostAssets(array(

    # Required Parameters
    "id" => $id,

    # Optional Parameters
    "limit" => $limit,
    "offset" => $offset,

))