docs: fix incorrect method name for retreiving metadata
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
5754609203
commit
00d36a5a06
|
@ -18,7 +18,7 @@
|
||||||
They should instead use the new API which exposes this functionality.
|
They should instead use the new API which exposes this functionality.
|
||||||
- New APIs:
|
- New APIs:
|
||||||
- `POST /printer/emergency_stop` - `post_printer_emergency_stop`
|
- `POST /printer/emergency_stop` - `post_printer_emergency_stop`
|
||||||
- `GET /server/files/metadata` - `get_metadata`
|
- `GET /server/files/metadata` - `get_file_metadata`
|
||||||
- `GET /server/files/directory`
|
- `GET /server/files/directory`
|
||||||
- `POST /server/files/directory`
|
- `POST /server/files/directory`
|
||||||
- `DELETE /server/files/directory`
|
- `DELETE /server/files/directory`
|
||||||
|
|
|
@ -344,7 +344,7 @@ path relative to the specified "root". Note that if the query st
|
||||||
`GET /server/files/metadata?filename=<filename>`
|
`GET /server/files/metadata?filename=<filename>`
|
||||||
|
|
||||||
- Websocket command:\
|
- Websocket command:\
|
||||||
`{jsonrpc: "2.0", method: "get_metadata", params: {filename: "filename"}
|
`{jsonrpc: "2.0", method: "get_file_metadata", params: {filename: "filename"}
|
||||||
, id: <request id>}`
|
, id: <request id>}`
|
||||||
|
|
||||||
- Returns:\
|
- Returns:\
|
||||||
|
|
Loading…
Reference in New Issue