Posts: Supported Filters and Sorting

The following table shows field support for filters and sorting for the Post object:

FieldSupported FiltersSortable
id$eq, $ne, $hasSomeSortable
title$eq, $ne, $contains, $startsWith, $endsWith, $hasSome, $lt, $lte, $gt, $gte, $exists, $inSortable
firstPublishedDate$eq, $ne, $lt, $lte, $gt, $gte, $inSortable
lastPublishedDate$eq, $ne, $lt, $lte, $gt, $gte, $inSortable
slug$hasSome, $hasAll
featured$eq, $neSortable
pinned$eq, $neSortable
categoryIds$hasSome, $hasAll
memberId$eq, $ne, $hasSome
hashtags$hasSome, $hasAll
commentingEnabled$eq, $neSortable
minutesToRead$eq, $ne, $lt, $lte, $gt, $gte, $in
tagIds$hasSome, $hasAll
pricingPlanIds$hasSome, $hasAll
language$eq, $ne, $hasSome, $exists, $in
translationId$eq, $ne, $exists, $in
metrics.views$eq, $ne, $gt, $lt, $gte, $lte, $inSortable
metrics.comments$eq, $ne, $gt, $lt, $gte, $lte, $inSortable
metrics.likes$eq, $ne, $gt, $lt, $gte, $lte, $inSortable

Related content: API Query Language, Query Posts

Did this help?