Assuming it's possible, is there an example of uploading a file using a REST API call? The closest I've found is the DEMO, but that is using Apache Cordova to build a mobile app.
I would image using an AJAX call to /api/v1/nodes with a method of POST and a content-type of "multipart/form-data". But what parameter holds the actual file?