To retrieve metadata associated with a resource, such as author, created date, etc. We can use the registry instance with the following line of code:
registry.getMetaData("c1/c2/r2");
See also Governance Artifacts to learn more information about this feature in the Governance Registry.