Retrieves pages or posts based on the provided parameters. This endpoint allows you to retrieve pages or posts associated with a specific site. You can retrieve a paginated list of pages, a single page by its ID or slug, or all pages associated with the site.
GET /v1/{site_name}/pages/{post_slug}
{
"date": "2024-03-17T12:00:00Z",
"slug": "guided-by-voices-latest-masterpiece",
"tags": [
"Guided by Voices",
"Indie Rock",
"New Releases"
],
"media": [
{
"link": "https://archive.perspect.com/media/gbv-album-cover.jpg",
"size": "600x600",
"title": "Latest GBV Album Cover",
"width": 600,
"height": 600,
"caption": "Album cover of Guided by Voices' latest release.",
"filesize": 120000,
"media_id": 789,
"file_name": "gbv-album-cover.jpg",
"site_name": "Perspect Music Archive",
"media_date": "2024-03-15T00:00:00Z",
"description": "The cover art for Guided by Voices' latest album, showcasing the band's iconic visual style.",
"is_original": true,
"content_type": "image/jpeg",
"is_thumbnail": false,
"original_url": "https://archive.perspect.com/media/gbv-album-cover.jpg",
"attachment_id": 1011
}
],
"title": "Exploring the Depths of Guided by Voices' Latest Masterpiece",
"author": [
{
"id": 456,
"name": "Alex Smith"
}
],
"content": "A detailed review and analysis of Guided by Voices' latest album, exploring its themes, musical innovation, and its place within the broader GBV discography.",
"page_id": 123,
"template": "review_template",
"page_type": "post",
"thumbnail": "https://example.com/thumbnails/gbv-latest.jpg",
"categories": [
"Music Reviews",
"Album Highlights"
],
"description": "An in-depth review of Guided by Voices' most recent album, highlighting its lyrical themes, musical complexity, and overall impact on indie rock.",
"page_status": "published",
"post_excerpt": "A dive into Guided by Voices' latest album, uncovering the layers that make it a new classic.",
"page_modified": "2024-03-18T12:00:00Z"
}
200