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

コメント

3件のコメント

  • Murtza

     We don't have an endpoint to get all this information in one call. Getting metadata for all files and folders in a Box instance requires calls to three endpoints: Get Folder Items, Get All Metadata on File, and Get All Metadata on Folder

     

    You would first have call the Get Folder Items endpoint recursively. This would give you a list of all the files and folders in a Box instance. For the files in that list, you would call the Get All Metadata on File endpoint, which gives you the metadata for each file. For the folders in that list, you would call the Get All Metadata on Folder, which gives you the metadata for each folder.

    0
    コメントアクション パーマリンク
  • saurabhschauhan

    Thanks  for your reply.

     

    I want to store metadata of box drive in my database. For this i am thinking of single api through which i can get all data. Like Google Drive api :https://developers.google.com/drive/v3/reference/files/list 

     

    If i use three endpoint suggested by you in a drive which have 1000 of folder and each folder contains 100 files then it will be very lengthy process . Is there any other alternative way to do it.

    0
    コメントアクション パーマリンク
  • Murtza

     Unfortunately, we don't have a single endpoint that would return all the metadata and files in a Box instance. 

    0
    コメントアクション パーマリンク

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