How to obtain RPT token with permission list filtered by resource type?

Now it is possible to obtain RPT token with a specific permission by add header paramter(s) “permission”.

is it possible to do the same with the resource type (which means traslate the resource-type to list of permissions/resources and filter the rpt token’s permission by this list)?