Page

These are page APIs that can be used to fetch recent page data.

Get latest post

Get the latest post

GET https://yourpage.changes.page/latest.json

This endpoint will return a JSON response of the latest post in the page.

{
	"id": "b0cb4fde-8f17-4ee2-b292-196a6f2e748e",
	"title": "New UI, pinned post & more!",
	"content": "We've made several tweaks to the UI across the app and the most important change is the new editor.",
	"type": "announcement",
	"created_at": "2022-11-01T11:46:25.719707+00:00"
}

Good to know: This can be a pinned post if its the latest one.

Get pinned post

Get pinned post

GET https://yourpage.changes.page/pinned.json

This endpoint will return a JSON response of the pinned post in the page.

{
	"id": "b0cb4fde-8f17-4ee2-b292-196a6f2e748e",
	"title": "New UI, pinned post & more!",
	"content": "We've made several tweaks to the UI across the app and the most important change is the new editor.",
	"type": "announcement",
	"created_at": "2022-11-01T11:46:25.719707+00:00"
}

Good to know: This endpoint will return null if there is no pinned post.

Last updated