def get_content_metadata(self, enterprise_customer):
content_metadata = OrderedDict()<EOL>if enterprise_customer.catalog:<EOL><INDENT>response = self._load_data(<EOL>self.ENTERPRISE_CUSTOMER_ENDPOINT,<EOL>detail_resource='<STR_LIT>',<EOL>resource_id=str(enterprise_customer.uuid),<EOL>traverse_pagination=True,<EOL>)<EOL>for course in response['<STR_LIT>']:<EOL><INDENT>for course_run in course['<STR_LIT>']:<EOL><INDENT>course_run['<STR_LIT>'] = '<STR_LIT>'  <EOL>content_metadata[course_run['<STR_LIT:key>']] = course_run<EOL><DEDENT><DEDENT><DEDENT>for enterprise_customer_catalog in enterprise_customer.enterprise_customer_catalogs.all():<EOL><INDENT>response = self._load_data(<EOL>self.ENTERPRISE_CUSTOMER_CATALOGS_ENDPOINT,<EOL>resource_id=str(enterprise_customer_catalog.uuid),<EOL>traverse_pagination=True,<EOL>querystring={'<STR_LIT>': <NUM_LIT:1000>},<EOL>)<EOL>for item in response['<STR_LIT>']:<EOL><INDENT>content_id = utils.get_content_metadata_item_id(item)<EOL>content_metadata[content_id] = item<EOL><DEDENT><DEDENT>return content_metadata.values()<EOL>
Return all content metadata contained in the catalogs associated with the EnterpriseCustomer.

Arguments:
    enterprise_customer (EnterpriseCustomer): The EnterpriseCustomer to return content metadata for.

Returns:
    list: List of dicts containing content metadata.