Wednesday 30 November 2011 2:41:27 pm - 1 reply
All other endpoints seem to run this little snippet of code. However it is missing in index_rest.php. This causes fetching of sections (and others) to fail when using the API to render templates. Added the snippet of code to index_rest.php solved all problems. Will it be included in future versions of the API, or should I find a workaround?
Modified on Tuesday 22 January 2013 3:47:50 pm by Henning Kvinnesland
Friday 02 December 2011 1:15:45 pm
It will atm not be added, so you can safely add it to your rest code before executing any publish operation and so on that relies on it.
We will rewrite REST to use the API during the next half year, so adding tie ins to current kernel will only create additional bc breaks, and we plan on having as few as possible (code wise), REST API wise there should not be any bc breaks.
You must be logged in to post messages in this topic!