DraftPosts
The Draft Posts API provides functionality for managing unpublished blog posts, including creating, deleting, updating, querying, and publishing draft posts. Learn more.
Additional information about this section
Perform actions on an object
- bulkCreateDraftPosts( )
Creates multiple draft posts.
- bulkDeleteDraftPosts( )
Deletes multiple draft posts.
- bulkUpdateDraftPosts( )
Updates multiple draft posts.
- createDraftPost( )
Creates a draft post.
- deleteDraftPost( )
Moves a draft post with the provided ID to the trash bin. A published post can also be deleted by its provided draftPostId.
- getDeletedDraftPost( )
Gets a deleted draft post from the trash bin by the provided ID.
- getDraftPost( )
Gets a draft post by the provided ID.
- listDeletedDraftPosts( )
Retrieves a list of up to 100 deleted draft posts.
- listDraftPosts( )
Retrieves a list of up to 100 draft posts per request.
- publishDraftPost( )
Publishes a specified draft post by ID. This creates a new post entity with the data from the draft post.
- queryDraftPosts( )
Retrieves a list of up to 100 draft posts, given the provided paging, filtering, and sorting.
- removeFromTrashBin( )
Permanently deletes a draft post by the provided ID from the trash bin.
- restoreFromTrashBin( )
Restores a deleted draft post from the trash bin by the provided ID.
- updateDraftPost( )
Updates a draft post.