def put_mapping(self, mapping, doctype, indexes=['_all']):
        path = self._make_path([','.join(indexes), doctype, '_mapping'])
        self.send_request('PUT', path=path, body=mapping)
        return self._parse_json_response(self.last_response.text)

    #Cluster related API
Returns level_name_dict for pre-set lookup_scheme_name, tile_type_id, satellite_tag, sensor_name & level_name
dataset/ETHPy150Open eriky/ESClient/esclient.py/ESClient.put_mapping--crossover with--dataset/ETHPy150Open GeoscienceAustralia/agdc/src/band_lookup.py/BandLookup._get_level_name_dict