Forums / Discussions / REST API limitation?

REST API limitation?

Author Message

Jose Ignacio Honrado

Saturday 09 July 2011 12:13:38 pm

Hi,I've been testing the REST API and I found a problem. Why can't I do something like:

$result = eZFunctionHandler::execute('content', 'list', array('parent_node_id' => 2));

inside doFoo() function within ezxRestController class?
(based on tutorial example: http://share.ez.no/learn/ez-publish/extending-ez-publish-s-rest-api-developer-preview-2/(page)/4).

It doesn't returns anything. Is this a REST API limitation or am I doing something wrong?

Regards

 

PD: sorry, I sent the post to the incorrect forum

http://www.tantacom.com

André R.

Sunday 10 July 2011 1:03:43 pm

https://github.com/ezsystems/ezpublish/pull/72

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jose Ignacio Honrado

Sunday 10 July 2011 10:59:51 pm

"

https://github.com/ezsystems/ezpublish/pull/72

"

Thanks André!

http://www.tantacom.com