Include status draft but omit archived


#1

Is there a way to include items in Draft status but omit Archived items?

All I came across is an ‘X-Unpublished’ header, but when set to true that returns all both draft and archived items.


#2

You can use the status in the odata filter. $filter=status eq 'Published' or status eq 'Draft'