GET
/v1/publications/{publicationId}/posts

Retrieve a paginated list of published posts from a publication

Path Parameters

publicationId*string

Unique identifier of the publication

Query Parameters

cursor?string

Cursor for pagination

limit?integer

Maximum number of items to return (1-100, default: 10)

Range1 <= value <= 100
Default10
includeContent?|

Include full content fields (markdown, json, staticHtml). Default: false

Response Body

Posts retrieved successfully

application/json
  1. response
items*array<>

Array of items in this page

pagination*
curl -X GET "https://example.com/v1/publications/string/posts"
{  "items": [    {      "id": "string",      "title": "string",      "imageUrl": "http://example.com",      "imageAlt": "string",      "publishedAt": "string",      "updatedAt": "string",      "subtitle": "string",      "slug": "string",      "staticHtml": "string",      "json": "string",      "markdown": "string",      "coinId": "string",      "categories": [        "string"      ],      "canonicalUrl": "http://example.com",      "publishOnline": true,      "communityId": "string",      "authors": [        {          "id": "string",          "walletAddress": "string",          "avatarUrl": "http://example.com",          "publicationId": "string",          "name": "string",          "bio": "string"        }      ],      "authorIds": [        "string"      ],      "views": 0,      "status": "published"    }  ],  "pagination": {    "cursor": "string",    "hasMore": true,    "total": 0  }}