Post by Slug
Get post by Slug
POST
Get post by Slug
Post by Slug request body
application/json- body
slug*stringuserId?stringFormat
uuidOK
application/json- response
post?curl -X POST 'http://localhost:8000/api/v1/posts/slug' \ -H 'Content-Type: application/json' \ -d '{ "slug": "string"}'Example Response
{ "post": { "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" } }, "slugId": "string" }}