api-metadata role and service