How to define Index schema for content properties through REST API

Refer to this thread where the same question was asked a few months ago. It also contains a link to the corresponding feature request for Forge.