Generally I want to upload new document with custom property. I have found solution how to do this. Firstly I need to create aspect with property and create rule that assigns aspect to new document. Next step is to set aspect property value to uploaded file. It's very simple when we do it with CMIS in JAVA but I wan't to use JAVA. I want to do it with one HTTP request.
How can I do it with REST?
Nowhere I can find tips how to do this.