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
@@ -68,7 +101,7 @@ This endpoint creates a new group in the company.
68
101
|`ranks[].title`| string | yes | The name of the group. |
69
102
|`ranks[].description`| string | no | The description of the group. |
70
103
|`ranks[].sort_order`| integer | yes | The sort index of the group. |
71
-
|`ranks[].permissions`|string| yes |JSON string of the permissions of the group. For more information, see [Permissions](#permissions). |
104
+
|`ranks[].permissions`|object| yes |Object containing permissions for the group. Use permission strings from the [Permissions](#permissions) table as keys with boolean values. |
72
105
73
106
### Response
74
107
@@ -84,24 +117,24 @@ This endpoint creates a new group in the company.
@@ -144,7 +208,7 @@ This endpoint updates the groups in the company.
144
208
|`ranks[].id`| integer | yes | The id of the group to update. |
145
209
|`ranks[].title`| string | no | The name of the group. |
146
210
|`ranks[].description`| string | no | The description of the group. |
147
-
|`ranks[].permissions`|string| no |JSON string of the permissions of the group. For more information, see [Permissions](#permissions). |
211
+
|`ranks[].permissions`|object| no |Object containing permissions for the group. Use permission strings from the [Permissions](#permissions) table as keys with boolean values. |
148
212
|`ranks[].sort_order`| integer | no | The sort index of the group. |
149
213
150
214
### Response
@@ -159,7 +223,7 @@ This endpoint updates the groups in the company.
159
223
|`data[].description`| string | The description of the group. |
160
224
|`data[].company_id`| integer | The id of the company. |
161
225
|`data[].company_type`| integer | The type of the company. |
162
-
|`data[].permissions`|string|JSON string of the permissions of the group. For more information, see [Permissions](#permissions). |
226
+
|`data[].permissions`|object|Object containing permissions for the group. Use permission strings from the [Permissions](#permissions) table as keys with boolean values. |
163
227
|`data[].sort_order`| integer | The sort order of the group. |
164
228
|`data[].created`| string | The date and time the group was created. |
165
229
@@ -210,31 +274,26 @@ This endpoint returns a list of groups that exist in the company.
|`status`| boolean | True if the request was successful. |
95
-
|`message`| string | Error message if `status` is false. |
96
-
|`continueToken`| string | For every subsequent request that still has some pending size based on the total size this will be returned instead of the file. |
97
-
|`file.*`| object | Final file object after entire file has been uploaded |
98
-
|`file.id`| string | The API File ID you'll need to use other SimplyPrint APIs |
99
-
|`file.name`| string | Name used to reference the file |
|`status`| boolean | True if the request was successful. |
95
+
|`message`| string | Error message if `status` is false. |
96
+
|`continueToken`| string | For every subsequent request that still has some pending size based on the total size this will be returned instead of the file. |
97
+
|`file.*`| object | Final file object after entire file has been uploaded |
98
+
|`file.id`| string | The API File ID you'll need to use other SimplyPrint APIs |
99
+
|`file.name`| string | Name used to reference the file |
100
+
|`file.size`| int | Total size of uploaded file |
101
+
|`file.uploaded_at`| string | ISO timestamp when the file was uploaded. |
102
+
|`file.expires_at`| string | ISO timestamp when the file will expire. |
103
+
104
+
## List existing API files
105
+
106
+
<asideclass="notice">
107
+
This endpoint requires the <b>Print Farm</b> plan.
0 commit comments