Draft Object


The Draft object represents the information for blog draft posts.

Properties
idstringRead-onlymaxLength 38

Draft post ID.


titlestringmaxLength 200

Draft post title.


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.


categoryIdsArray <string>maxItems 10maxLength 38

Category IDs of the draft post.


memberIdstringformat GUID

Draft post owner's member ID.


hashtagsArray <string>maxItems 100maxLength 100

Hashtags in the post.


commentingEnabledboolean

Whether commenting on the draft post is enabled.


minutesToReadintegerRead-only

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


heroImageHeroImage

Image placed at the top of the blog page.


tagIdsArray <string>maxItems 30maxLength 38

Tag IDs the draft post is tagged with.


relatedPostIdsArray <string>maxItems 3maxLength 38

IDs of posts related to this draft post.


pricingPlanIdsArray <string>maxItems 100format GUID

Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan.


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.


languagestringformat LANGUAGE_TAG

Language the draft post is written in.

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


changeOriginstringRead-only

Reserved for internal use.


contentIdstringRead-onlymaxLength 24

Reserved for internal use.


editingSessionIdstringformat GUID

Reserved for internal use.


richContentRichContent

Draft Post rich content.

See Ricos document reference

statusstringRead-only

Status of the draft post.


moderationDetailsModerationDetails

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


mostRecentContributorIdstringRead-onlyformat GUID

Reserved for internal use.


hasUnpublishedChangesbooleanRead-only

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


editedDatestringRead-onlyformat date-time

Date the draft post was last edited.


scheduledPublishDatestringRead-onlyformat date-time

Date the draft post is scheduled to be published.


contentstruct

Reserved for internal use.


firstPublishedDatestringformat date-time

Date the post was first published.


seoDataSeoData

SEO data.


paidContentParagraphintegerdeprecated - use previewTextParagraph insteadminimum 0format int32

Reserved for internal use.


slugsArray <string>Read-onlymaxItems 5000maxLength 100

Reserved for internal use.


urlUrlRead-only

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


createdDatestringRead-onlyformat date-time

Date the draft post was first created.


seoSlugstringmaxLength 100

SEO slug.


mediaMedia

Post cover media.


previewTextParagraphintegerminimum 0format int32

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


internalIdstringRead-onlymaxLength 24

Reserved for internal use.

Did this help?