code: def compaction(self, request_compaction=False):
          
          url = self._service_url + 'compaction/'
  
          if request_compaction:
              response = requests.post(url, **self._instances._default_request_kwargs)
          else:
              response = requests.get(url, **self._instances._default_request_kwargs)
  
          return response.json()
docs: Retrieve a report on, or request compaction for this instance.
  
          :param bool request_compaction: A boolean indicating whether or not to request compaction.