code: public function processes(StoreInterface $store, FetchProcesses $request)
      {
          $result = $store->queryRecords(
              $request->getProcessType(),
              $request->getEncodingParameters()
          );
  
          return $this->reply()->content($result);
      }
docs: Read processes action.
  
  @param StoreInterface $store
  @param FetchProcesses $request
  @return Response