@epilot/file-client 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +15 -118
- package/dist/openapi.d.ts +88 -502
- package/dist/openapi.json +43 -415
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "File API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.0",
|
|
6
6
|
"description": "Upload and manage epilot Files\n\n## Changelog\n<a href=\"changelog\">View API Changelog</a>\n"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -31,10 +31,6 @@
|
|
|
31
31
|
"x-displayName": "File",
|
|
32
32
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/FileEntity\" />\n"
|
|
33
33
|
},
|
|
34
|
-
{
|
|
35
|
-
"name": "File Folders",
|
|
36
|
-
"description": "Folder management for organizing files within entities (deprecated - use File Collections)"
|
|
37
|
-
},
|
|
38
34
|
{
|
|
39
35
|
"name": "File Collections",
|
|
40
36
|
"description": "Collection management for organizing files within entities"
|
|
@@ -49,7 +45,6 @@
|
|
|
49
45
|
"Public Links",
|
|
50
46
|
"Session",
|
|
51
47
|
"File Collections",
|
|
52
|
-
"File Folders",
|
|
53
48
|
"Deprecated"
|
|
54
49
|
]
|
|
55
50
|
},
|
|
@@ -1099,344 +1094,60 @@
|
|
|
1099
1094
|
}
|
|
1100
1095
|
}
|
|
1101
1096
|
},
|
|
1102
|
-
"/v1/
|
|
1097
|
+
"/v1/{slug}/collections": {
|
|
1103
1098
|
"get": {
|
|
1104
|
-
"operationId": "
|
|
1105
|
-
"summary": "
|
|
1106
|
-
"
|
|
1107
|
-
"description": "Gets a list of folders that exist for an entity. Deprecated - use getFileCollections instead.",
|
|
1108
|
-
"tags": [
|
|
1109
|
-
"File Folders"
|
|
1110
|
-
],
|
|
1111
|
-
"parameters": [
|
|
1112
|
-
{
|
|
1113
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"name": "parents",
|
|
1117
|
-
"in": "query",
|
|
1118
|
-
"description": "Optional array of parent folder slugs to filter by",
|
|
1119
|
-
"required": false,
|
|
1120
|
-
"schema": {
|
|
1121
|
-
"type": "array",
|
|
1122
|
-
"items": {
|
|
1123
|
-
"type": "string"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
"style": "form",
|
|
1127
|
-
"explode": true
|
|
1128
|
-
}
|
|
1129
|
-
],
|
|
1130
|
-
"responses": {
|
|
1131
|
-
"200": {
|
|
1132
|
-
"description": "List of folders for the entity",
|
|
1133
|
-
"content": {
|
|
1134
|
-
"application/json": {
|
|
1135
|
-
"schema": {
|
|
1136
|
-
"type": "array",
|
|
1137
|
-
"items": {
|
|
1138
|
-
"$ref": "#/components/schemas/FileFolderItem"
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
},
|
|
1144
|
-
"404": {
|
|
1145
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
"post": {
|
|
1150
|
-
"operationId": "createFileFolder",
|
|
1151
|
-
"summary": "createFileFolder",
|
|
1152
|
-
"deprecated": true,
|
|
1153
|
-
"description": "Creates a new file folder for the specified entity. Deprecated - use createFileCollection instead.",
|
|
1154
|
-
"tags": [
|
|
1155
|
-
"File Folders"
|
|
1156
|
-
],
|
|
1157
|
-
"parameters": [
|
|
1158
|
-
{
|
|
1159
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"requestBody": {
|
|
1163
|
-
"required": true,
|
|
1164
|
-
"content": {
|
|
1165
|
-
"application/json": {
|
|
1166
|
-
"schema": {
|
|
1167
|
-
"$ref": "#/components/schemas/FileFolderCreateRequest"
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
"responses": {
|
|
1173
|
-
"201": {
|
|
1174
|
-
"description": "File folder created successfully",
|
|
1175
|
-
"content": {
|
|
1176
|
-
"application/json": {
|
|
1177
|
-
"schema": {
|
|
1178
|
-
"$ref": "#/components/schemas/FileFolderItem"
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
},
|
|
1183
|
-
"404": {
|
|
1184
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
"/v1/entity/{id}/folders/{folderSlug}": {
|
|
1190
|
-
"put": {
|
|
1191
|
-
"operationId": "updateFileFolder",
|
|
1192
|
-
"summary": "updateFileFolder",
|
|
1193
|
-
"deprecated": true,
|
|
1194
|
-
"description": "Updates a specific file folder by slug. Deprecated - use updateFileCollection instead.",
|
|
1099
|
+
"operationId": "getUserSchemaFileCollections",
|
|
1100
|
+
"summary": "getUserSchemaFileCollections",
|
|
1101
|
+
"description": "Gets a list of file collections for the current user and schema",
|
|
1195
1102
|
"tags": [
|
|
1196
|
-
"File
|
|
1197
|
-
],
|
|
1198
|
-
"parameters": [
|
|
1199
|
-
{
|
|
1200
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"name": "folderSlug",
|
|
1204
|
-
"in": "path",
|
|
1205
|
-
"required": true,
|
|
1206
|
-
"description": "The slug identifier for the folder",
|
|
1207
|
-
"schema": {
|
|
1208
|
-
"type": "string",
|
|
1209
|
-
"example": "documents"
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
],
|
|
1213
|
-
"requestBody": {
|
|
1214
|
-
"required": true,
|
|
1215
|
-
"content": {
|
|
1216
|
-
"application/json": {
|
|
1217
|
-
"schema": {
|
|
1218
|
-
"$ref": "#/components/schemas/FileFolderAttributes"
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
"responses": {
|
|
1224
|
-
"200": {
|
|
1225
|
-
"description": "File folder updated successfully",
|
|
1226
|
-
"content": {
|
|
1227
|
-
"application/json": {
|
|
1228
|
-
"schema": {
|
|
1229
|
-
"$ref": "#/components/schemas/FileFolderItem"
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
"404": {
|
|
1235
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
},
|
|
1239
|
-
"delete": {
|
|
1240
|
-
"operationId": "deleteFileFolder",
|
|
1241
|
-
"summary": "deleteFileFolder",
|
|
1242
|
-
"deprecated": true,
|
|
1243
|
-
"description": "Deletes a specific file folder by slug. Deprecated - use deleteFileCollection instead.",
|
|
1244
|
-
"tags": [
|
|
1245
|
-
"File Folders"
|
|
1246
|
-
],
|
|
1247
|
-
"parameters": [
|
|
1248
|
-
{
|
|
1249
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "folderSlug",
|
|
1253
|
-
"in": "path",
|
|
1254
|
-
"required": true,
|
|
1255
|
-
"description": "The slug identifier for the folder",
|
|
1256
|
-
"schema": {
|
|
1257
|
-
"type": "string",
|
|
1258
|
-
"example": "documents"
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
],
|
|
1262
|
-
"responses": {
|
|
1263
|
-
"200": {
|
|
1264
|
-
"description": "File folder deleted successfully"
|
|
1265
|
-
},
|
|
1266
|
-
"404": {
|
|
1267
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
"/v1/entity/{id}/folders/{folderSlug}/files": {
|
|
1273
|
-
"get": {
|
|
1274
|
-
"operationId": "getFilesInFolder",
|
|
1275
|
-
"summary": "getFilesInFolder",
|
|
1276
|
-
"deprecated": true,
|
|
1277
|
-
"description": "Gets all files within a specific folder for an entity. Deprecated - use getFilesInCollection instead.",
|
|
1278
|
-
"tags": [
|
|
1279
|
-
"File Folders"
|
|
1103
|
+
"File Collections"
|
|
1280
1104
|
],
|
|
1281
1105
|
"parameters": [
|
|
1282
1106
|
{
|
|
1283
|
-
"
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"name": "folderSlug",
|
|
1107
|
+
"name": "slug",
|
|
1287
1108
|
"in": "path",
|
|
1288
1109
|
"required": true,
|
|
1289
|
-
"description": "The slug
|
|
1110
|
+
"description": "The schema slug (e.g., order, opportunity)",
|
|
1290
1111
|
"schema": {
|
|
1291
1112
|
"type": "string",
|
|
1292
|
-
"example": "
|
|
1113
|
+
"example": "opportunity"
|
|
1293
1114
|
}
|
|
1294
1115
|
}
|
|
1295
1116
|
],
|
|
1296
1117
|
"responses": {
|
|
1297
1118
|
"200": {
|
|
1298
|
-
"description": "List of
|
|
1119
|
+
"description": "List of collections for the user and schema",
|
|
1299
1120
|
"content": {
|
|
1300
1121
|
"application/json": {
|
|
1301
1122
|
"schema": {
|
|
1302
1123
|
"type": "array",
|
|
1303
1124
|
"items": {
|
|
1304
|
-
"$ref": "#/components/schemas/
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
},
|
|
1310
|
-
"403": {
|
|
1311
|
-
"description": "User must have permission to view this entity to access its files",
|
|
1312
|
-
"content": {
|
|
1313
|
-
"application/json": {
|
|
1314
|
-
"schema": {
|
|
1315
|
-
"type": "object",
|
|
1316
|
-
"properties": {
|
|
1317
|
-
"error": {
|
|
1318
|
-
"type": "string",
|
|
1319
|
-
"example": "User must have permission to view this entity to access its files"
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
"404": {
|
|
1327
|
-
"description": "Entity or folder not found",
|
|
1328
|
-
"content": {
|
|
1329
|
-
"application/json": {
|
|
1330
|
-
"schema": {
|
|
1331
|
-
"type": "object",
|
|
1332
|
-
"properties": {
|
|
1333
|
-
"error": {
|
|
1334
|
-
"type": "string",
|
|
1335
|
-
"example": "Entity not found"
|
|
1336
|
-
}
|
|
1125
|
+
"$ref": "#/components/schemas/FileCollectionItem"
|
|
1337
1126
|
}
|
|
1338
1127
|
}
|
|
1339
1128
|
}
|
|
1340
1129
|
}
|
|
1341
1130
|
}
|
|
1342
1131
|
}
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
"
|
|
1348
|
-
"summary": "getGlobalFileFolders",
|
|
1349
|
-
"deprecated": true,
|
|
1350
|
-
"description": "Gets all global file folders for a specific schema. Deprecated - use getGlobalFileCollections instead.",
|
|
1132
|
+
},
|
|
1133
|
+
"post": {
|
|
1134
|
+
"operationId": "createUserSchemaFileCollection",
|
|
1135
|
+
"summary": "createUserSchemaFileCollection",
|
|
1136
|
+
"description": "Creates a new file collection for the current user and schema",
|
|
1351
1137
|
"tags": [
|
|
1352
|
-
"File
|
|
1138
|
+
"File Collections"
|
|
1353
1139
|
],
|
|
1354
1140
|
"parameters": [
|
|
1355
1141
|
{
|
|
1356
|
-
"name": "
|
|
1142
|
+
"name": "slug",
|
|
1357
1143
|
"in": "path",
|
|
1358
1144
|
"required": true,
|
|
1359
1145
|
"description": "The schema slug (e.g., order, opportunity)",
|
|
1360
1146
|
"schema": {
|
|
1361
1147
|
"type": "string",
|
|
1362
|
-
"example": "
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
],
|
|
1366
|
-
"responses": {
|
|
1367
|
-
"200": {
|
|
1368
|
-
"description": "List of global folders for the schema",
|
|
1369
|
-
"content": {
|
|
1370
|
-
"application/json": {
|
|
1371
|
-
"schema": {
|
|
1372
|
-
"type": "array",
|
|
1373
|
-
"items": {
|
|
1374
|
-
"$ref": "#/components/schemas/FileFolderItem"
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1148
|
+
"example": "opportunity"
|
|
1378
1149
|
}
|
|
1379
1150
|
}
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
},
|
|
1383
|
-
"/v1/entity/{id}/collections": {
|
|
1384
|
-
"get": {
|
|
1385
|
-
"operationId": "getFileCollections",
|
|
1386
|
-
"summary": "getFileCollections",
|
|
1387
|
-
"description": "Gets a list of collections that exist for an entity",
|
|
1388
|
-
"tags": [
|
|
1389
|
-
"File Collections"
|
|
1390
|
-
],
|
|
1391
|
-
"parameters": [
|
|
1392
|
-
{
|
|
1393
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"name": "parents",
|
|
1397
|
-
"in": "query",
|
|
1398
|
-
"description": "Optional array of parent collection slugs to filter by",
|
|
1399
|
-
"required": false,
|
|
1400
|
-
"schema": {
|
|
1401
|
-
"type": "array",
|
|
1402
|
-
"items": {
|
|
1403
|
-
"type": "string"
|
|
1404
|
-
}
|
|
1405
|
-
},
|
|
1406
|
-
"style": "form",
|
|
1407
|
-
"explode": true
|
|
1408
|
-
}
|
|
1409
|
-
],
|
|
1410
|
-
"responses": {
|
|
1411
|
-
"200": {
|
|
1412
|
-
"description": "List of collections for the entity",
|
|
1413
|
-
"content": {
|
|
1414
|
-
"application/json": {
|
|
1415
|
-
"schema": {
|
|
1416
|
-
"type": "array",
|
|
1417
|
-
"items": {
|
|
1418
|
-
"$ref": "#/components/schemas/FileCollectionItem"
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
},
|
|
1424
|
-
"404": {
|
|
1425
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
},
|
|
1429
|
-
"post": {
|
|
1430
|
-
"operationId": "createFileCollection",
|
|
1431
|
-
"summary": "createFileCollection",
|
|
1432
|
-
"description": "Creates a new file collection for the specified entity",
|
|
1433
|
-
"tags": [
|
|
1434
|
-
"File Collections"
|
|
1435
|
-
],
|
|
1436
|
-
"parameters": [
|
|
1437
|
-
{
|
|
1438
|
-
"$ref": "#/components/parameters/EntityIdPathParam"
|
|
1439
|
-
}
|
|
1440
1151
|
],
|
|
1441
1152
|
"requestBody": {
|
|
1442
1153
|
"required": true,
|
|
@@ -1458,24 +1169,28 @@
|
|
|
1458
1169
|
}
|
|
1459
1170
|
}
|
|
1460
1171
|
}
|
|
1461
|
-
},
|
|
1462
|
-
"404": {
|
|
1463
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1464
1172
|
}
|
|
1465
1173
|
}
|
|
1466
1174
|
}
|
|
1467
1175
|
},
|
|
1468
|
-
"/v1/
|
|
1176
|
+
"/v1/{slug}/collections/{collectionSlug}": {
|
|
1469
1177
|
"put": {
|
|
1470
|
-
"operationId": "
|
|
1471
|
-
"summary": "
|
|
1472
|
-
"description": "Updates a
|
|
1178
|
+
"operationId": "updateUserSchemaFileCollection",
|
|
1179
|
+
"summary": "updateUserSchemaFileCollection",
|
|
1180
|
+
"description": "Updates a file collection for the current user and schema",
|
|
1473
1181
|
"tags": [
|
|
1474
1182
|
"File Collections"
|
|
1475
1183
|
],
|
|
1476
1184
|
"parameters": [
|
|
1477
1185
|
{
|
|
1478
|
-
"
|
|
1186
|
+
"name": "slug",
|
|
1187
|
+
"in": "path",
|
|
1188
|
+
"required": true,
|
|
1189
|
+
"description": "The schema slug (e.g., order, opportunity)",
|
|
1190
|
+
"schema": {
|
|
1191
|
+
"type": "string",
|
|
1192
|
+
"example": "opportunity"
|
|
1193
|
+
}
|
|
1479
1194
|
},
|
|
1480
1195
|
{
|
|
1481
1196
|
"name": "collectionSlug",
|
|
@@ -1515,15 +1230,22 @@
|
|
|
1515
1230
|
}
|
|
1516
1231
|
},
|
|
1517
1232
|
"delete": {
|
|
1518
|
-
"operationId": "
|
|
1519
|
-
"summary": "
|
|
1520
|
-
"description": "Deletes a
|
|
1233
|
+
"operationId": "deleteUserSchemaFileCollection",
|
|
1234
|
+
"summary": "deleteUserSchemaFileCollection",
|
|
1235
|
+
"description": "Deletes a file collection for the current user and schema",
|
|
1521
1236
|
"tags": [
|
|
1522
1237
|
"File Collections"
|
|
1523
1238
|
],
|
|
1524
1239
|
"parameters": [
|
|
1525
1240
|
{
|
|
1526
|
-
"
|
|
1241
|
+
"name": "slug",
|
|
1242
|
+
"in": "path",
|
|
1243
|
+
"required": true,
|
|
1244
|
+
"description": "The schema slug (e.g., order, opportunity)",
|
|
1245
|
+
"schema": {
|
|
1246
|
+
"type": "string",
|
|
1247
|
+
"example": "opportunity"
|
|
1248
|
+
}
|
|
1527
1249
|
},
|
|
1528
1250
|
{
|
|
1529
1251
|
"name": "collectionSlug",
|
|
@@ -1550,7 +1272,7 @@
|
|
|
1550
1272
|
"get": {
|
|
1551
1273
|
"operationId": "getFilesInCollection",
|
|
1552
1274
|
"summary": "getFilesInCollection",
|
|
1553
|
-
"description": "Gets all files within a specific collection for an entity",
|
|
1275
|
+
"description": "Gets all files within a specific collection for an entity (uses schema-based taxonomy derived from entity)",
|
|
1554
1276
|
"tags": [
|
|
1555
1277
|
"File Collections"
|
|
1556
1278
|
],
|
|
@@ -2230,65 +1952,6 @@
|
|
|
2230
1952
|
}
|
|
2231
1953
|
}
|
|
2232
1954
|
},
|
|
2233
|
-
"FileFolderId": {
|
|
2234
|
-
"description": "Generated uuid for a file folder",
|
|
2235
|
-
"type": "string",
|
|
2236
|
-
"format": "uuid"
|
|
2237
|
-
},
|
|
2238
|
-
"FileFolderItem": {
|
|
2239
|
-
"description": "A file folder with identifiers and timestamps",
|
|
2240
|
-
"type": "object",
|
|
2241
|
-
"properties": {
|
|
2242
|
-
"slug": {
|
|
2243
|
-
"type": "string",
|
|
2244
|
-
"description": "Full slug for the folder. Format depends on collection type:\n- User collection: `_system_files_collection_{entity_uuid}_{user_id}:{collection_name}`\n Example: `_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234:documents`\n- Global collection: `_system_files_collection_schema_{schema_slug}:{collection_name}`\n Example: `_system_files_collection_schema_opportunity:templates`\n",
|
|
2245
|
-
"example": "_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234:documents"
|
|
2246
|
-
},
|
|
2247
|
-
"name": {
|
|
2248
|
-
"type": "string",
|
|
2249
|
-
"description": "Display name of the folder",
|
|
2250
|
-
"example": "Documents"
|
|
2251
|
-
},
|
|
2252
|
-
"id": {
|
|
2253
|
-
"$ref": "#/components/schemas/FileFolderId"
|
|
2254
|
-
},
|
|
2255
|
-
"parents": {
|
|
2256
|
-
"type": "array",
|
|
2257
|
-
"description": "Array of parent folder slugs, empty array if top-level folder. Format depends on collection type:\n- User collection: `_system_files_collection_{entity_uuid}_{user_id}`\n Example: `[\"_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234\"]`\n- Global collection: `_system_files_collection_schema_{schema_slug}`\n Example: `[\"_system_files_collection_schema_opportunity\"]`\n",
|
|
2258
|
-
"items": {
|
|
2259
|
-
"type": "string"
|
|
2260
|
-
},
|
|
2261
|
-
"example": [
|
|
2262
|
-
"_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234"
|
|
2263
|
-
]
|
|
2264
|
-
},
|
|
2265
|
-
"starred": {
|
|
2266
|
-
"type": "boolean",
|
|
2267
|
-
"description": "Whether the folder is starred / favorited",
|
|
2268
|
-
"example": false
|
|
2269
|
-
},
|
|
2270
|
-
"order": {
|
|
2271
|
-
"type": "number",
|
|
2272
|
-
"description": "Display order for the folder",
|
|
2273
|
-
"example": 0
|
|
2274
|
-
},
|
|
2275
|
-
"created_at": {
|
|
2276
|
-
"type": "string",
|
|
2277
|
-
"format": "date-time",
|
|
2278
|
-
"description": "Timestamp when the folder was created",
|
|
2279
|
-
"example": "2024-01-01T12:00:00Z"
|
|
2280
|
-
},
|
|
2281
|
-
"updated_at": {
|
|
2282
|
-
"type": "string",
|
|
2283
|
-
"format": "date-time",
|
|
2284
|
-
"description": "Timestamp when the folder was last updated",
|
|
2285
|
-
"example": "2024-01-02T12:00:00Z"
|
|
2286
|
-
}
|
|
2287
|
-
},
|
|
2288
|
-
"required": [
|
|
2289
|
-
"name"
|
|
2290
|
-
]
|
|
2291
|
-
},
|
|
2292
1955
|
"ErrorObject": {
|
|
2293
1956
|
"description": "A generic error returned by the API",
|
|
2294
1957
|
"type": "object",
|
|
@@ -2305,41 +1968,6 @@
|
|
|
2305
1968
|
}
|
|
2306
1969
|
}
|
|
2307
1970
|
},
|
|
2308
|
-
"FileFolderAttributes": {
|
|
2309
|
-
"type": "object",
|
|
2310
|
-
"properties": {
|
|
2311
|
-
"name": {
|
|
2312
|
-
"type": "string",
|
|
2313
|
-
"description": "Name of the folder"
|
|
2314
|
-
},
|
|
2315
|
-
"parents": {
|
|
2316
|
-
"type": "array",
|
|
2317
|
-
"description": "Array of parent folder slugs, empty array if top-level folder",
|
|
2318
|
-
"items": {
|
|
2319
|
-
"type": "string"
|
|
2320
|
-
}
|
|
2321
|
-
},
|
|
2322
|
-
"starred": {
|
|
2323
|
-
"type": "boolean",
|
|
2324
|
-
"description": "Whether the folder is starred / favorited",
|
|
2325
|
-
"default": false
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
},
|
|
2329
|
-
"FileFolderCreateRequest": {
|
|
2330
|
-
"description": "Request body for creating a file folder",
|
|
2331
|
-
"allOf": [
|
|
2332
|
-
{
|
|
2333
|
-
"$ref": "#/components/schemas/FileFolderAttributes"
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"type": "object",
|
|
2337
|
-
"required": [
|
|
2338
|
-
"name"
|
|
2339
|
-
]
|
|
2340
|
-
}
|
|
2341
|
-
]
|
|
2342
|
-
},
|
|
2343
1971
|
"FileCollectionId": {
|
|
2344
1972
|
"description": "Generated uuid for a file collection",
|
|
2345
1973
|
"type": "string",
|