07-12-2017 02:29 AM
Now this api curl -utest:test -X POST hostort/alfresco/api/-default-/public/alfresco/versions/1/nodes/-my-/children -F filedata=@test.txt
not support uploading base64 file.
Can I extend this api that to be able to upload files in base 64 encoding?
07-12-2017 07:27 AM
That API is not meant for extension. It is supposed to be a stable, consistent API on which you can rely between versions of Alfresco and different instances of Alfresco. Of course you can try to create a patch / PR and submit that to Alfresco for inclusion in the next iteration of the Public ReST API.
Technically you might be able to extend it by meddling with some of the Java classes in Alfresco, but that would defeat the purpose of the public API. You can always create your own web script to extend the ReST API with any specific support that you need.
Explore our Alfresco products with the links below. Use labels to filter content by product module.