pi_get_resource_metadata function

Retrieve the metadata for different features