diff --git a/docs/api_changes.md b/docs/api_changes.md index d761ce4..63dd194 100644 --- a/docs/api_changes.md +++ b/docs/api_changes.md @@ -1,6 +1,13 @@ This document keeps a record of all changes to Moonraker's remote facing APIs. +### October 25th 2020 +- The `modified` field reported for files and directories is no + longer represented as a string. It is now a floating point + value representing unix time (in seconds). This can be used + to display the "last modified date" based on the client's + timezone. + ### October 21st 2020 - The `/server/gcode_store` endpoint no longer returns a string in the result's `gcode_store` field. It now returns an diff --git a/docs/web_api.md b/docs/web_api.md index f481ab5..b82bf65 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -422,8 +422,8 @@ path relative to the specified "root". Note that if the query st ```json [ {filename: "file name", - size: , - modified: "last modified date", + size: , + modified: , ...] ``` @@ -450,7 +450,7 @@ path relative to the specified "root". Note that if the query st { filename: "file name", size: , - modified: "last modified date", + modified: , slicer: "Slicer Name", slicer_version: "", first_layer_height: , @@ -458,14 +458,14 @@ path relative to the specified "root". Note that if the query st first_layer_extr_temp: , layer_height: , object_height: , - estimated_time: