docs: fix list roots endpoint
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
ddf3325dae
commit
5a3b1b6e5c
@ -1559,6 +1559,24 @@ A list of objects, where each object contains file data.
|
||||
]
|
||||
```
|
||||
|
||||
#### List registered roots
|
||||
Reports all "root" directories registered with Moonraker. Information
|
||||
such as location on disk and permissions are included.
|
||||
|
||||
HTTP request:
|
||||
```http
|
||||
GET /server/files/roots
|
||||
```
|
||||
|
||||
JSON-RPC request:
|
||||
```json
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "server.files.roots",
|
||||
"id": 4644
|
||||
}
|
||||
```
|
||||
|
||||
Returns:
|
||||
A list of objects, where each object contains file data:
|
||||
|
||||
@ -1592,25 +1610,6 @@ A list of objects, where each object contains file data:
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
#### List registered roots
|
||||
Reports all "root" directories registered with Moonraker. Information
|
||||
such as location on disk and permissions are included.
|
||||
|
||||
HTTP request:
|
||||
```http
|
||||
GET /server/files/roots
|
||||
```
|
||||
|
||||
JSON-RPC request:
|
||||
```json
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "server.files.roots",
|
||||
"id": 4644
|
||||
}
|
||||
```
|
||||
|
||||
#### Get gcode metadata
|
||||
Get metadata for a specified gcode file. If the file is located in
|
||||
a subdirectory, then the file name should include the path relative to
|
||||
|
Loading…
x
Reference in New Issue
Block a user