Forums / Discussions / REST API limitation?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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/Exponential/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/Exponential/pull/72

"

Thanks André!

http://www.tantacom.com