get metadataprofile by rest