Skip to main content
Question

Why does upload file method returns a list of files?

  • January 31, 2025
  • 0 replies
  • 49 views

Forum|alt.badge.img

Hello,

I was wondering why do the following upload methods return a list of files rather than one single file:

  • Upload file POST "https://upload.box.com/api/2.0/files/content" Returns the new file object in a list.
  • Upload file version POST "https://upload.box.com/api/2.0/files/12345/content" Returns the new file object in a list.

I’m using the .NET Gen SDK which provides the `await boxClient.ChunkedUploads.UploadBigFileAsync` method that returns a single file instead of a list of files. Why doesn’t it return a list of files as the file is chunked?

 

Thank you for the clarifications,
Best regards,

Antonin