We have a requirement to fetch the item fro the master
db. JSS is always pointing to the web
db.
We tried to add the query parameter as sc_content=master
in the Layout Service, but still the Layout Service is pointing to the web
db.
In the JSON response we are seeing as databaseName:web
Sample URL
http://jssapp/sitecore/api/layout/render/jss?sc_content=master&item={4ADCE242-7382-47DD-8FC5-7FF2E6607C42}&sc_apikey={699E87BB-E988-4815-A53B-EE4B8A177F47}&sc_device=mobile&sc_lang=en