> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Draft Posts # Type: Draft Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/blog/draft-posts/draft-object.md ## Description: The `Draft` object represents the information for blog draft posts. ## Schema: ```json Type: Draft Object | type: DraftPost Description: The `Draft` object represents the information for blog draft posts. - name: id | type: string | description: Draft post ID. - name: title | type: string | description: Draft post title. - name: excerpt | type: string | description: 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. - name: value | type: string | description: - name: featured | type: boolean | description: Whether the draft post is marked as featured. - name: value | type: boolean | description: - name: categoryIds | type: Array | description: Category IDs of the draft post. - name: memberId | type: string | description: Draft post owner's member ID. - name: hashtags | type: Array | description: Hashtags in the post. - name: commentingEnabled | type: boolean | description: Whether commenting on the draft post is enabled. - name: minutesToRead | type: number | description: Estimated reading time of the draft post (calculated automatically). - name: heroImage | type: Image | description: Image placed at the top of the blog page. - name: id | type: string | description: WixMedia image ID. - name: url | type: string | description: Image URL. - name: height | type: number | description: Original image height. - name: width | type: number | description: Original image width. - name: altText | type: string | description: Image alt text. - name: filename | type: string | description: Image filename. - name: tagIds | type: Array | description: Tag IDs the draft post is tagged with. - name: relatedPostIds | type: Array | description: IDs of posts related to this draft post. - name: pricingPlanIds | type: Array | description: Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info. - name: translationId | type: string | description: ID of the draft post's translations. All translations of a single post share the same `translationId`. Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed. - name: language | type: string | description: Language the draft post is written in. 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format. - name: richContent | type: RichContent | description: Draft Post rich content. See.md Ricos document reference - name: nodes | type: Array | description: Node objects representing a rich content document. - name: type | type: string | description: Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. - name: id | type: string | description: Node ID. - name: nodes | type: Array | description: A list of child nodes. - name: style | type: NodeStyle | description: Padding and background color styling for the node. - name: metadata | type: Metadata | description: Object metadata. - name: version | type: number | description: Schema version. - name: createdTimestamp | type: string | description: When the object was created. - name: updatedTimestamp | type: string | description: When the object was most recently updated. - name: id | type: string | description: Object ID. - name: documentStyle | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object. - name: headerOne | type: TextNodeStyle | description: Styling for H1 nodes. - name: headerTwo | type: TextNodeStyle | description: Styling for H2 nodes. - name: headerThree | type: TextNodeStyle | description: Styling for H3 nodes. - name: headerFour | type: TextNodeStyle | description: Styling for H4 nodes. - name: headerFive | type: TextNodeStyle | description: Styling for H5 nodes. - name: headerSix | type: TextNodeStyle | description: Styling for H6 nodes. - name: paragraph | type: TextNodeStyle | description: Styling for paragraph nodes. - name: blockquote | type: TextNodeStyle | description: Styling for block quote nodes. - name: codeBlock | type: TextNodeStyle | description: Styling for code block nodes. - name: status | type: string | description: Status of the draft post. enum: UNKNOWN, PUBLISHED, UNPUBLISHED, SCHEDULED, DELETED, IN_REVIEW - name: moderationDetails | type: ModerationDetails | description: Details of the draft post in review. Only relevant to posts submitted by guest writers. - name: submittedBy | type: string | description: Member ID of the person submitting the draft post for review. - name: submittedDate | type: string | description: Date the post was submitted for review. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: status | type: string | description: Status indicating whether the submission was approved or rejected by the moderator. enum: UNKNOWN, APPROVED, REJECTED - name: moderatedBy | type: string | description: Member ID of the person who approved or rejected the post. - name: moderationDate | type: string | description: Date the post was approved or rejected. - name: hasUnpublishedChanges | type: boolean | description: Indicates if there are changes made to the draft post that have not yet been published. - name: editedDate | type: string | description: Date the draft post was last edited. - name: scheduledPublishDate | type: string | description: Date the draft post is scheduled to be published. - name: firstPublishedDate | type: string | description: Date the post was first published. - name: seoData | type: SeoSchema | description: SEO data. - name: tags | type: Array | description: SEO tag information. - name: type | type: string | description: SEO tag type. Supported values: `title`, `meta`, `script`, `link`. - name: props | type: Struct | description: A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value. For example: `{"name": "description", "content": "the description itself"}`. - name: meta | type: Struct | description: SEO tag metadata. For example, `{"height": 300, "width": 240}`. - name: children | type: string | description: SEO tag inner content. For example, ` inner content `. - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). - name: disabled | type: boolean | description: Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. - name: settings | type: Settings | description: SEO general settings. - name: preventAutoRedirect | type: boolean | description: Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled. Default: `false` (automatical redirect is enabled). - name: keywords | type: Array | description: User-selected keyword terms for a specific page. - name: url | type: PageUrl | description: Draft post URL preview. What the URL will look like once the post is published. - name: base | type: string | description: The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. - name: path | type: string | description: The relative path for the page within the site. For example, `/product-page/a-product`. - name: createdDate | type: string | description: Date the draft post was first created. - name: seoSlug | type: string | description: SEO slug. - name: media | type: Media | description: Post cover media. - name: displayed | type: boolean | description: Whether cover media is displayed. - name: custom | type: boolean | description: Whether custom cover media has been specified. If `false`, the first media item in the post's content serves as cover media. - name: altText | type: string | description: Media alternative text. - name: previewTextParagraph | type: number | description: Number of paragraphs to display in a paid content preview for non-paying users. - name: value | type: number | description: ```