Posts
List all posts
Get all the posts
Request Body
application/json
Filter post request body
userId?stringDeprecated
Format
uuidboardId?array<>
Posts will be searched from the list of provided board IDs. If a value is not provided, it defaults to empty array and posts are searched from all the boards.
roadmapId?string
Format
uuidpage*number
Page number of the results to fetch.
limit?number
"Number of posts to return in a single request. Default is 10."
created*string
Sort posts by creation date in 'asc' or 'desc' order.
Response Body
application/json
application/json
curl -X POST "https://example.com/posts/get" \ -H "Content-Type: application/json" \ -d '{ "page": 0, "created": "string" }'{ "posts": [ { "postId": "string", "title": "string", "slug": "string", "contentMarkdown": "string", "createdAt": "string", "updatedAt": "string", "board": { "boardId": "a654038e-9287-48a2-acfd-90b8cfa8b1f4", "name": "string", "color": "string", "url": "string", "createdAt": "string" }, "author": { "userId": "string", "name": "string", "avatar": "string", "username": "string" }, "roadmap": { "id": {}, "name": {}, "url": {}, "color": {} }, "voters": { "votes": [ { "voteId": "string", "userId": "string", "postId": "string", "createdAt": "string", "name": "string", "username": "string", "avatar": "string" } ], "votesCount": 0, "viewerVote": { "voteId": "string", "userId": "string", "postId": "string", "createdAt": "string" } } } ]}