Skip to content

PostInput object

Input for creating or updating a post

FieldTypeDescription
userIdinteger (int32)Author user ID
titlerequiredstringPost title
slugstringURL-friendly slug
bodyrequiredstringFull post content in plain text
excerptstringShort preview text
tagsstring[]Categorization tags
statusstringPublication status
viewsinteger (int32)Total view count
likesinteger (int32)Total like count
featuredbooleanWhether the post is featured
coverImagestring (uri)Cover image URL
readingTimeinteger (int32)Estimated reading time in minutes

Released under the MIT License.