An open API service indexing awesome lists of open source software.

https://github.com/cloudcmd/rest

CloudCmd REST
https://github.com/cloudcmd/rest

Last synced: 3 months ago
JSON representation

CloudCmd REST

Awesome Lists containing this project

README

          

CloudCmd REST
=============
**/api/v1/**

|Name |Method |Query |Body |Description |
|:------------|:--------|:--------------|:------------------|:------------------------------|
|`fs` |`GET` | | |get file or dir content |
| | |`size` | |get dir or file size |
| | |`time` | |get time of file change |
| | |`hash` | |get file hash |
| | |`beautify` | |beautify js, html, css |
| | |`minify` | |minify js, html, css |
| |`PUT` | |file content |create/write file |
| | | `unzip` |file content |unzip and create/write file |
| | | `dir` | |create dir |
| |`PATCH` | |diff |patch file |
| |`DELETE` | | |delete file |
| | |`files` |Array of names |delete files |
|`mv` |`PUT` | |{from, to} |rename file/dir |
| | | |{from, names, to} |mv files/dirs |
|`cp` |`PUT` | |{from, names, to} |copy files |
|`pack` |`PUT` | |{from} |pack file |
|`unpack` |`PUT` | |{from} |unpack file |
|`config` |`GET` | | |get config |
| |`PATCH` | |{option:value} |change config |
|`markdown` |`GET` | | |parse markdown with path |
| | |`relative` | |parse with relative path |
| |`PUT` | |raw markdown |parse raw markdown |