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 in DESC order.paging.limit is 50.paging.offset is 0.| 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() |
Options for querying draft posts.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.