public function getIndexes($collectionId)
    {
        $urlParams = [self::OPTION_COLLECTION => $collectionId];
        $url       = UrlHelper::appendParamsUrl(Urls::URL_INDEX, $urlParams);
        $response  = $this->getConnection()->get($url);

        return $response->getJson();
    }
public function getIndexes($collectionId)
    {
        $urlParams = [self::OPTION_COLLECTION => $collectionId];
        $url       = UrlHelper::appendParamsUrl(Urls::URL_INDEX, $urlParams);
        $response  = $this->getConnection()->get($url);

        return $response->getJson();
    }
public function getIndexes ( $ collectionId ) { $ urlParams = [ self :: OPTION_COLLECTION => $ collectionId ] ; $ url = UrlHelper :: appendParamsUrl ( Urls :: URL_INDEX , $ urlParams ) ; $ response = $ this -> getConnection ( ) -> get ( $ url ) ; return $ response -> getJson ( ) ; }
Get indexes of a collection

This will throw if the collection cannot be fetched from the server

@throws Exception

@param mixed $collectionId - collection id as a string or number

@return array $data - the indexes result-set from the server
Get indexes of a collection