Forums / Discussions / eZ Publish REST API developer preview release

Wednesday 29 September 2010 8:39:27 am - 6 replies

Introduction

As announced earlier during the eZ Conference 2010 and the various eZ Publish Fuji events (Oslo, Paris), developer preview releases for the next generation eZ Publish APIs are also be made available.

Note: a newer version of the REST Interface preview is available. See the blog post about REST preview 1.2.

» Read full blog post

Author Message

Thiago Campos Viana

Wednesday 29 September 2010 10:59:50 am

I think instalation guide could be more detailed, because it's an advanced extension... I don't know how to register oauth client, there's Endpoint URI... I don't know what's that... And I don't know what to do after that...

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Bertrand Dunogier

Wednesday 29 September 2010 11:31:10 am

A nice discussion is currently happening on IRC with Thiago.

I'll post an up-to-date documentation tomorrow as it seems there are a few things that aren't clear, as well as a few details that were left out.

In the meanwhile, since the example on gist requires PHP 5.3, I have posted a non PHP 5.3 version of the example: http://gist.github.com/603241.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Bayron Guevara

Wednesday 29 September 2010 1:41:47 pm

There is an error on the mysql insert schema: Double quotes are used in ezprest_token table fields, instead of none of all or grave accent marks. It causes a syntaxis error, some difficult to detect.

Web Developer & Modern Philosopher
Visit http://www.laprensa.hn, http://www.diez.hn, http://www.estilo.hn

Francesco Trucchia

Friday 15 October 2010 6:30:32 am

There is a public repository (git or svn) of this projet? Thanks.

--
Francesco Trucchia
CTO

ft@ideato.it
Skype: trucchia

ideato srl - web ideas for sale
http://www.ideato.it

Heath

Monday 18 October 2010 11:44:03 pm

Hello Francesco,

I was able to find an eZ Rest project and svn:

http://projects.ez.no/ezrest

http://svn.projects.ez.no/ezrest/trunk/extension/ezrest/

Sadly these resources have not been updated in quite a long time so they may be old resources and different than the code released as part of this preview release...

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Eirik Alfstad Johansen

Monday 01 November 2010 10:27:28 am

Please note that the developer preview has been updated to v. 1.2 due to some of the issues mentioned in this thread. Check out this post:

http://share.ez.no/blogs/ez/updated-rest-api-developer-preview-1.2

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

You must be logged in to post messages in this topic!

eZ debug

Timing: Jan 17 2025 23:59:39
Script start
Timing: Jan 17 2025 23:59:39
Module start 'content'
Timing: Jan 17 2025 23:59:39
Module end 'content'
Timing: Jan 17 2025 23:59:39
Script end

Main resources:

Total runtime0.2900 sec
Peak memory usage4,096.0000 KB
Database Queries236

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.9609180.8203
Module start 'content' 0.00420.1645 769.7813916.1953
Module end 'content' 0.16870.1212 1,685.9766349.9063
Script end 0.2899  2,035.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00381.3049210.0002
Check MTime0.00140.4864210.0001
Mysql Total
Database connection0.00060.192710.0006
Mysqli_queries0.185263.85382360.0008
Looping result0.00220.76992340.0000
Template Total0.267392.220.1336
Template load0.00220.772220.0011
Template processing0.265091.378220.1325
Template load and register function0.00010.035110.0001
states
state_id_array0.00110.365820.0005
state_identifier_array0.00150.505430.0005
Override
Cache load0.00200.7025420.0000
Sytem overhead
Fetch class attribute name0.00100.3518130.0001
Fetch class attribute can translate value0.00130.462670.0002
class_abstraction
Instantiating content class attribute0.00000.0064130.0000
XML
Image XML parsing0.00531.832670.0008
General
dbfile0.00953.2771580.0002
String conversion0.00000.001830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs