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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:03:52
Script start
Timing: Jan 18 2025 02:03:52
Module start 'layout'
Timing: Jan 18 2025 02:03:52
Module start 'content'
Timing: Jan 18 2025 02:03:52
Module end 'content'
Timing: Jan 18 2025 02:03:52
Script end

Main resources:

Total runtime0.2113 sec
Peak memory usage4,096.0000 KB
Database Queries99

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.1641152.6406
Module start 'layout' 0.00450.0024 741.804739.4844
Module start 'content' 0.00680.2028 781.2891911.3516
Module end 'content' 0.20970.0016 1,692.640627.0234
Script end 0.2113  1,719.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.6283160.0002
Check MTime0.00150.7111160.0001
Mysql Total
Database connection0.00040.194010.0004
Mysqli_queries0.121257.3656990.0012
Looping result0.00100.4879970.0000
Template Total0.187588.720.0937
Template load0.00160.745720.0008
Template processing0.185987.943120.0929
Template load and register function0.00010.044610.0001
states
state_id_array0.00090.447520.0005
state_identifier_array0.00090.440130.0003
Override
Cache load0.00140.6709420.0000
Sytem overhead
Fetch class attribute name0.00130.6084130.0001
Fetch class attribute can translate value0.00050.218660.0001
class_abstraction
Instantiating content class attribute0.00000.0095130.0000
XML
Image XML parsing0.00452.137760.0008
General
dbfile0.00522.4542470.0001
String conversion0.00000.002740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs