public class

AddToTagMethod

extends BaseBoxMethod
java.lang.Object
   ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
     ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.AddToTagMethod

Summary

[Expand]
Inherited Fields
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
Public Constructors
AddToTagMethod()
Public Methods
AddToTagResponse addToTag(AddToTagRequest addToTagRequest)
This method adds file or folder to tags list.
[Expand]
Inherited Methods
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
From class java.lang.Object

Public Constructors

public AddToTagMethod ()

Public Methods

public AddToTagResponse addToTag (AddToTagRequest addToTagRequest)

This method adds file or folder to tags list. 'target' param can be either 'file' or 'folder' depending on what do you want to add, 'target_id' is the id of a file or folder to be added, 'tags' array of tags where target will be added. On successful a result, you will receive 'addtotag_ok'. If the result wasn't successful, status field can be: addtotag_error.

Parameters
addToTagRequest Request
Returns
  • response
Throws
IOException IO exception
BoxException box exception