storage

File

Store, list, and retrieve text files

Delete Free

POSThttps://api.m3o.com/v1/file/Delete

Delete a file by project name/path

Request payload

path string

Path to the file

project string

The project name

List Free

POSThttps://api.m3o.com/v1/file/List

List files by their project and optionally a path.

Request payload

path string

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'

project string

Project, required for listing.

Response

files object array

Read Free

POSThttps://api.m3o.com/v1/file/Read

Read a file by path

Request payload

path string

Path to the file

project string

Project name

Response

file object

Returns the file

Save Free

POSThttps://api.m3o.com/v1/file/Save

Save a file

Request payload

file object