AnsweredAssumed Answered

Alfresco :: few PHP APIs is working only

Question asked by talk2koushik on Jun 16, 2014
Latest reply on Jun 18, 2014 by jpotts
I am trying to use alfresco. I want to use PHP restfull APIs.

Followings are my task.
1) Listing of all directory and documents.
2) Upload a file and create or add properties/metadata for the file.
3) Checkout and checkin a file.
4) Retrieve a specific version of a file.
5) Create and edit tag.
I got list of APIs from.

http://localhost:8080/alfresco/service/index/uri/
and
http://wiki.alfresco.com/wiki/2.1_REST_API
Some of them is working and some of them is not working. Can anyone provide me the restfull PHP APIs for above tasks.

Even I am getting internal server error. Below is the code to add/create a tag.

[form]     
action="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/b0697dd1-
ae94-4bf6-81c8-5e2fa098ddfa/tags" method="post"]   
[input type="text" name="name" value='["t222a","t222b","t222c"]' /]
[input type="text" name="tags" value='["t222a","t222b","t222c"]' /]   
[input type="submit" /]
[/form]
Can anyone help me to figure it out?

Also there is no such help how I use custom data using API call.

Thanks in Advance

Outcomes