Links can only be inserted into the main layer; other layers are not supported. This API supports undo/redo in notes.
Returns
APIResponse<number>:resultis a status code (convention:0success,-1failure,-2target file requires upgrade)
Insert a text link into the main layer of the currently opened note page.
APIResponse<number>:
result is a status code (convention: 0 success, -1 failure, -2 target file requires upgrade)