Hey,
i’m not sure if the documentation would help you.
If i’m understanding the following post correctly you should use WebDAV methods instead:
From what i have read in the past the API provided by ownCloud for file operations like uploading/creating/deleting files and folders is WebDAV.