From 00d36a5a0638cf3b0bd78a96e6e99497cd2590ca Mon Sep 17 00:00:00 2001 From: Arksine Date: Sun, 12 Jul 2020 17:28:55 -0400 Subject: [PATCH] docs: fix incorrect method name for retreiving metadata Signed-off-by: Eric Callahan --- docs/dev_changelog.md | 2 +- docs/web_api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev_changelog.md b/docs/dev_changelog.md index b6ac07e..dbd4c3c 100644 --- a/docs/dev_changelog.md +++ b/docs/dev_changelog.md @@ -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` diff --git a/docs/web_api.md b/docs/web_api.md index 9aae72c..8ba7ff2 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -344,7 +344,7 @@ path relative to the specified "root". Note that if the query st `GET /server/files/metadata?filename=` - Websocket command:\ - `{jsonrpc: "2.0", method: "get_metadata", params: {filename: "filename"} + `{jsonrpc: "2.0", method: "get_file_metadata", params: {filename: "filename"} , id: }` - Returns:\