Unfortunately, I can't find any documentation or example about this feature. It seems that this has been deprecated. However, you may check this documentation with sample JSON structure that shows the format of a activities resource such as recommendation:
"recommendation": {"resourceId": {"kind": string,"videoId": string,"channelId": string,},
Hope this helps!