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?
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.