src/Api/Controller/Note.php
public function getRemap($sMethod, array $aData = [])
    {
        list($sModel, $iItemId) = $this->getModelClassAndId();
        $aData['where'] = [
            ['model', $sModel],
            ['item_id', $iItemId],
        ];

        return parent::getRemap($sMethod, $aData);
    }
public function getRemap($sMethod, array $aData = [])
    {
        list($sModel, $iItemId) = $this->getModelClassAndId();
        $aData['where'] = [
            ['model', $sModel],
            ['item_id', $iItemId],
        ];

        return parent::getRemap($sMethod, $aData);
    }
Handles GET requests

@param string $sMethod The method being called
@param array  $aData   Any data to apply to the requests

@return ApiResponse
@throws ApiException
@throws FactoryException