Get status info for the current session and API env.

@param array $queryParams
@return Response
777712
public function getStatus(array $queryParams = [])
    {
        $response = $this->client->get($this->uri(), [
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
794011
public function get($apiPath, $queryParams = [])
    {
        $response = $this->guzzleClient->get(
            $this->baseUrl . $apiPath,
            [
                'query' => $queryParams,
                'future' => false,
                'auth' => [
                    $this->id,
                    $this->secret,
                    self::$AUTH_TYPE
                ],
            ]
        );

        return $this->resolve($response);
    }
144340
public function getServiceDataInstance(array $params) {

        $dataPostgresql = new \Cityware\Monitoring\Models\Services\DataPostgreSql($params);

        $locksInstance = $dataPostgresql->getDataPgSqlInstanceLocks();
        $serverVersionInstance = $dataPostgresql->getDataPgSqlInstanceVersion();
        $checkPointsInstance = $dataPostgresql->getDataPgSqlInstanceCheckpoint();
        $connectionsInstance = $dataPostgresql->getDataPgSqlInstanceConnections();

        $return = Array();

        $return['des_server_version'] = $serverVersionInstance['server_version'];

        $return['num_total_checkpoints'] = (float) $checkPointsInstance['total_checkpoints'];

        $return['num_total_checkpoints_req'] = (float) $checkPointsInstance['checkpoints_req'];
        $return['num_total_checkpoints_timed'] = (float) $checkPointsInstance['checkpoints_timed'];

        $return['num_sec_between_checkpoints'] = ($return['num_total_checkpoints'] > 0) ? ((float) $checkPointsInstance['seconds_since_start'] / $return['num_total_checkpoints']) : 0;
        $return['num_checkpoint_req_timed_ratio'] = ($return['num_total_checkpoints_timed'] > 0) ? (($return['num_total_checkpoints_req'] / $return['num_total_checkpoints_timed']) * 100) : 0;

        $return['num_total_connections'] = (float) $connectionsInstance['total_connections'];
        $return['num_max_connections'] = (float) $connectionsInstance['max_connections'];
        $return['num_connection_ratio'] = (float) $connectionsInstance['connection_ratio'];

        $return['num_max_locks_per_transaction'] = (float) $locksInstance['max_total_locks'];
        $return['num_access_exclusive_lock'] = $locksInstance['AccessExclusiveLock'];
        $return['num_access_share_lock'] = $locksInstance['AccessShareLock'];
        $return['num_exclusive_lock'] = $locksInstance['ExclusiveLock'];
        $return['num_row_exclusive_lock'] = $locksInstance['RowExclusiveLock'];
        $return['num_row_share_lock'] = $locksInstance['RowShareLock'];
        $return['num_share_lock'] = $locksInstance['ShareLock'];
        $return['num_share_row_exclusive_lock'] = $locksInstance['ShareRowExclusiveLock'];
        $return['num_share_update_exclusive_lock'] = $locksInstance['ShareUpdateExclusiveLock'];


        return $return;
    }
442181
protected function getClientParams( array $params, array $prefixes = array( 'f', 'l', 'd', 'a' ) )
	{
		if( isset( $params['d_prodid'] ) || isset( $params['d_name'] ) )
		{
			$context = $this->getContext();
			$site = $context->getLocale()->getSite()->getCode();
			$params += (array) $context->getSession()->get( 'aimeos/catalog/lists/params/last/' . $site, [] );
		}

		return parent::getClientParams( $params, $prefixes );
	}
424087
public function getAll(array $queryParams = [])
    {
        $response = $this->api->activities()->getAll($queryParams);

        return new ActivitiesResponse($response);
    }
720674
protected function fetchResponse($params)
    {
        $qs = http_build_query($params);
        $response = file_get_contents($this->verifyUrl . '?' . $qs);

        return json_decode($response, true);
    }
714600
public function addReplaceQueryParameters(array $queryParams)
        {
            $queryParams = array_merge($this->getQueryAsArray(), $queryParams);

            return $this->setQuery($queryParams);
        }
75006
public function index($params = [])
    {
        // Set the filters
        $params = (!empty($params))? $params : $this->app->request->input();

        // Get records
        $this->model->params = $params;
        $result = $this->model->search($params)->get();

        // Get pagination and number of records
        $pagination = array_merge(
            ['records' => $this->model->search($params)->count()],
            $this->model->pagination()
        );

        // Return results
        return [
            'success' => true,
            'paging' => $pagination,
            'data' => $result
        ];
    }
1310713
public function queryAll($params = array())
    {
        $this->mergeParams($params);
        $this->beginQuery();
        $rst = $this->statement->fetchAll(\PDO::FETCH_ASSOC);
        $this->statement->closeCursor();
        return $rst;
    }
1254579
public function filterQueryParams( array $queryParams, array $filterParams )
    {
        try
        {
            if( !isset( $filterParams['field'] ) )
            {
                throw new Exception( 'Missing filter parameter "field"' );
            }

            if( !isset( $filterParams['latitude'] ) )
            {
                throw new Exception( 'Missing filter parameter "latitude"' );
            }

            if( !isset( $filterParams['longitude'] ) )
            {
                throw new Exception( 'Missing filter parameter "longitude"' );
            }

            $fieldName = eZSolr::getFieldName( $filterParams['field'] );

            //geodist custom parameters
            $queryParams['sfield'] = $fieldName;
            $queryParams['pt'] = $filterParams['latitude'] . ',' . $filterParams['longitude'];

            //sort by geodist
            $queryParams['sort']  = 'geodist() asc,' . $queryParams['sort'];

            //exclude unlocated documents
            $queryParams['fq'][] = $fieldName.':[-90,-90 TO 90,90]';
        }
        catch( Exception $e )
        {
            eZDebug::writeWarning( $e->getMessage(), __CLASS__ );
        }

        return $queryParams;
    }
1001632
public function getTaskTemplateList(array $queryParams = [])
    {
        $propertyList = $this->_getEntityList('TaskTemplates', $queryParams);
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = TaskTemplate::createFromOptions($properties);
        }

        return $result;
    }
1183165
public function getQuery(string $alias, array $params = []): string
    {
        return self::$routerInstance->getQuery($alias, $params);
    }
418784
public function queryRow($params = array())
    {
        $this->mergeParams($params);
        $this->beginQuery();
        $rst = $this->statement->fetch(\PDO::FETCH_ASSOC);
        $this->statement->closeCursor();
        return $rst;
    }
246929
public function getAssetList(array $queryParams = [])
    {
        $propertyList = $this->_getEntityList('Assets', $queryParams);
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = Asset::createFromOptions($properties);
        }

        return $result;
    }
778328
public function getAll(array $queryParams = [])
    {
        $response = $this->api->licenses()->getAll($queryParams);

        return new LicensesResponse($response);
    }
1147436
public function queryProcessing($queryParams) 
    {
        list($this->query, $this->totalQuery, $this->filterQuery)
            = self::processQuery($this->query, $queryParams);

        $this->countTotal = Util::get($queryParams, 'countTotal', false);
        $this->countFilter = Util::get($queryParams, 'countFilter', false);

        return $this;
    }
471112
public function getStats($appId, $scanId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->getStats($appId, $scanId, $queryParams);

        return new IssueStatsResponse($response);
    }