08-04-2012 01:31 PM
The following web script uploads file content and metadata into the repository.
POST /alfresco/service/api/upload
The web script uses the following HTML form data:
filedata - (mandatory) HTML type file
siteid
containerid
uploaddirectory
updatenoderef
filename
description
contenttype
majorversion
overwrite
thumbnails
The returned content is:
nodeRef
It returns a status: STATUS_OK (200).
The web script description document specifies the following options:
Value Description
user The authentication access
required The transaction level
any The format style
json The default response format
But i dont know08-04-2012 07:19 PM
08-05-2012 05:34 AM
08-05-2012 08:30 AM
This is posted in CMIS, but you seem to have found a non-CMIS upload API, specifically designed for use with Share.
CMIS has it's own upload API - take a look at the CMIS spec for details.
Thanks,
Mike
08-06-2012 03:49 AM
08-06-2012 05:03 AM
Hello,
did you mean to say "But doesn't CMIS support Android"? If so, CMIS supports any kind of client, independent of the technical platform, provided they can access the CMIS server via HTTP. If you want to have proper development support, the availability of a suitable client library is the major prerequisite for effective development, but you could theoretically do without. So, Android is supported.
The mThreadStarted = false; web script is NOT a part of CMIS, but similarily to CMIS available via HTTP.
Have a look at the CMIS wiki entry, CMIS spec, Apache Chemistry and one (of potentially many) existing Android CMIS browsers.
Regards
Axel
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.