| java.lang.Object | ||
| ↳ | cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod | |
| ↳ | cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.AddToMyBoxMethod | |
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method copies a file publicly shared by someone to a user's mybox.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
| |||||||||||
From class
java.lang.Object
| |||||||||||
This method copies a file publicly shared by someone to a user's mybox. 'file_id' and 'public_name' params identify a publicly shared file, you should provide either file_id or public name (like '31nhke0ahp') as a parameter. 'folder_id' is the id of a user's folder, where files are to be copied. On a successful result, the status will be 'addtomybox_ok'. If the result wasn't successful, the status field can be: 'addtomybox_error', 'not_logged_id', 'application_restricted', 's_link_exists'.
| addToMyBoxRequest | Request |
|---|
| IOException | io exception |
|---|---|
| BoxException | box exception |