-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakanorf.json
69 lines (69 loc) · 1.58 KB
/
makanorf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[
{
"description": "List files in the 'up' directory",
"path": "http://makano.rf.gd/index.php",
"method": "GET"
},
{
"description": "List files in a specific folder within the 'up' directory",
"path": "http://makano.rf.gd/index.php?folder=your-folder-name",
"method": "GET"
},
{
"description": "Create or Write a file",
"path": "http://makano.rf.gd/index.php",
"method": "POST",
"payload": {
"API_KEY": "your_api_key",
"action": "write",
"payload": {
"filename": "your-filename.txt",
"change": "create",
"type": "file",
"content": "File content goes here"
}
}
},
{
"description": "Read a file",
"path": "http://makano.rf.gd/index.php",
"method": "POST",
"payload": {
"API_KEY": "your_api_key",
"action": "read",
"payload": {
"filename": "your-filename.txt",
"change": "none",
"type": "file"
}
}
},
{
"description": "Delete a file",
"path": "http://makano.rf.gd/index.php",
"method": "POST",
"payload": {
"API_KEY": "your_api_key",
"action": "delete",
"payload": {
"filename": "your-filename.txt",
"change": "delete",
"type": "file"
}
}
},
{
"description": "Create or Write a folder",
"path": "http://makano.rf.gd/index.php",
"method": "POST",
"payload": {
"API_KEY": "your_api_key",
"action": "write",
"payload": {
"filename": "your-folder-name",
"change": "create",
"type": "folder"
}
}
}
]