v1

latestSwagger 2.02026-07-1312672.0 KB
posts

List all post changes

This endpoint provides an easy way to get a feed of all the changes that have been made to publicly published posts on Trash Nothing. Similar to the /posts/all endpoint, only data from the last 30 days is available and the changes are sorted by date (newest first). Every change includes the date of the change, the post_id of the post that was changed and the type of change. <br /><br /> The different types of changes that are returned are listed below. <br /><br /> - published<br /> - deleted<br /> - undeleted<br /> - satisfied<br /> - promised<br /> - unpromised<br /> - withdrawn<br /> - edited<br /> <br /> For published and edited changes, clients can use the retrieve post API endpoint to get the edits that have been made to the post.

get/posts/all/changes

Query parameters

date_minstring date-time required

Only changes newer than or equal to this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_max. And the date and time must be within the last 30 days. And the date and time must be rounded to the nearest second.

date_maxstring date-time required

Only changes older than this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_min. And the date and time must be rounded to the nearest second.

per_pageinteger

The number of changes to return per page (must be >= 1 and <= 50).

pageinteger

The page of changes to return.

Response

The changes.