Filter on multiple content types in Content Delive...
# help-with-umbraco
t
I am fetching all items from the CMS via CDP, like so:
http://localhost:8080/umbraco/delivery/api/v2/content
This returns all nodes. I can filter them on content type as such:
http://localhost:8080/umbraco/delivery/api/v2/content?filter=contentType:contentPage
But I can't seem to filter with an "or" clause, as in filter in "either a
contentPage
or a `collectionPage`" or similar. Is there a way? I've tried putting it in an array, or just comma separating. I can supply multiple filter-clauses but that asks for documents that are of multiple document types which of course doesn't work.
39 Views