REST API - Execute a custom report (Answered)

This post seems to be a duplicate of this one: REST API - Session Relevance Query - Join results from multiple analyses (Answered)

It is a bit confusing to follow given that there is slightly different info in both and slightly different answers, so it is not a complete duplicate.