Libreoffice Online(LOOL) Upload file API?

I am looking for an API that can upload files to LOOL server.

Where can i find that? Any help would be appreciated.