I would like to retrieve the recordTypeVisibilities for all the record types for a particular profile. Is there a way to achieve this using the readMetadata() API call instead of doing a file based retrieve with * in the package.xml?
I am talking about this API - https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_readMetadata.htm
Is there a way to specify recordtype visibilities for a particular profile in this api call?