Specify API version when using custom document list filters
When specifying custom filters for document lists, we now require specifying an apiVersion
. This can be set to the current date, e.g. v2025-02-19
. See our API Versioning docs for more details.
S.documentList()
.title('Posts')
.filter('_type == "post" && $authorId == author._ref')
.params({ authorId })
S.documentList()
.title('Posts')
.apiVersion('v2025-02-19')
.filter('_type == "post" && $authorId == author._ref')
.params({ authorId })
)