You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/_files.md
+47-47
Original file line number
Diff line number
Diff line change
@@ -139,25 +139,25 @@ This endpoint returns a list of files and folders in a given folder. If no folde
139
139
140
140
`GET /{id}/files/GetFiles`
141
141
142
-
| Parameter | Type | Required | Description |
143
-
| --------- | ---- | -------- | ----------- |
144
-
|`f`| integer | no | Folder ID to get files for. **Defaults to 0 (root folder)**|
145
-
|`search`| string | no | Search string to filter files by. |
146
-
|`global_search`| boolean | no | If true, search all files in the account, not just the folder specified by `f`. |
147
-
|`pid`| integer | no | For print cost calculation, if you want the files to use the material of a printer, request with the ID of the printer - don't include the `pid` argument otherwise |
|`f`| integer | no | Folder ID to get files for. **Defaults to 0 (root folder)**|
145
+
|`search`| string | no | Search string to filter files by.|
146
+
|`global_search`| boolean | no | If true, search all files in the account, not just the folder specified by `f`.|
147
+
|`pid`| integer | no| For print cost calculation, if you want the files to use the material of a printer, request with the ID of the printer - don't include the `pid` argument otherwise |
148
148
149
149
### Response
150
150
151
-
| Parameter | Type | Description |
152
-
| --------- | ---- | ----------- |
153
-
|`status`| boolean | True if the request was successful. |
154
-
|`message`| string | Error message if `status` is false. |
155
-
|`files`| array | Array of file objects. |
156
-
|`folders`| array | Array of folder objects. |
157
-
|`path`| array | Array of arrays containing the path to the current folder. |
158
-
|`sort_type`| string | Sort type from user's settings. |
159
-
|`space`| integer | The total space available in bytes. |
160
-
|`space_used`| integer | The total space used in bytes. |
0 commit comments