Posts

Post by Slug

POST
/posts/slug

Get post by Slug

Request Body

application/json

Post by Slug request body

slug*string
userId?string
Formatuuid

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/posts/slug" \  -H "Content-Type: application/json" \  -d '{    "slug": "string"  }'
{  "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"  }}