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
categoryId$eq, $neSortable
title$eq, $ne, $contains, $hasSome, $urlized, $startsWith, $endsWith, $hasSome
ownerId$eq, $ne
contentText$eq, $ne, $contains, $hasSome, $startsWith, $endsWith, $hasSome
bestAnswerCommentId$eq, $ne
pinned$eq, $neSortable
commentingEnabled$eq, $ne
commentCount$eq, $ne, $lt, $lte, $gt, $gteSortable
likeCount$eq, $ne, $lt, $lte, $gt, $gteSortable
viewCount$eq, $ne, $lt, $lte, $gt, $gteSortable
createdDate$eq, $ne, $lt, $lte, $gt, $gteSortable
updatedDate$eq, $ne, $lt, $lte, $gt, $gte
lastActivityDate$eq, $ne, $lt, $lte, $gt, $gteSortable
slug$eq, $ne, $contains, $hasSome, $urlized, $startsWith, $endsWith, $hasSomeSortable

Related content: API Query Language, queryPosts( )

Did this help?