protected function uri($appId = null, $profileId = null, $clone = false)
    {
        if (is_null($appId)) {
            return '/applications/profiles/all';
        }

        if (is_null($profileId)) {
            return "/applications/{$appId}/profiles";
        }

        if (!$clone) {
            return "/applications/{$appId}/profiles/{$profileId}";
        }

        return "/applications/{$appId}/profiles/{$profileId}/clone";
    }