From 7207421051f607f32926e566a2e916950755f30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 28 Jun 2016 13:02:23 +0200 Subject: [PATCH] Docs for new typePath property in file model --- docs/api/datamodel.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/api/datamodel.rst b/docs/api/datamodel.rst index bdc2c804..3eb98143 100644 --- a/docs/api/datamodel.rst +++ b/docs/api/datamodel.rst @@ -216,10 +216,6 @@ Progress information File related ============ -.. todo:: - - Update to reflect enhanced data now available. - .. _sec-api-datamodel-files-file: File information @@ -242,6 +238,11 @@ File information - String - Type of file. ``model`` or ``machinecode``. Or ``folder`` if it's a folder, in which case the ``children`` node will be populated + * - ``typePath`` + - 1 + - list + - Path to type of file in extension tree. E.g. ``["model", "stl"]`` for ``.stl`` files, or ``["machinecode", "gcode"]`` + for ``.gcode`` files. ``["folder"]`` for folders. Additional properties depend on ``type``. For a ``type`` value of ``folder``, see "Folders". For any other value see "Files".