How to use Zoho Creator REST API with Date criteria for last n days

How to use Zoho Creator REST API with Date criteria for last n days

The documentation here https://www.zoho.com/creator/help/api/rest-api/rest-api-view-records-in-view.html does not explain how to use date criteria in the REST API.

This does not work
https://creator.zoho.com/api/json/solar/view/My_Report_Name?scope=creatorapi&authtoken=xxxxx&zc_ownername=myname&criteria=(My_Date>="last 7 days")

So how do you specify date criteria in the URL to show the last n days for a specific date field?