Draft Object


The Draft object represents the information for blog draft posts.

Properties
categoryIdsArray <string>maxItems 10maxLength 38

Category IDs of the draft post.


commentingEnabledboolean

Whether commenting on the draft post is enabled.


createdDatestringRead-onlyformat date-time

Date the draft post was first created.


editedDatestringRead-onlyformat date-time

Date the draft post was last edited.


excerptstringmaxLength 500

Draft post excerpt.

If no excerpt has been manually set, an excerpt is automatically generated from the post's text. This can be retrieved using the GENERATED_EXCERPT fieldset.


featuredboolean

Whether the draft post is marked as featured.


firstPublishedDatestringformat date-time

Date the post was first published.


hashtagsArray <string>maxItems 100maxLength 100

Hashtags in the post.


hasUnpublishedChangesbooleanRead-only

Indicates if there are changes made to the draft post that have not yet been published.


heroImageImage

Image placed at the top of the blog page.


idstringRead-onlymaxLength 38

Draft post ID.


languagestringformat LANGUAGE_TAG

Language the draft post is written in.

2-or-4-letter language code in IETF BCP 47 language tag format.


mediaMedia

Post cover media.


memberIdstringformat GUID

Draft post owner's member ID.


minutesToReadintegerRead-only

Estimated reading time of the draft post (calculated automatically).


moderationDetailsModerationDetails

Details of the draft post in review. Only relevant to posts submitted by guest writers.


previewTextParagraphintegerminimum 0format int32

Number of paragraphs to display in a paid content preview for non-paying users.


pricingPlanIdsArray <string>maxItems 100format GUID

Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.


relatedPostIdsArray <string>maxItems 3maxLength 38

IDs of posts related to this draft post.


richContentRichContent

Draft Post rich content.

See Ricos document reference

scheduledPublishDatestringRead-onlyformat date-time

Date the draft post is scheduled to be published.


seoDataSeoSchema

SEO data.


seoSlugstringmaxLength 100

SEO slug.


statusstringRead-only

Status of the draft post.


tagIdsArray <string>maxItems 30maxLength 38

Tag IDs the draft post is tagged with.


titlestringmaxLength 200

Draft post title.


translationIdstringformat GUID

ID of the draft post's translations.

All translations of a single post share the same translationId. Available only if the Multilingual app is installed.


urlPageUrlRead-only

Draft post URL preview. What the URL will look like once the post is published.

Did this help?