How to include unpublished nodes whilst using Rest APIs

Hi All

Is there a a way to retrieve unpublished nodes using the following REST API? /umbraco/rest/v1/content/search

i know we need to use the InternalIndex to get unpublished nodes…but how do we do that using the API?

Thanks in advance for any help


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114790-how-to-include-unpublished-nodes-whilst-using-rest-apis