I am trying to import many articles from another system via REST api. I managed to create simple ones without additional (binary) resources. It works fine.
But it is not very clear how to deal with binary data. I've tried to specify image in form of
data-uri with Base64 data, but in this case a default 32K limit of my rich text field is exceeded very quickly. It can be extented to 128K, but it is still too low.
So far I only found this link for uploading binary attachment, but it is not very clear whether applicable in my case. http://blog.enree.co/2013/01/salesforce-apex-post-mutipartform-data.html
Btw initially I also tried the bulk import via crafted CSV file, but in this case I couldn't update the already existing articles (which is requested in my case), hence the REST way.