queryDraftPosts( )
Retrieves a list of up to 100 draft posts, given the provided paging, filtering, and sorting.
Query Draft Posts runs with these defaults, which you can override:
editedDate
is sorted inDESC
order.paging.limit
is50
.paging.offset
is0
.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
_id | eq() ,ne() ,hasSome() ,ascending() ,descending() |
title | eq() ,ne() ,startsWith() ,hasSome() ,exists() ,in() ,ascending() ,descending() |
excerpt | eq() ,ne() ,startsWith() ,hasSome() ,exists() ,in() ,ascending() ,descending() |
featured | eq() ,ne() ,ascending() ,descending() |
categoryIds | hasSome() ,hasAll() |
memberId | eq() ,ne() ,hasSome() |
hashtags | hasSome() ,hasAll() |
commentingEnabled | eq() ,ne() ,ascending() ,descending() |
minutesToRead | eq() ,ne() ,lt() ,le() ,gt() ,ge() ,in() |
tagIds | hasSome() ,hasAll() |
pricingPlanIds | hasSome() ,hasAll() |
translationId | eq() ,ne() ,exists() ,in() |
language | eq() ,ne() ,hasSome() ,exists() ,in() |
status | eq() ,ne() ,hasSome() ,exists() ,in() ,ascending() ,descending() |
hasUnpublishedChanges | eq() ,ne() ,ascending() ,descending() |
editedDate | eq() ,ne() ,lt() ,le() ,gt() ,ge() ,in() ,ascending() ,descending() |
scheduledPublishDate | eq() ,ne() ,lt() ,le() ,gt() ,ge() ,in() ,ascending() ,descending() |
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Blog
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
optionsQueryDraftPostsOptions
Options for querying draft posts.
Was this helpful?
Yes
No