Try now New API BETA
Try out the new view and capabilities of the API documentation
Allows you to open the SDK as a document editor for editing by specifying the id parameter for a file.
var docSpace = DocSpace.SDK.initEditor({config});