JavaScript SDK
Managing Files
In this section, you will find information and examples on how to manipulate the files associated with your application. Learn how to list, read, create, and delete files using the Square Cloud JavaScript SDK.
Getting a list of files
application.files.list()
return a list of APIListedFile
objects.
Reading a file
application.files.read()
returns a Buffer object.
Creating a file
application.files.create()
returns a Boolean.
Deleting a file
application.files.delete()
returns a Boolean.
Was this page helpful?