code: def get_replication_command_history(self, schedule_id, limit=20, offset=0,
                                        view=None):
      
      params = {
        'limit':  limit,
        'offset': offset,
      }
      if view:
        params['view'] = view
  
      return self._get("replications/%s/history" % schedule_id,
                       ApiReplicationCommand, True, params=params, api_version=4)
docs: Retrieve a list of commands for a replication schedule.
  
      @param schedule_id: The id of the replication schedule.
      @param limit: Maximum number of commands to retrieve.
      @param offset: Index of first command to retrieve.
      @param view: View to materialize. Valid values are 'full', 'summary', 'export', 'export_redacted'.
      @return: List of commands executed for a replication schedule.
      @since: API v4