I've only listed categories. I've not heard of anyone creating categories via CMIS. Part of the problem is that categories need to be stored in the correct store and location - and there's no way to do that via CMIS.
Its coming back to me now. I don't think its possible, without an intermediate step like an action or policy.
Effectively, the problem is that category need to be stored in the correct store
I used api restfull with alfresco 4.2 for creating categories and associating these with documents… but i read this api was deprecated in alfresco 5.0 …
What do you think, about intermediate step ? one action "server side" activated by a rule of the type "creation of document" ?