Links

Files

Files are the heart of the Onehub service and are organized via folders. You can create, read, download, update, and delete files. You can also list all items in a folder.
All files are versioned. Creating a file in the same location of an identically named file will automatically create a new version of the previously existing file.
All Files have Thumbnails. Thumbnails are generated image representations of a file in PNG format. They are 128 pixels on their largest side with the shorter side varying, based on the aspect ratio of the file. If the file is smaller than 128x128, the thumbnail will be exactly the same size as the file.
post
https://ws-api.onehub.com
/folders/:id/files
Create a File
If a filename has characters that would render it invalid, the name will automatically be changed to one that is valid. For example, file/name.txt would be changed to file-name.txt.
get
https://ws-api.onehub.com
/files/:id
Read a File's Metadata
get
https://ws-api.onehub.com
/download/:id
Download a File
put
https://ws-api.onehub.com
/files/:id
Rename a File
delete
https://ws-api.onehub.com
/files/:id
Delete a File