storage
Credits: 0.000001
Delete a file by project name/path
pathstring
Path to the file
projectstring
The project name
Request
Response
{}
Credits: 0.000001
List files by their project and optionally a path.
pathstring
Defaults to '/', ie. lists all files in a project. Supply path to a folder if you want to list files inside that folder eg. '/docs'
projectstring
Project, required for listing.
filesarray
Request
Response
{
"files": [
{
"project": "examples",
"name": "file.txt",
"path": "/document/text-files/file.txt"
}
]
}
Credits: 0.000001
Read a file by path
pathstring
Path to the file
projectstring
Project name
fileobject
Returns the file
Request
Response
{
"files": [
{
"project": "examples",
"content": "file content example",
"path": "/document/text-files/file.txt"
}
]
}
Credits: 0.000001
Save a file
fileobject
The file to save
publicboolean
Make the file public: true or false
urlstring
The permalink for the file if made public
Request
Response
{}