cancel
Showing results for 
Search instead for 
Did you mean: 

Traversing the repository using Web Services API

oleg_cohen1
Champ in-the-making
Champ in-the-making
Hi,

How can I traverse the entire repository using Web Services API? I'd like to construct a tree-view of the content in another web-based application.


Thank you,
Oleg Cohen
3 REPLIES 3

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

I am currently working on some web service examples (PHP and Java) some of which will be in the next release.

There is a PHP browse example that will be particularly helpful as it mimics some of the repository browse features seen in the main web UI.

Also have a look in the Wiki as it should give you some further pointers, I'd recommend looking at the repository web service. http://www.alfresco.org/mediawiki/index.php/Alfresco_Content_Management_Web_Services

Thanks,
Roy

oleg_cohen1
Champ in-the-making
Champ in-the-making
Hi Roy,

Thank you for the info. Where can I find the PHP browse example?
The one in the source code for Remote API looks like only allows to query.
I believe I can achieve browsing via correct quering, but would need
a lucene query examples. Where can I find a guide to how construct queries?

Thank you,
Oleg Cohen

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

If you get the latest update to RC1 posted this morning you should find the browse example I'm talking about in the same location that you found the query example, failing that if you'd like to email me I'll can send the example through to you.

As well as the browse example you will see that I have started to put together a few library classes that will form the basis for the Alfresoc PHP library.  They are far from finished, but they should give you an idea of what we intend to do, any feed back will be welcome.


As far as querying goes, have a look in browse.php for a simple example.  You also find some more detailed help in the Wiki.

Thanks,
Roy