docs: fix incorrect method name for retreiving metadata

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-07-12 17:28:55 -04:00
parent 5754609203
commit 00d36a5a06
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
They should instead use the new API which exposes this functionality.
- New APIs:
- `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`
- `POST /server/files/directory`
- `DELETE /server/files/directory`

View File

@ -344,7 +344,7 @@ path relative to the specified "root". Note that if the query st
`GET /server/files/metadata?filename=<filename>`
- Websocket command:\
`{jsonrpc: "2.0", method: "get_metadata", params: {filename: "filename"}
`{jsonrpc: "2.0", method: "get_file_metadata", params: {filename: "filename"}
, id: <request id>}`
- Returns:\