create:post permission.core.session_token: ********************Authorization: Bearer ********************curl --location '/posts' \
--header 'Content-Type: application/json' \
--data '{
"title": "string",
"slug": "string",
"excerpt": "string",
"content": {
"property1": "string",
"property2": "string"
},
"contentHtml": "string",
"coverImage": "string",
"attachments": [
{
"type": "PHOTO",
"key": "string"
}
],
"visibility": "PUBLIC",
"categoryId": "string",
"tagIds": [
"string"
],
"newTagNames": [
"string"
],
"pinned": true,
"publishedAt": "2019-08-24T14:15:22.123Z"
}'{
"success": true,
"message": "string",
"meta": {
"page": 0,
"limit": 0,
"total": 0
},
"errors": [
{
"code": "CR-100001",
"field": "string",
"message": "string"
}
],
"result": {
"id": "string",
"slug": "string",
"title": "string",
"excerpt": "string",
"coverImage": "string",
"visibility": "PUBLIC",
"status": "DRAFT",
"pinned": true,
"publishedAt": "2019-08-24T14:15:22.123Z",
"category": {
"id": "string",
"slug": "string",
"name": "string"
},
"tags": [
{
"id": "string",
"slug": "string",
"name": "string"
}
],
"author": {
"id": "string",
"name": "string",
"image": "string"
},
"reviewedBy": {
"id": "string",
"name": "string",
"image": "string"
},
"reviewedAt": "2019-08-24T14:15:22.123Z",
"rejectionReason": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"content": {
"property1": "string",
"property2": "string"
},
"contentHtml": "string",
"attachments": [
{
"type": "PHOTO",
"key": "string"
}
]
}
}