I want to share a document with JavaScript and get its share_id
programatically.
There is a REST API
that can do that but I didn't know how to call it from script.
Any clues?
I want to share a document with JavaScript and get its share_id
programatically.
There is a REST API
that can do that but I didn't know how to call it from script.
Any clues?
The following hack will do the trick. (edit: Must be executed from the classpath in the repository)
PS: It looks even more ugly on 5.0.a due to rhino-1.7.