code: def _create(self, postData) :
          
          if self.infos is None :
              r = self.connection.session.post(self.indexesURL, params = {"collection" : self.collection.name}, data = json.dumps(postData, default=str))
              data = r.json()
              if (r.status_code >= 400) or data['error'] :
                  raise CreationError(data['errorMessage'], data)
              self.infos = data
docs: Creates an index of any type according to postData