Now this api curl -utest:test -X POST host:port/alfresco/api/-default-/public/alfresco/versions/1/nodes/-my-/children -F email@example.com
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.
Retrieving data ...