新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

コメント

1件のコメント

  • Murtza

    You will first need to get a list of the user's files, and then request the comments on each of the files.

     

    Here is an example using our Java SDK that shows how to iterate over a folder's items:

     

    BoxFolder folder = new BoxFolder(api, "id");
    for (BoxItem.Info itemInfo : folder) {
        if (itemInfo instanceof BoxFile.Info) {
            BoxFile.Info fileInfo = (BoxFile.Info) itemInfo;
            // Do something with the file.
        } else if (itemInfo instanceof BoxFolder.Info) {
            BoxFolder.Info folderInfo = (BoxFolder.Info) itemInfo;
            // Do something with the folder.
        }
    }

     

    Here is an example using our Java SDK that shows how to get all comments on a file: 

     

    BoxFile file = new BoxFile(api, "id");
    List comments = file.getComments();

     

    We have SDKs in many languages. What language do you need an example for?

    0
    コメントアクション Permalink

サインインしてコメントを残してください。