@gitbook/api 0.11.0 → 0.11.1
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/README.md +21 -0
- package/dist/client.d.ts +592 -303
- package/dist/index.cjs +35 -115
- package/dist/index.js +34 -111
- package/package.json +2 -1
- package/spec/openapi.json +3063 -837
- package/spec/openapi.yaml +1923 -537
package/spec/openapi.json
CHANGED
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"required": true,
|
|
149
149
|
"description": "The unique ID of the change request or its number identifier in the space",
|
|
150
150
|
"schema": {
|
|
151
|
-
"
|
|
151
|
+
"anyOf": [
|
|
152
152
|
{
|
|
153
153
|
"type": "string"
|
|
154
154
|
},
|
|
@@ -180,9 +180,11 @@
|
|
|
180
180
|
"name": "integrationName",
|
|
181
181
|
"in": "path",
|
|
182
182
|
"required": true,
|
|
183
|
-
"description": "Name of the integration",
|
|
183
|
+
"description": "Name of the integration. Allowed characters are a-z, A-Z, 0-9, -, _, .",
|
|
184
184
|
"schema": {
|
|
185
|
-
"type": "string"
|
|
185
|
+
"type": "string",
|
|
186
|
+
"pattern": "^[a-zA-Z0-9-_.]+$",
|
|
187
|
+
"maxLength": 100
|
|
186
188
|
}
|
|
187
189
|
},
|
|
188
190
|
"installationId": {
|
|
@@ -266,15 +268,6 @@
|
|
|
266
268
|
"$ref": "#/components/schemas/EntityType"
|
|
267
269
|
}
|
|
268
270
|
},
|
|
269
|
-
"environmentName": {
|
|
270
|
-
"name": "environmentName",
|
|
271
|
-
"in": "path",
|
|
272
|
-
"required": true,
|
|
273
|
-
"description": "The unique name of the environment within the organization",
|
|
274
|
-
"schema": {
|
|
275
|
-
"type": "string"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
271
|
"backofficeHostname": {
|
|
279
272
|
"name": "hostname",
|
|
280
273
|
"in": "path",
|
|
@@ -283,6 +276,15 @@
|
|
|
283
276
|
"schema": {
|
|
284
277
|
"type": "string"
|
|
285
278
|
}
|
|
279
|
+
},
|
|
280
|
+
"ifUnmodifiedSince": {
|
|
281
|
+
"in": "header",
|
|
282
|
+
"name": "If-Unmodified-Since",
|
|
283
|
+
"description": "If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.",
|
|
284
|
+
"schema": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"format": "date-time"
|
|
287
|
+
}
|
|
286
288
|
}
|
|
287
289
|
},
|
|
288
290
|
"schemas": {
|
|
@@ -721,10 +723,6 @@
|
|
|
721
723
|
"deprecated": true,
|
|
722
724
|
"type": "boolean"
|
|
723
725
|
},
|
|
724
|
-
"type": {
|
|
725
|
-
"$ref": "#/components/schemas/SpaceType",
|
|
726
|
-
"default": "other"
|
|
727
|
-
},
|
|
728
726
|
"parent": {
|
|
729
727
|
"type": "string",
|
|
730
728
|
"description": "ID of a parent collection"
|
|
@@ -928,46 +926,6 @@
|
|
|
928
926
|
"urls"
|
|
929
927
|
]
|
|
930
928
|
},
|
|
931
|
-
"UserPreferences": {
|
|
932
|
-
"type": "object",
|
|
933
|
-
"properties": {
|
|
934
|
-
"object": {
|
|
935
|
-
"type": "string",
|
|
936
|
-
"description": "Type of Object, always equals to \"user-preferences\"",
|
|
937
|
-
"enum": [
|
|
938
|
-
"user-preferences"
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
"theme": {
|
|
942
|
-
"$ref": "#/components/schemas/UserPreferencesTheme"
|
|
943
|
-
},
|
|
944
|
-
"urls": {
|
|
945
|
-
"type": "object",
|
|
946
|
-
"description": "URLs associated with the object",
|
|
947
|
-
"properties": {
|
|
948
|
-
"location": {
|
|
949
|
-
"type": "string",
|
|
950
|
-
"description": "URL of the user preferences in the API",
|
|
951
|
-
"format": "uri"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
"required": [
|
|
957
|
-
"object",
|
|
958
|
-
"theme",
|
|
959
|
-
"urls"
|
|
960
|
-
]
|
|
961
|
-
},
|
|
962
|
-
"UserPreferencesTheme": {
|
|
963
|
-
"type": "string",
|
|
964
|
-
"description": "Preferred theme for the application",
|
|
965
|
-
"enum": [
|
|
966
|
-
"light",
|
|
967
|
-
"dark",
|
|
968
|
-
"default"
|
|
969
|
-
]
|
|
970
|
-
},
|
|
971
929
|
"UserAPIToken": {
|
|
972
930
|
"type": "object",
|
|
973
931
|
"description": "The API token details, excluding the token itself.",
|
|
@@ -1115,6 +1073,64 @@
|
|
|
1115
1073
|
}
|
|
1116
1074
|
}
|
|
1117
1075
|
},
|
|
1076
|
+
"Embed": {
|
|
1077
|
+
"allOf": [
|
|
1078
|
+
{
|
|
1079
|
+
"type": "object",
|
|
1080
|
+
"properties": {
|
|
1081
|
+
"title": {
|
|
1082
|
+
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
"site": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"icon": {
|
|
1088
|
+
"type": "string"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"required": [
|
|
1092
|
+
"title",
|
|
1093
|
+
"site"
|
|
1094
|
+
]
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"oneOf": [
|
|
1098
|
+
{
|
|
1099
|
+
"type": "object",
|
|
1100
|
+
"properties": {
|
|
1101
|
+
"type": {
|
|
1102
|
+
"type": "string",
|
|
1103
|
+
"enum": [
|
|
1104
|
+
"link"
|
|
1105
|
+
]
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"required": [
|
|
1109
|
+
"type"
|
|
1110
|
+
]
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"type": "object",
|
|
1114
|
+
"properties": {
|
|
1115
|
+
"type": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"enum": [
|
|
1118
|
+
"rich"
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
"html": {
|
|
1122
|
+
"type": "string"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"required": [
|
|
1126
|
+
"type",
|
|
1127
|
+
"html"
|
|
1128
|
+
]
|
|
1129
|
+
}
|
|
1130
|
+
]
|
|
1131
|
+
}
|
|
1132
|
+
]
|
|
1133
|
+
},
|
|
1118
1134
|
"Comment": {
|
|
1119
1135
|
"allOf": [
|
|
1120
1136
|
{
|
|
@@ -1379,15 +1395,27 @@
|
|
|
1379
1395
|
"document": {
|
|
1380
1396
|
"type": "object",
|
|
1381
1397
|
"properties": {
|
|
1398
|
+
"object": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"enum": [
|
|
1401
|
+
"document"
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
"data": {
|
|
1405
|
+
"type": "object",
|
|
1406
|
+
"properties": {},
|
|
1407
|
+
"additionalProperties": false
|
|
1408
|
+
},
|
|
1382
1409
|
"nodes": {
|
|
1383
1410
|
"type": "array",
|
|
1384
1411
|
"items": {
|
|
1385
|
-
"
|
|
1386
|
-
"properties": {}
|
|
1412
|
+
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
1387
1413
|
}
|
|
1388
1414
|
}
|
|
1389
1415
|
},
|
|
1390
1416
|
"required": [
|
|
1417
|
+
"object",
|
|
1418
|
+
"data",
|
|
1391
1419
|
"nodes"
|
|
1392
1420
|
]
|
|
1393
1421
|
}
|
|
@@ -1396,195 +1424,2586 @@
|
|
|
1396
1424
|
"document"
|
|
1397
1425
|
]
|
|
1398
1426
|
},
|
|
1399
|
-
"
|
|
1400
|
-
"
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
"type": "string",
|
|
1404
|
-
"description": "Type of Object, always equals to \"space\"",
|
|
1405
|
-
"enum": [
|
|
1406
|
-
"space"
|
|
1407
|
-
]
|
|
1427
|
+
"DocumentBlocksEssentials": {
|
|
1428
|
+
"oneOf": [
|
|
1429
|
+
{
|
|
1430
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
1408
1431
|
},
|
|
1409
|
-
|
|
1410
|
-
"
|
|
1411
|
-
"description": "Unique identifier for the space"
|
|
1432
|
+
{
|
|
1433
|
+
"$ref": "#/components/schemas/DocumentBlockHeading"
|
|
1412
1434
|
},
|
|
1413
|
-
|
|
1414
|
-
"$ref": "#/components/schemas/
|
|
1435
|
+
{
|
|
1436
|
+
"$ref": "#/components/schemas/DocumentBlockListOrdered"
|
|
1415
1437
|
},
|
|
1416
|
-
|
|
1417
|
-
"
|
|
1418
|
-
"description": "Title of the space",
|
|
1419
|
-
"minLength": 0,
|
|
1420
|
-
"maxLength": 100
|
|
1438
|
+
{
|
|
1439
|
+
"$ref": "#/components/schemas/DocumentBlockListUnordered"
|
|
1421
1440
|
},
|
|
1422
|
-
|
|
1423
|
-
"$ref": "#/components/schemas/
|
|
1441
|
+
{
|
|
1442
|
+
"$ref": "#/components/schemas/DocumentBlockListTasks"
|
|
1424
1443
|
},
|
|
1425
|
-
|
|
1426
|
-
"$ref": "#/components/schemas/
|
|
1444
|
+
{
|
|
1445
|
+
"$ref": "#/components/schemas/DocumentBlockDivider"
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
"DocumentBlocksTopLevels": {
|
|
1450
|
+
"oneOf": [
|
|
1451
|
+
{
|
|
1452
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
1427
1453
|
},
|
|
1428
|
-
|
|
1429
|
-
"$ref": "#/components/schemas/
|
|
1454
|
+
{
|
|
1455
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
1430
1456
|
},
|
|
1431
|
-
|
|
1432
|
-
"$ref": "#/components/schemas/
|
|
1457
|
+
{
|
|
1458
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
1433
1459
|
},
|
|
1434
|
-
|
|
1435
|
-
"
|
|
1436
|
-
"description": "URLs associated with the object",
|
|
1437
|
-
"properties": {
|
|
1438
|
-
"location": {
|
|
1439
|
-
"type": "string",
|
|
1440
|
-
"description": "URL of the space in the API",
|
|
1441
|
-
"format": "uri"
|
|
1442
|
-
},
|
|
1443
|
-
"app": {
|
|
1444
|
-
"type": "string",
|
|
1445
|
-
"description": "URL of the space in the application",
|
|
1446
|
-
"format": "uri"
|
|
1447
|
-
},
|
|
1448
|
-
"published": {
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"description": "URL of the published version of the space. Only defined when visibility is not \"private.\"",
|
|
1451
|
-
"format": "uri"
|
|
1452
|
-
},
|
|
1453
|
-
"public": {
|
|
1454
|
-
"type": "string",
|
|
1455
|
-
"description": "URL of the public version of the space. Only defined when visibility is \"public\".",
|
|
1456
|
-
"format": "uri"
|
|
1457
|
-
}
|
|
1458
|
-
},
|
|
1459
|
-
"required": [
|
|
1460
|
-
"app",
|
|
1461
|
-
"location"
|
|
1462
|
-
]
|
|
1460
|
+
{
|
|
1461
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
1463
1462
|
},
|
|
1464
|
-
|
|
1465
|
-
"
|
|
1466
|
-
"description": "ID of the organization owning this space"
|
|
1463
|
+
{
|
|
1464
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
1467
1465
|
},
|
|
1468
|
-
|
|
1466
|
+
{
|
|
1467
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"$ref": "#/components/schemas/DocumentBlockSwagger"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
1495
|
+
}
|
|
1496
|
+
]
|
|
1497
|
+
},
|
|
1498
|
+
"DocumentNodeText": {
|
|
1499
|
+
"type": "object",
|
|
1500
|
+
"properties": {
|
|
1501
|
+
"object": {
|
|
1469
1502
|
"type": "string",
|
|
1470
|
-
"
|
|
1503
|
+
"enum": [
|
|
1504
|
+
"text"
|
|
1505
|
+
]
|
|
1506
|
+
},
|
|
1507
|
+
"key": {
|
|
1508
|
+
"type": "string"
|
|
1509
|
+
},
|
|
1510
|
+
"leaves": {
|
|
1511
|
+
"type": "array",
|
|
1512
|
+
"items": {
|
|
1513
|
+
"$ref": "#/components/schemas/DocumentTextLeaf"
|
|
1514
|
+
}
|
|
1471
1515
|
}
|
|
1472
1516
|
},
|
|
1473
1517
|
"required": [
|
|
1474
1518
|
"object",
|
|
1475
|
-
"
|
|
1476
|
-
"type",
|
|
1477
|
-
"title",
|
|
1478
|
-
"organization",
|
|
1479
|
-
"visibility",
|
|
1480
|
-
"createdAt",
|
|
1481
|
-
"updatedAt",
|
|
1482
|
-
"urls"
|
|
1483
|
-
]
|
|
1484
|
-
},
|
|
1485
|
-
"SpaceType": {
|
|
1486
|
-
"type": "string",
|
|
1487
|
-
"description": "- `application`: A fully-packaged application, like a mobile application, desktop application, or a CLI-type tool.\n- `website`: A single web page or a collection of related web pages under a single domain.\n- `service`: An independently-deployable software unit that is usually is operated by a person or a team.\n- `library`: A reusable collection of objects, functions, and methods. A library is typically used by other spaces.\n- `cloud-resource`: An entity or service provided by a cloud vendor, with consumer-managed configuration and monitoring.\n- `database`: A databse entity, persisting data. A database is typically used by services or applications.\n- `other`: A space that doesn’t match the service, library, or application type.\n",
|
|
1488
|
-
"enum": [
|
|
1489
|
-
"application",
|
|
1490
|
-
"website",
|
|
1491
|
-
"service",
|
|
1492
|
-
"library",
|
|
1493
|
-
"cloud-resource",
|
|
1494
|
-
"database",
|
|
1495
|
-
"other"
|
|
1496
|
-
]
|
|
1497
|
-
},
|
|
1498
|
-
"SpaceRelationType": {
|
|
1499
|
-
"type": "string",
|
|
1500
|
-
"enum": [
|
|
1501
|
-
"dependsOn",
|
|
1502
|
-
"dependencyOf",
|
|
1503
|
-
"partOf",
|
|
1504
|
-
"hasPart"
|
|
1519
|
+
"leaves"
|
|
1505
1520
|
]
|
|
1506
1521
|
},
|
|
1507
|
-
"
|
|
1522
|
+
"DocumentNodeFragment": {
|
|
1508
1523
|
"type": "object",
|
|
1509
|
-
"description": "Edge of a space relation (target or source)",
|
|
1510
1524
|
"properties": {
|
|
1511
|
-
"
|
|
1525
|
+
"object": {
|
|
1512
1526
|
"type": "string",
|
|
1513
|
-
"
|
|
1527
|
+
"enum": [
|
|
1528
|
+
"fragment"
|
|
1529
|
+
]
|
|
1530
|
+
},
|
|
1531
|
+
"key": {
|
|
1532
|
+
"type": "string"
|
|
1533
|
+
},
|
|
1534
|
+
"fragment": {
|
|
1535
|
+
"type": "string"
|
|
1536
|
+
},
|
|
1537
|
+
"type": {
|
|
1538
|
+
"type": "string"
|
|
1539
|
+
},
|
|
1540
|
+
"nodes": {
|
|
1541
|
+
"type": "array",
|
|
1542
|
+
"items": {
|
|
1543
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
1544
|
+
}
|
|
1514
1545
|
}
|
|
1515
1546
|
},
|
|
1516
1547
|
"required": [
|
|
1517
|
-
"
|
|
1548
|
+
"object",
|
|
1549
|
+
"nodes"
|
|
1518
1550
|
]
|
|
1519
1551
|
},
|
|
1520
|
-
"
|
|
1552
|
+
"DocumentTextLeaf": {
|
|
1521
1553
|
"type": "object",
|
|
1522
|
-
"description": "Relation between an origin space and another space",
|
|
1523
1554
|
"properties": {
|
|
1524
|
-
"
|
|
1555
|
+
"object": {
|
|
1556
|
+
"type": "string",
|
|
1557
|
+
"enum": [
|
|
1558
|
+
"leaf"
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
"text": {
|
|
1525
1562
|
"type": "string"
|
|
1526
1563
|
},
|
|
1564
|
+
"marks": {
|
|
1565
|
+
"type": "array",
|
|
1566
|
+
"items": {
|
|
1567
|
+
"$ref": "#/components/schemas/DocumentTextMark"
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"required": [
|
|
1572
|
+
"object",
|
|
1573
|
+
"text",
|
|
1574
|
+
"marks"
|
|
1575
|
+
]
|
|
1576
|
+
},
|
|
1577
|
+
"DocumentTextMark": {
|
|
1578
|
+
"allOf": [
|
|
1579
|
+
{
|
|
1580
|
+
"type": "object",
|
|
1581
|
+
"properties": {
|
|
1582
|
+
"object": {
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"enum": [
|
|
1585
|
+
"mark"
|
|
1586
|
+
]
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"required": [
|
|
1590
|
+
"object"
|
|
1591
|
+
]
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"oneOf": [
|
|
1595
|
+
{
|
|
1596
|
+
"type": "object",
|
|
1597
|
+
"properties": {
|
|
1598
|
+
"type": {
|
|
1599
|
+
"type": "string",
|
|
1600
|
+
"enum": [
|
|
1601
|
+
"bold"
|
|
1602
|
+
]
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
"required": [
|
|
1606
|
+
"type"
|
|
1607
|
+
]
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"type": "object",
|
|
1611
|
+
"properties": {
|
|
1612
|
+
"type": {
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"enum": [
|
|
1615
|
+
"italic"
|
|
1616
|
+
]
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"required": [
|
|
1620
|
+
"type"
|
|
1621
|
+
]
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"type": "object",
|
|
1625
|
+
"properties": {
|
|
1626
|
+
"type": {
|
|
1627
|
+
"type": "string",
|
|
1628
|
+
"enum": [
|
|
1629
|
+
"code"
|
|
1630
|
+
]
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
"required": [
|
|
1634
|
+
"type"
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"type": "object",
|
|
1639
|
+
"properties": {
|
|
1640
|
+
"type": {
|
|
1641
|
+
"type": "string",
|
|
1642
|
+
"enum": [
|
|
1643
|
+
"strikethrough"
|
|
1644
|
+
]
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
"required": [
|
|
1648
|
+
"type"
|
|
1649
|
+
]
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"type": "object",
|
|
1653
|
+
"properties": {
|
|
1654
|
+
"type": {
|
|
1655
|
+
"type": "string",
|
|
1656
|
+
"enum": [
|
|
1657
|
+
"color"
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
"data": {
|
|
1661
|
+
"type": "object",
|
|
1662
|
+
"properties": {
|
|
1663
|
+
"text": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"enum": [
|
|
1666
|
+
"default",
|
|
1667
|
+
"green",
|
|
1668
|
+
"blue",
|
|
1669
|
+
"red",
|
|
1670
|
+
"orange",
|
|
1671
|
+
"yellow",
|
|
1672
|
+
"purple"
|
|
1673
|
+
]
|
|
1674
|
+
},
|
|
1675
|
+
"background": {
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"enum": [
|
|
1678
|
+
"default",
|
|
1679
|
+
"green",
|
|
1680
|
+
"blue",
|
|
1681
|
+
"red",
|
|
1682
|
+
"orange",
|
|
1683
|
+
"yellow",
|
|
1684
|
+
"purple"
|
|
1685
|
+
]
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"required": [
|
|
1689
|
+
"text",
|
|
1690
|
+
"background"
|
|
1691
|
+
]
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"required": [
|
|
1695
|
+
"type",
|
|
1696
|
+
"data"
|
|
1697
|
+
]
|
|
1698
|
+
}
|
|
1699
|
+
]
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1703
|
+
"DocumentInlineLink": {
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"properties": {
|
|
1706
|
+
"object": {
|
|
1707
|
+
"type": "string",
|
|
1708
|
+
"enum": [
|
|
1709
|
+
"inline"
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
"type": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"enum": [
|
|
1715
|
+
"link"
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
"key": {
|
|
1719
|
+
"type": "string"
|
|
1720
|
+
},
|
|
1721
|
+
"nodes": {
|
|
1722
|
+
"type": "array",
|
|
1723
|
+
"items": {
|
|
1724
|
+
"oneOf": [
|
|
1725
|
+
{
|
|
1726
|
+
"$ref": "#/components/schemas/DocumentNodeText"
|
|
1727
|
+
}
|
|
1728
|
+
]
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
"data": {
|
|
1732
|
+
"type": "object",
|
|
1733
|
+
"properties": {
|
|
1734
|
+
"ref": {
|
|
1735
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
"required": [
|
|
1739
|
+
"ref"
|
|
1740
|
+
]
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"required": [
|
|
1744
|
+
"object",
|
|
1745
|
+
"type",
|
|
1746
|
+
"nodes",
|
|
1747
|
+
"data"
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
"DocumentInlineMath": {
|
|
1751
|
+
"type": "object",
|
|
1752
|
+
"properties": {
|
|
1753
|
+
"object": {
|
|
1754
|
+
"type": "string",
|
|
1755
|
+
"enum": [
|
|
1756
|
+
"inline"
|
|
1757
|
+
]
|
|
1758
|
+
},
|
|
1759
|
+
"type": {
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"enum": [
|
|
1762
|
+
"inline-math"
|
|
1763
|
+
]
|
|
1764
|
+
},
|
|
1765
|
+
"key": {
|
|
1766
|
+
"type": "string"
|
|
1767
|
+
},
|
|
1768
|
+
"data": {
|
|
1769
|
+
"type": "object",
|
|
1770
|
+
"properties": {
|
|
1771
|
+
"formula": {
|
|
1772
|
+
"type": "string"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
"required": [
|
|
1776
|
+
"formula"
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
"isVoid": {
|
|
1780
|
+
"type": "boolean",
|
|
1781
|
+
"enum": [
|
|
1782
|
+
true
|
|
1783
|
+
]
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
"required": [
|
|
1787
|
+
"object",
|
|
1788
|
+
"type",
|
|
1789
|
+
"data",
|
|
1790
|
+
"isVoid"
|
|
1791
|
+
]
|
|
1792
|
+
},
|
|
1793
|
+
"DocumentInlineEmoji": {
|
|
1794
|
+
"type": "object",
|
|
1795
|
+
"properties": {
|
|
1796
|
+
"object": {
|
|
1797
|
+
"type": "string",
|
|
1798
|
+
"enum": [
|
|
1799
|
+
"inline"
|
|
1800
|
+
]
|
|
1801
|
+
},
|
|
1802
|
+
"type": {
|
|
1803
|
+
"type": "string",
|
|
1804
|
+
"enum": [
|
|
1805
|
+
"emoji"
|
|
1806
|
+
]
|
|
1807
|
+
},
|
|
1808
|
+
"key": {
|
|
1809
|
+
"type": "string"
|
|
1810
|
+
},
|
|
1811
|
+
"data": {
|
|
1812
|
+
"type": "object",
|
|
1813
|
+
"properties": {
|
|
1814
|
+
"code": {
|
|
1815
|
+
"type": "string"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"required": [
|
|
1819
|
+
"code"
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
"isVoid": {
|
|
1823
|
+
"type": "boolean",
|
|
1824
|
+
"enum": [
|
|
1825
|
+
true
|
|
1826
|
+
]
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
"required": [
|
|
1830
|
+
"object",
|
|
1831
|
+
"type",
|
|
1832
|
+
"data",
|
|
1833
|
+
"isVoid"
|
|
1834
|
+
]
|
|
1835
|
+
},
|
|
1836
|
+
"DocumentInlineImage": {
|
|
1837
|
+
"type": "object",
|
|
1838
|
+
"properties": {
|
|
1839
|
+
"object": {
|
|
1840
|
+
"type": "string",
|
|
1841
|
+
"enum": [
|
|
1842
|
+
"inline"
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1845
|
+
"type": {
|
|
1846
|
+
"type": "string",
|
|
1847
|
+
"enum": [
|
|
1848
|
+
"inline-image"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
"key": {
|
|
1852
|
+
"type": "string"
|
|
1853
|
+
},
|
|
1854
|
+
"data": {
|
|
1855
|
+
"type": "object",
|
|
1856
|
+
"properties": {
|
|
1857
|
+
"ref": {
|
|
1858
|
+
"oneOf": [
|
|
1859
|
+
{
|
|
1860
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
1864
|
+
}
|
|
1865
|
+
]
|
|
1866
|
+
},
|
|
1867
|
+
"refDark": {
|
|
1868
|
+
"oneOf": [
|
|
1869
|
+
{
|
|
1870
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
1874
|
+
}
|
|
1875
|
+
]
|
|
1876
|
+
},
|
|
1877
|
+
"caption": {
|
|
1878
|
+
"type": "string"
|
|
1879
|
+
},
|
|
1880
|
+
"size": {
|
|
1881
|
+
"type": "string",
|
|
1882
|
+
"enum": [
|
|
1883
|
+
"original",
|
|
1884
|
+
"line"
|
|
1885
|
+
]
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
"required": [
|
|
1889
|
+
"ref"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
"isVoid": {
|
|
1893
|
+
"type": "boolean",
|
|
1894
|
+
"enum": [
|
|
1895
|
+
true
|
|
1896
|
+
]
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
"required": [
|
|
1900
|
+
"object",
|
|
1901
|
+
"type",
|
|
1902
|
+
"data",
|
|
1903
|
+
"isVoid"
|
|
1904
|
+
]
|
|
1905
|
+
},
|
|
1906
|
+
"DocumentInlineMention": {
|
|
1907
|
+
"type": "object",
|
|
1908
|
+
"properties": {
|
|
1909
|
+
"object": {
|
|
1910
|
+
"type": "string",
|
|
1911
|
+
"enum": [
|
|
1912
|
+
"inline"
|
|
1913
|
+
]
|
|
1914
|
+
},
|
|
1915
|
+
"type": {
|
|
1916
|
+
"type": "string",
|
|
1917
|
+
"enum": [
|
|
1918
|
+
"mention"
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
|
+
"key": {
|
|
1922
|
+
"type": "string"
|
|
1923
|
+
},
|
|
1924
|
+
"data": {
|
|
1925
|
+
"type": "object",
|
|
1926
|
+
"properties": {
|
|
1927
|
+
"ref": {
|
|
1928
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
1929
|
+
}
|
|
1930
|
+
},
|
|
1931
|
+
"required": [
|
|
1932
|
+
"ref"
|
|
1933
|
+
]
|
|
1934
|
+
},
|
|
1935
|
+
"isVoid": {
|
|
1936
|
+
"type": "boolean",
|
|
1937
|
+
"enum": [
|
|
1938
|
+
true
|
|
1939
|
+
]
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
"required": [
|
|
1943
|
+
"object",
|
|
1944
|
+
"type",
|
|
1945
|
+
"data",
|
|
1946
|
+
"isVoid"
|
|
1947
|
+
]
|
|
1948
|
+
},
|
|
1949
|
+
"DocumentInlineAnnotation": {
|
|
1950
|
+
"type": "object",
|
|
1951
|
+
"properties": {
|
|
1952
|
+
"object": {
|
|
1953
|
+
"type": "string",
|
|
1954
|
+
"enum": [
|
|
1955
|
+
"inline"
|
|
1956
|
+
]
|
|
1957
|
+
},
|
|
1958
|
+
"type": {
|
|
1959
|
+
"type": "string",
|
|
1960
|
+
"enum": [
|
|
1961
|
+
"annotation"
|
|
1962
|
+
]
|
|
1963
|
+
},
|
|
1964
|
+
"key": {
|
|
1965
|
+
"type": "string"
|
|
1966
|
+
},
|
|
1967
|
+
"fragments": {
|
|
1968
|
+
"type": "array",
|
|
1969
|
+
"items": {
|
|
1970
|
+
"allOf": [
|
|
1971
|
+
{
|
|
1972
|
+
"$ref": "#/components/schemas/DocumentNodeFragment"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"properties": {
|
|
1977
|
+
"type": {
|
|
1978
|
+
"type": "string",
|
|
1979
|
+
"enum": [
|
|
1980
|
+
"annotation-body"
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1983
|
+
"nodes": {
|
|
1984
|
+
"type": "array",
|
|
1985
|
+
"items": {
|
|
1986
|
+
"oneOf": [
|
|
1987
|
+
{
|
|
1988
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
1992
|
+
}
|
|
1993
|
+
]
|
|
1994
|
+
},
|
|
1995
|
+
"minItems": 1
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
"required": [
|
|
1999
|
+
"nodes",
|
|
2000
|
+
"type"
|
|
2001
|
+
]
|
|
2002
|
+
}
|
|
2003
|
+
]
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
"isVoid": {
|
|
2007
|
+
"type": "boolean",
|
|
2008
|
+
"enum": [
|
|
2009
|
+
true
|
|
2010
|
+
]
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
"required": [
|
|
2014
|
+
"object",
|
|
2015
|
+
"type",
|
|
2016
|
+
"fragments",
|
|
2017
|
+
"isVoid"
|
|
2018
|
+
]
|
|
2019
|
+
},
|
|
2020
|
+
"DocumentInlinesRich": {
|
|
2021
|
+
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
2022
|
+
},
|
|
2023
|
+
"DocumentBlockParagraph": {
|
|
2024
|
+
"type": "object",
|
|
2025
|
+
"properties": {
|
|
2026
|
+
"object": {
|
|
2027
|
+
"type": "string",
|
|
2028
|
+
"enum": [
|
|
2029
|
+
"block"
|
|
2030
|
+
]
|
|
2031
|
+
},
|
|
2032
|
+
"type": {
|
|
2033
|
+
"type": "string",
|
|
2034
|
+
"enum": [
|
|
2035
|
+
"paragraph"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
"key": {
|
|
2039
|
+
"type": "string"
|
|
2040
|
+
},
|
|
2041
|
+
"nodes": {
|
|
2042
|
+
"type": "array",
|
|
2043
|
+
"items": {
|
|
2044
|
+
"$ref": "#/components/schemas/DocumentBlockHeading/properties/nodes/items"
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
"required": [
|
|
2049
|
+
"object",
|
|
2050
|
+
"type",
|
|
2051
|
+
"nodes"
|
|
2052
|
+
]
|
|
2053
|
+
},
|
|
2054
|
+
"DocumentBlockHeading": {
|
|
2055
|
+
"type": "object",
|
|
2056
|
+
"properties": {
|
|
2057
|
+
"object": {
|
|
2058
|
+
"type": "string",
|
|
2059
|
+
"enum": [
|
|
2060
|
+
"block"
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
"type": {
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"enum": [
|
|
2066
|
+
"heading-1",
|
|
2067
|
+
"heading-2",
|
|
2068
|
+
"heading-3"
|
|
2069
|
+
]
|
|
2070
|
+
},
|
|
2071
|
+
"key": {
|
|
2072
|
+
"type": "string"
|
|
2073
|
+
},
|
|
2074
|
+
"nodes": {
|
|
2075
|
+
"type": "array",
|
|
2076
|
+
"items": {
|
|
2077
|
+
"oneOf": [
|
|
2078
|
+
{
|
|
2079
|
+
"$ref": "#/components/schemas/DocumentNodeText"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"$ref": "#/components/schemas/DocumentInlineLink"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"$ref": "#/components/schemas/DocumentInlineEmoji"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"$ref": "#/components/schemas/DocumentInlineMath"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"$ref": "#/components/schemas/DocumentInlineMention"
|
|
2098
|
+
}
|
|
2099
|
+
]
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
"data": {
|
|
2103
|
+
"type": "object",
|
|
2104
|
+
"properties": {
|
|
2105
|
+
"id": {
|
|
2106
|
+
"type": "string",
|
|
2107
|
+
"pattern": "^[-a-z0-9.+_]+$"
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
},
|
|
2111
|
+
"meta": {
|
|
2112
|
+
"type": "object",
|
|
2113
|
+
"properties": {
|
|
2114
|
+
"id": {
|
|
2115
|
+
"description": "Unique ID to be used in an URL for the block.",
|
|
2116
|
+
"type": "string"
|
|
2117
|
+
}
|
|
2118
|
+
},
|
|
2119
|
+
"required": [
|
|
2120
|
+
"id"
|
|
2121
|
+
]
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
"required": [
|
|
2125
|
+
"object",
|
|
2126
|
+
"type",
|
|
2127
|
+
"nodes",
|
|
2128
|
+
"data"
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
|
+
"DocumentBlockQuote": {
|
|
2132
|
+
"type": "object",
|
|
2133
|
+
"properties": {
|
|
2134
|
+
"object": {
|
|
2135
|
+
"type": "string",
|
|
2136
|
+
"enum": [
|
|
2137
|
+
"block"
|
|
2138
|
+
]
|
|
2139
|
+
},
|
|
2140
|
+
"type": {
|
|
2141
|
+
"type": "string",
|
|
2142
|
+
"enum": [
|
|
2143
|
+
"quote"
|
|
2144
|
+
]
|
|
2145
|
+
},
|
|
2146
|
+
"key": {
|
|
2147
|
+
"type": "string"
|
|
2148
|
+
},
|
|
2149
|
+
"nodes": {
|
|
2150
|
+
"type": "array",
|
|
2151
|
+
"items": {
|
|
2152
|
+
"oneOf": [
|
|
2153
|
+
{
|
|
2154
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
2158
|
+
}
|
|
2159
|
+
]
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
},
|
|
2163
|
+
"required": [
|
|
2164
|
+
"object",
|
|
2165
|
+
"type",
|
|
2166
|
+
"nodes"
|
|
2167
|
+
]
|
|
2168
|
+
},
|
|
2169
|
+
"DocumentBlockHint": {
|
|
2170
|
+
"type": "object",
|
|
2171
|
+
"properties": {
|
|
2172
|
+
"object": {
|
|
2173
|
+
"type": "string",
|
|
2174
|
+
"enum": [
|
|
2175
|
+
"block"
|
|
2176
|
+
]
|
|
2177
|
+
},
|
|
2178
|
+
"type": {
|
|
2179
|
+
"type": "string",
|
|
2180
|
+
"enum": [
|
|
2181
|
+
"hint"
|
|
2182
|
+
]
|
|
2183
|
+
},
|
|
2184
|
+
"key": {
|
|
2185
|
+
"type": "string"
|
|
2186
|
+
},
|
|
2187
|
+
"data": {
|
|
2188
|
+
"type": "object",
|
|
2189
|
+
"properties": {
|
|
2190
|
+
"style": {
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"enum": [
|
|
2193
|
+
"info",
|
|
2194
|
+
"warning",
|
|
2195
|
+
"danger",
|
|
2196
|
+
"success"
|
|
2197
|
+
]
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
"required": [
|
|
2201
|
+
"style"
|
|
2202
|
+
]
|
|
2203
|
+
},
|
|
2204
|
+
"nodes": {
|
|
2205
|
+
"type": "array",
|
|
2206
|
+
"items": {
|
|
2207
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
"required": [
|
|
2212
|
+
"object",
|
|
2213
|
+
"type",
|
|
2214
|
+
"data",
|
|
2215
|
+
"nodes"
|
|
2216
|
+
]
|
|
2217
|
+
},
|
|
2218
|
+
"DocumentBlockListUnordered": {
|
|
2219
|
+
"type": "object",
|
|
2220
|
+
"properties": {
|
|
2221
|
+
"object": {
|
|
2222
|
+
"type": "string",
|
|
2223
|
+
"enum": [
|
|
2224
|
+
"block"
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
"type": {
|
|
2228
|
+
"type": "string",
|
|
2229
|
+
"enum": [
|
|
2230
|
+
"list-unordered"
|
|
2231
|
+
]
|
|
2232
|
+
},
|
|
2233
|
+
"key": {
|
|
2234
|
+
"type": "string"
|
|
2235
|
+
},
|
|
2236
|
+
"nodes": {
|
|
2237
|
+
"type": "array",
|
|
2238
|
+
"items": {
|
|
2239
|
+
"oneOf": [
|
|
2240
|
+
{
|
|
2241
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
2242
|
+
}
|
|
2243
|
+
]
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
"required": [
|
|
2248
|
+
"object",
|
|
2249
|
+
"type",
|
|
2250
|
+
"nodes"
|
|
2251
|
+
]
|
|
2252
|
+
},
|
|
2253
|
+
"DocumentBlockListOrdered": {
|
|
2254
|
+
"type": "object",
|
|
2255
|
+
"properties": {
|
|
2256
|
+
"object": {
|
|
2257
|
+
"type": "string",
|
|
2258
|
+
"enum": [
|
|
2259
|
+
"block"
|
|
2260
|
+
]
|
|
2261
|
+
},
|
|
2262
|
+
"type": {
|
|
2263
|
+
"type": "string",
|
|
2264
|
+
"enum": [
|
|
2265
|
+
"list-ordered"
|
|
2266
|
+
]
|
|
2267
|
+
},
|
|
2268
|
+
"key": {
|
|
2269
|
+
"type": "string"
|
|
2270
|
+
},
|
|
2271
|
+
"data": {
|
|
2272
|
+
"type": "object",
|
|
2273
|
+
"properties": {
|
|
2274
|
+
"start": {
|
|
2275
|
+
"type": "number",
|
|
2276
|
+
"description": "An integer to start counting from for the list items."
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"nodes": {
|
|
2281
|
+
"type": "array",
|
|
2282
|
+
"items": {
|
|
2283
|
+
"oneOf": [
|
|
2284
|
+
{
|
|
2285
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
2286
|
+
}
|
|
2287
|
+
]
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"required": [
|
|
2292
|
+
"object",
|
|
2293
|
+
"type",
|
|
2294
|
+
"data",
|
|
2295
|
+
"nodes"
|
|
2296
|
+
]
|
|
2297
|
+
},
|
|
2298
|
+
"DocumentBlockListTasks": {
|
|
2299
|
+
"type": "object",
|
|
2300
|
+
"properties": {
|
|
2301
|
+
"object": {
|
|
2302
|
+
"type": "string",
|
|
2303
|
+
"enum": [
|
|
2304
|
+
"block"
|
|
2305
|
+
]
|
|
2306
|
+
},
|
|
2307
|
+
"type": {
|
|
2308
|
+
"type": "string",
|
|
2309
|
+
"enum": [
|
|
2310
|
+
"list-tasks"
|
|
2311
|
+
]
|
|
2312
|
+
},
|
|
2313
|
+
"key": {
|
|
2314
|
+
"type": "string"
|
|
2315
|
+
},
|
|
2316
|
+
"nodes": {
|
|
2317
|
+
"type": "array",
|
|
2318
|
+
"items": {
|
|
2319
|
+
"oneOf": [
|
|
2320
|
+
{
|
|
2321
|
+
"$ref": "#/components/schemas/DocumentBlockTaskListItem"
|
|
2322
|
+
}
|
|
2323
|
+
]
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
},
|
|
2327
|
+
"required": [
|
|
2328
|
+
"object",
|
|
2329
|
+
"type",
|
|
2330
|
+
"nodes"
|
|
2331
|
+
]
|
|
2332
|
+
},
|
|
2333
|
+
"DocumentBlockListItem": {
|
|
2334
|
+
"type": "object",
|
|
2335
|
+
"properties": {
|
|
2336
|
+
"object": {
|
|
2337
|
+
"type": "string",
|
|
2338
|
+
"enum": [
|
|
2339
|
+
"block"
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2342
|
+
"type": {
|
|
2343
|
+
"type": "string",
|
|
2344
|
+
"enum": [
|
|
2345
|
+
"list-item"
|
|
2346
|
+
]
|
|
2347
|
+
},
|
|
2348
|
+
"key": {
|
|
2349
|
+
"type": "string"
|
|
2350
|
+
},
|
|
2351
|
+
"nodes": {
|
|
2352
|
+
"type": "array",
|
|
2353
|
+
"items": {
|
|
2354
|
+
"oneOf": [
|
|
2355
|
+
{
|
|
2356
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
2357
|
+
}
|
|
2358
|
+
]
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
"required": [
|
|
2363
|
+
"object",
|
|
2364
|
+
"type",
|
|
2365
|
+
"nodes"
|
|
2366
|
+
]
|
|
2367
|
+
},
|
|
2368
|
+
"DocumentBlockTaskListItem": {
|
|
2369
|
+
"allOf": [
|
|
2370
|
+
{
|
|
2371
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"type": "object",
|
|
2375
|
+
"properties": {
|
|
2376
|
+
"data": {
|
|
2377
|
+
"type": "object",
|
|
2378
|
+
"properties": {
|
|
2379
|
+
"checked": {
|
|
2380
|
+
"type": "boolean"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
"required": [
|
|
2384
|
+
"checked"
|
|
2385
|
+
]
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
"required": [
|
|
2389
|
+
"data"
|
|
2390
|
+
]
|
|
2391
|
+
}
|
|
2392
|
+
]
|
|
2393
|
+
},
|
|
2394
|
+
"DocumentBlockImages": {
|
|
2395
|
+
"type": "object",
|
|
2396
|
+
"properties": {
|
|
2397
|
+
"object": {
|
|
2398
|
+
"type": "string",
|
|
2399
|
+
"enum": [
|
|
2400
|
+
"block"
|
|
2401
|
+
]
|
|
2402
|
+
},
|
|
2403
|
+
"type": {
|
|
2404
|
+
"type": "string",
|
|
2405
|
+
"enum": [
|
|
2406
|
+
"images"
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
"key": {
|
|
2410
|
+
"type": "string"
|
|
2411
|
+
},
|
|
2412
|
+
"data": {
|
|
2413
|
+
"type": "object",
|
|
2414
|
+
"properties": {
|
|
2415
|
+
"align": {
|
|
2416
|
+
"type": "string",
|
|
2417
|
+
"enum": [
|
|
2418
|
+
"center",
|
|
2419
|
+
"left",
|
|
2420
|
+
"right"
|
|
2421
|
+
]
|
|
2422
|
+
},
|
|
2423
|
+
"fullWidth": {
|
|
2424
|
+
"type": "boolean"
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"nodes": {
|
|
2429
|
+
"type": "array",
|
|
2430
|
+
"items": {
|
|
2431
|
+
"$ref": "#/components/schemas/DocumentBlockImage"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"isVoid": {
|
|
2435
|
+
"type": "boolean",
|
|
2436
|
+
"enum": [
|
|
2437
|
+
true
|
|
2438
|
+
]
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
"required": [
|
|
2442
|
+
"object",
|
|
2443
|
+
"type",
|
|
2444
|
+
"data",
|
|
2445
|
+
"nodes",
|
|
2446
|
+
"isVoid"
|
|
2447
|
+
]
|
|
2448
|
+
},
|
|
2449
|
+
"DocumentBlockImage": {
|
|
2450
|
+
"type": "object",
|
|
2451
|
+
"properties": {
|
|
2452
|
+
"object": {
|
|
2453
|
+
"type": "string",
|
|
2454
|
+
"enum": [
|
|
2455
|
+
"block"
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
"type": {
|
|
2459
|
+
"type": "string",
|
|
2460
|
+
"enum": [
|
|
2461
|
+
"image"
|
|
2462
|
+
]
|
|
2463
|
+
},
|
|
2464
|
+
"key": {
|
|
2465
|
+
"type": "string"
|
|
2466
|
+
},
|
|
2467
|
+
"data": {
|
|
2468
|
+
"type": "object",
|
|
2469
|
+
"properties": {
|
|
2470
|
+
"ref": {
|
|
2471
|
+
"oneOf": [
|
|
2472
|
+
{
|
|
2473
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
2477
|
+
}
|
|
2478
|
+
]
|
|
2479
|
+
},
|
|
2480
|
+
"refDark": {
|
|
2481
|
+
"oneOf": [
|
|
2482
|
+
{
|
|
2483
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
2487
|
+
}
|
|
2488
|
+
]
|
|
2489
|
+
},
|
|
2490
|
+
"width": {
|
|
2491
|
+
"oneOf": [
|
|
2492
|
+
{
|
|
2493
|
+
"type": "number"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"type": "object",
|
|
2497
|
+
"properties": {
|
|
2498
|
+
"unit": {
|
|
2499
|
+
"type": "string"
|
|
2500
|
+
},
|
|
2501
|
+
"value": {
|
|
2502
|
+
"type": "number"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
"required": [
|
|
2506
|
+
"unit",
|
|
2507
|
+
"value"
|
|
2508
|
+
]
|
|
2509
|
+
}
|
|
2510
|
+
]
|
|
2511
|
+
},
|
|
2512
|
+
"height": {
|
|
2513
|
+
"$ref": "#/components/schemas/DocumentBlockImage/properties/data/properties/width"
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2516
|
+
"required": [
|
|
2517
|
+
"ref"
|
|
2518
|
+
]
|
|
2519
|
+
},
|
|
2520
|
+
"fragments": {
|
|
2521
|
+
"type": "array",
|
|
2522
|
+
"items": {
|
|
2523
|
+
"allOf": [
|
|
2524
|
+
{
|
|
2525
|
+
"$ref": "#/components/schemas/DocumentNodeFragment"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"type": "object",
|
|
2529
|
+
"properties": {
|
|
2530
|
+
"type": {
|
|
2531
|
+
"type": "string",
|
|
2532
|
+
"enum": [
|
|
2533
|
+
"caption"
|
|
2534
|
+
]
|
|
2535
|
+
},
|
|
2536
|
+
"nodes": {
|
|
2537
|
+
"type": "array",
|
|
2538
|
+
"items": {
|
|
2539
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
"required": [
|
|
2544
|
+
"nodes",
|
|
2545
|
+
"type"
|
|
2546
|
+
]
|
|
2547
|
+
}
|
|
2548
|
+
]
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
"isVoid": {
|
|
2552
|
+
"type": "boolean",
|
|
2553
|
+
"enum": [
|
|
2554
|
+
true
|
|
2555
|
+
]
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
"required": [
|
|
2559
|
+
"object",
|
|
2560
|
+
"type",
|
|
2561
|
+
"data",
|
|
2562
|
+
"fragments",
|
|
2563
|
+
"isVoid"
|
|
2564
|
+
]
|
|
2565
|
+
},
|
|
2566
|
+
"DocumentBlockFile": {
|
|
2567
|
+
"type": "object",
|
|
2568
|
+
"properties": {
|
|
2569
|
+
"object": {
|
|
2570
|
+
"type": "string",
|
|
2571
|
+
"enum": [
|
|
2572
|
+
"block"
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
|
+
"type": {
|
|
2576
|
+
"type": "string",
|
|
2577
|
+
"enum": [
|
|
2578
|
+
"file"
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2581
|
+
"key": {
|
|
2582
|
+
"type": "string"
|
|
2583
|
+
},
|
|
2584
|
+
"data": {
|
|
2585
|
+
"type": "object",
|
|
2586
|
+
"properties": {
|
|
2587
|
+
"ref": {
|
|
2588
|
+
"oneOf": [
|
|
2589
|
+
{
|
|
2590
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
2591
|
+
}
|
|
2592
|
+
]
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
"required": [
|
|
2596
|
+
"ref"
|
|
2597
|
+
]
|
|
2598
|
+
},
|
|
2599
|
+
"isVoid": {
|
|
2600
|
+
"type": "boolean",
|
|
2601
|
+
"enum": [
|
|
2602
|
+
true
|
|
2603
|
+
]
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2606
|
+
"required": [
|
|
2607
|
+
"object",
|
|
2608
|
+
"type",
|
|
2609
|
+
"data",
|
|
2610
|
+
"isVoid"
|
|
2611
|
+
]
|
|
2612
|
+
},
|
|
2613
|
+
"DocumentBlockDrawing": {
|
|
2614
|
+
"type": "object",
|
|
2615
|
+
"properties": {
|
|
2616
|
+
"object": {
|
|
2617
|
+
"type": "string",
|
|
2618
|
+
"enum": [
|
|
2619
|
+
"block"
|
|
2620
|
+
]
|
|
2621
|
+
},
|
|
2622
|
+
"type": {
|
|
2623
|
+
"type": "string",
|
|
2624
|
+
"enum": [
|
|
2625
|
+
"drawing"
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
"key": {
|
|
2629
|
+
"type": "string"
|
|
2630
|
+
},
|
|
2631
|
+
"data": {
|
|
2632
|
+
"type": "object",
|
|
2633
|
+
"properties": {
|
|
2634
|
+
"ref": {
|
|
2635
|
+
"oneOf": [
|
|
2636
|
+
{
|
|
2637
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
2638
|
+
}
|
|
2639
|
+
]
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
"isVoid": {
|
|
2644
|
+
"type": "boolean",
|
|
2645
|
+
"enum": [
|
|
2646
|
+
true
|
|
2647
|
+
]
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
"required": [
|
|
2651
|
+
"object",
|
|
2652
|
+
"type",
|
|
2653
|
+
"data",
|
|
2654
|
+
"isVoid"
|
|
2655
|
+
]
|
|
2656
|
+
},
|
|
2657
|
+
"DocumentBlockEmbed": {
|
|
2658
|
+
"type": "object",
|
|
2659
|
+
"properties": {
|
|
2660
|
+
"object": {
|
|
2661
|
+
"type": "string",
|
|
2662
|
+
"enum": [
|
|
2663
|
+
"block"
|
|
2664
|
+
]
|
|
2665
|
+
},
|
|
2666
|
+
"type": {
|
|
2667
|
+
"type": "string",
|
|
2668
|
+
"enum": [
|
|
2669
|
+
"embed"
|
|
2670
|
+
]
|
|
2671
|
+
},
|
|
2672
|
+
"key": {
|
|
2673
|
+
"type": "string"
|
|
2674
|
+
},
|
|
2675
|
+
"data": {
|
|
2676
|
+
"type": "object",
|
|
2677
|
+
"properties": {
|
|
2678
|
+
"url": {
|
|
2679
|
+
"type": "string"
|
|
2680
|
+
},
|
|
2681
|
+
"fullWidth": {
|
|
2682
|
+
"type": "boolean"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
"required": [
|
|
2686
|
+
"url"
|
|
2687
|
+
]
|
|
2688
|
+
},
|
|
2689
|
+
"isVoid": {
|
|
2690
|
+
"type": "boolean",
|
|
2691
|
+
"enum": [
|
|
2692
|
+
true
|
|
2693
|
+
]
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
"required": [
|
|
2697
|
+
"object",
|
|
2698
|
+
"type",
|
|
2699
|
+
"data",
|
|
2700
|
+
"isVoid"
|
|
2701
|
+
]
|
|
2702
|
+
},
|
|
2703
|
+
"DocumentBlockCode": {
|
|
2704
|
+
"type": "object",
|
|
2705
|
+
"properties": {
|
|
2706
|
+
"object": {
|
|
2707
|
+
"type": "string",
|
|
2708
|
+
"enum": [
|
|
2709
|
+
"block"
|
|
2710
|
+
]
|
|
2711
|
+
},
|
|
2712
|
+
"type": {
|
|
2713
|
+
"type": "string",
|
|
2714
|
+
"enum": [
|
|
2715
|
+
"code"
|
|
2716
|
+
]
|
|
2717
|
+
},
|
|
2718
|
+
"key": {
|
|
2719
|
+
"type": "string"
|
|
2720
|
+
},
|
|
2721
|
+
"data": {
|
|
2722
|
+
"type": "object",
|
|
2723
|
+
"properties": {
|
|
2724
|
+
"syntax": {
|
|
2725
|
+
"type": "string"
|
|
2726
|
+
},
|
|
2727
|
+
"title": {
|
|
2728
|
+
"type": "string"
|
|
2729
|
+
},
|
|
2730
|
+
"overflow": {
|
|
2731
|
+
"type": "string",
|
|
2732
|
+
"default": "scroll",
|
|
2733
|
+
"enum": [
|
|
2734
|
+
"scroll",
|
|
2735
|
+
"wrap"
|
|
2736
|
+
]
|
|
2737
|
+
},
|
|
2738
|
+
"lineNumbers": {
|
|
2739
|
+
"type": "boolean"
|
|
2740
|
+
},
|
|
2741
|
+
"fullWidth": {
|
|
2742
|
+
"type": "boolean"
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
},
|
|
2746
|
+
"nodes": {
|
|
2747
|
+
"type": "array",
|
|
2748
|
+
"items": {
|
|
2749
|
+
"$ref": "#/components/schemas/DocumentBlockCodeLine"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
"required": [
|
|
2754
|
+
"object",
|
|
2755
|
+
"type",
|
|
2756
|
+
"data",
|
|
2757
|
+
"nodes"
|
|
2758
|
+
]
|
|
2759
|
+
},
|
|
2760
|
+
"DocumentBlockCodeLine": {
|
|
2761
|
+
"type": "object",
|
|
2762
|
+
"properties": {
|
|
2763
|
+
"object": {
|
|
2764
|
+
"type": "string",
|
|
2765
|
+
"enum": [
|
|
2766
|
+
"block"
|
|
2767
|
+
]
|
|
2768
|
+
},
|
|
2769
|
+
"type": {
|
|
2770
|
+
"type": "string",
|
|
2771
|
+
"enum": [
|
|
2772
|
+
"code-line"
|
|
2773
|
+
]
|
|
2774
|
+
},
|
|
2775
|
+
"key": {
|
|
2776
|
+
"type": "string"
|
|
2777
|
+
},
|
|
2778
|
+
"nodes": {
|
|
2779
|
+
"type": "array",
|
|
2780
|
+
"items": {
|
|
2781
|
+
"oneOf": [
|
|
2782
|
+
{
|
|
2783
|
+
"$ref": "#/components/schemas/DocumentNodeText"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
2787
|
+
}
|
|
2788
|
+
]
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
"data": {
|
|
2792
|
+
"type": "object",
|
|
2793
|
+
"properties": {
|
|
2794
|
+
"highlighted": {
|
|
2795
|
+
"type": "boolean"
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
},
|
|
2800
|
+
"required": [
|
|
2801
|
+
"object",
|
|
2802
|
+
"type",
|
|
2803
|
+
"nodes",
|
|
2804
|
+
"data"
|
|
2805
|
+
]
|
|
2806
|
+
},
|
|
2807
|
+
"DocumentBlockMath": {
|
|
2808
|
+
"type": "object",
|
|
2809
|
+
"properties": {
|
|
2810
|
+
"object": {
|
|
2811
|
+
"type": "string",
|
|
2812
|
+
"enum": [
|
|
2813
|
+
"block"
|
|
2814
|
+
]
|
|
2815
|
+
},
|
|
2816
|
+
"type": {
|
|
2817
|
+
"type": "string",
|
|
2818
|
+
"enum": [
|
|
2819
|
+
"math"
|
|
2820
|
+
]
|
|
2821
|
+
},
|
|
2822
|
+
"key": {
|
|
2823
|
+
"type": "string"
|
|
2824
|
+
},
|
|
2825
|
+
"data": {
|
|
2826
|
+
"type": "object",
|
|
2827
|
+
"properties": {
|
|
2828
|
+
"formula": {
|
|
2829
|
+
"type": "string"
|
|
2830
|
+
}
|
|
2831
|
+
},
|
|
2832
|
+
"required": [
|
|
2833
|
+
"formula"
|
|
2834
|
+
]
|
|
2835
|
+
},
|
|
2836
|
+
"isVoid": {
|
|
2837
|
+
"type": "boolean",
|
|
2838
|
+
"enum": [
|
|
2839
|
+
true
|
|
2840
|
+
]
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
"required": [
|
|
2844
|
+
"object",
|
|
2845
|
+
"type",
|
|
2846
|
+
"data",
|
|
2847
|
+
"isVoid"
|
|
2848
|
+
]
|
|
2849
|
+
},
|
|
2850
|
+
"DocumentBlockExpandable": {
|
|
2851
|
+
"type": "object",
|
|
2852
|
+
"properties": {
|
|
2853
|
+
"object": {
|
|
2854
|
+
"type": "string",
|
|
2855
|
+
"enum": [
|
|
2856
|
+
"block"
|
|
2857
|
+
]
|
|
2858
|
+
},
|
|
2859
|
+
"type": {
|
|
2860
|
+
"type": "string",
|
|
2861
|
+
"enum": [
|
|
2862
|
+
"expandable"
|
|
2863
|
+
]
|
|
2864
|
+
},
|
|
2865
|
+
"key": {
|
|
2866
|
+
"type": "string"
|
|
2867
|
+
},
|
|
2868
|
+
"isVoid": {
|
|
2869
|
+
"type": "boolean",
|
|
2870
|
+
"enum": [
|
|
2871
|
+
true
|
|
2872
|
+
]
|
|
2873
|
+
},
|
|
2874
|
+
"fragments": {
|
|
2875
|
+
"type": "array",
|
|
2876
|
+
"items": {
|
|
2877
|
+
"oneOf": [
|
|
2878
|
+
{
|
|
2879
|
+
"allOf": [
|
|
2880
|
+
{
|
|
2881
|
+
"$ref": "#/components/schemas/DocumentNodeFragment"
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"type": "object",
|
|
2885
|
+
"properties": {
|
|
2886
|
+
"fragment": {
|
|
2887
|
+
"type": "string",
|
|
2888
|
+
"enum": [
|
|
2889
|
+
"expandable-title"
|
|
2890
|
+
]
|
|
2891
|
+
},
|
|
2892
|
+
"type": {
|
|
2893
|
+
"type": "string",
|
|
2894
|
+
"enum": [
|
|
2895
|
+
"expandable-title"
|
|
2896
|
+
]
|
|
2897
|
+
},
|
|
2898
|
+
"nodes": {
|
|
2899
|
+
"type": "array",
|
|
2900
|
+
"items": {
|
|
2901
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
2902
|
+
},
|
|
2903
|
+
"minItems": 1,
|
|
2904
|
+
"maxItems": 1
|
|
2905
|
+
}
|
|
2906
|
+
},
|
|
2907
|
+
"required": [
|
|
2908
|
+
"nodes",
|
|
2909
|
+
"fragment",
|
|
2910
|
+
"type"
|
|
2911
|
+
]
|
|
2912
|
+
}
|
|
2913
|
+
]
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"allOf": [
|
|
2917
|
+
{
|
|
2918
|
+
"$ref": "#/components/schemas/DocumentNodeFragment"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"type": "object",
|
|
2922
|
+
"properties": {
|
|
2923
|
+
"fragment": {
|
|
2924
|
+
"type": "string",
|
|
2925
|
+
"enum": [
|
|
2926
|
+
"expandable-body"
|
|
2927
|
+
]
|
|
2928
|
+
},
|
|
2929
|
+
"type": {
|
|
2930
|
+
"type": "string",
|
|
2931
|
+
"enum": [
|
|
2932
|
+
"expandable-body"
|
|
2933
|
+
]
|
|
2934
|
+
},
|
|
2935
|
+
"nodes": {
|
|
2936
|
+
"type": "array",
|
|
2937
|
+
"items": {
|
|
2938
|
+
"oneOf": [
|
|
2939
|
+
{
|
|
2940
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
2944
|
+
}
|
|
2945
|
+
]
|
|
2946
|
+
},
|
|
2947
|
+
"minItems": 1
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
"required": [
|
|
2951
|
+
"nodes",
|
|
2952
|
+
"fragment",
|
|
2953
|
+
"type"
|
|
2954
|
+
]
|
|
2955
|
+
}
|
|
2956
|
+
]
|
|
2957
|
+
}
|
|
2958
|
+
]
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
"meta": {
|
|
2962
|
+
"type": "object",
|
|
2963
|
+
"properties": {
|
|
2964
|
+
"id": {
|
|
2965
|
+
"description": "Unique ID to be used in an URL for the block.",
|
|
2966
|
+
"type": "string"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
"required": [
|
|
2970
|
+
"id"
|
|
2971
|
+
]
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
"required": [
|
|
2975
|
+
"object",
|
|
2976
|
+
"type",
|
|
2977
|
+
"isVoid",
|
|
2978
|
+
"fragments"
|
|
2979
|
+
]
|
|
2980
|
+
},
|
|
2981
|
+
"DocumentBlockTabs": {
|
|
2982
|
+
"type": "object",
|
|
2983
|
+
"properties": {
|
|
2984
|
+
"object": {
|
|
2985
|
+
"type": "string",
|
|
2986
|
+
"enum": [
|
|
2987
|
+
"block"
|
|
2988
|
+
]
|
|
2989
|
+
},
|
|
2990
|
+
"type": {
|
|
2991
|
+
"type": "string",
|
|
2992
|
+
"enum": [
|
|
2993
|
+
"tabs"
|
|
2994
|
+
]
|
|
2995
|
+
},
|
|
2996
|
+
"key": {
|
|
2997
|
+
"type": "string"
|
|
2998
|
+
},
|
|
2999
|
+
"nodes": {
|
|
3000
|
+
"type": "array",
|
|
3001
|
+
"items": {
|
|
3002
|
+
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
"required": [
|
|
3007
|
+
"object",
|
|
3008
|
+
"type",
|
|
3009
|
+
"nodes"
|
|
3010
|
+
]
|
|
3011
|
+
},
|
|
3012
|
+
"DocumentBlockSwagger": {
|
|
3013
|
+
"type": "object",
|
|
3014
|
+
"properties": {
|
|
3015
|
+
"object": {
|
|
3016
|
+
"type": "string",
|
|
3017
|
+
"enum": [
|
|
3018
|
+
"block"
|
|
3019
|
+
]
|
|
3020
|
+
},
|
|
3021
|
+
"type": {
|
|
3022
|
+
"type": "string",
|
|
3023
|
+
"enum": [
|
|
3024
|
+
"swagger"
|
|
3025
|
+
]
|
|
3026
|
+
},
|
|
3027
|
+
"key": {
|
|
3028
|
+
"type": "string"
|
|
3029
|
+
},
|
|
3030
|
+
"data": {
|
|
3031
|
+
"type": "object",
|
|
3032
|
+
"properties": {
|
|
3033
|
+
"ref": {
|
|
3034
|
+
"oneOf": [
|
|
3035
|
+
{
|
|
3036
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
3037
|
+
}
|
|
3038
|
+
]
|
|
3039
|
+
},
|
|
3040
|
+
"path": {
|
|
3041
|
+
"type": "string",
|
|
3042
|
+
"description": "Path of the operation in the OpenAPI spec."
|
|
3043
|
+
},
|
|
3044
|
+
"method": {
|
|
3045
|
+
"type": "string",
|
|
3046
|
+
"description": "HTTP method of the operation in the OpenAPI spec."
|
|
3047
|
+
},
|
|
3048
|
+
"expanded": {
|
|
3049
|
+
"type": "boolean",
|
|
3050
|
+
"description": "If true, the block is opened by default."
|
|
3051
|
+
},
|
|
3052
|
+
"fullWidth": {
|
|
3053
|
+
"type": "boolean"
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"required": [
|
|
3057
|
+
"ref"
|
|
3058
|
+
]
|
|
3059
|
+
},
|
|
3060
|
+
"isVoid": {
|
|
3061
|
+
"type": "boolean",
|
|
3062
|
+
"enum": [
|
|
3063
|
+
true
|
|
3064
|
+
]
|
|
3065
|
+
},
|
|
3066
|
+
"meta": {
|
|
3067
|
+
"type": "object",
|
|
3068
|
+
"properties": {
|
|
3069
|
+
"id": {
|
|
3070
|
+
"description": "Unique ID to be used in an URL for the block.",
|
|
3071
|
+
"type": "string"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
"required": [
|
|
3075
|
+
"id"
|
|
3076
|
+
]
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
"required": [
|
|
3080
|
+
"object",
|
|
3081
|
+
"type",
|
|
3082
|
+
"data",
|
|
3083
|
+
"isVoid"
|
|
3084
|
+
]
|
|
3085
|
+
},
|
|
3086
|
+
"DocumentBlockTable": {
|
|
3087
|
+
"type": "object",
|
|
3088
|
+
"properties": {
|
|
3089
|
+
"object": {
|
|
3090
|
+
"type": "string",
|
|
3091
|
+
"enum": [
|
|
3092
|
+
"block"
|
|
3093
|
+
]
|
|
3094
|
+
},
|
|
3095
|
+
"type": {
|
|
3096
|
+
"type": "string",
|
|
3097
|
+
"enum": [
|
|
3098
|
+
"table"
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
"key": {
|
|
3102
|
+
"type": "string"
|
|
3103
|
+
},
|
|
3104
|
+
"isVoid": {
|
|
3105
|
+
"type": "boolean",
|
|
3106
|
+
"enum": [
|
|
3107
|
+
true
|
|
3108
|
+
]
|
|
3109
|
+
},
|
|
3110
|
+
"data": {
|
|
3111
|
+
"type": "object",
|
|
3112
|
+
"properties": {
|
|
3113
|
+
"view": {
|
|
3114
|
+
"oneOf": [
|
|
3115
|
+
{
|
|
3116
|
+
"$ref": "#/components/schemas/DocumentTableViewGrid"
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"$ref": "#/components/schemas/DocumentTableViewCards"
|
|
3120
|
+
}
|
|
3121
|
+
]
|
|
3122
|
+
},
|
|
3123
|
+
"records": {
|
|
3124
|
+
"type": "object",
|
|
3125
|
+
"additionalProperties": {
|
|
3126
|
+
"$ref": "#/components/schemas/DocumentTableRecord"
|
|
3127
|
+
}
|
|
3128
|
+
},
|
|
3129
|
+
"definition": {
|
|
3130
|
+
"type": "object",
|
|
3131
|
+
"additionalProperties": {
|
|
3132
|
+
"$ref": "#/components/schemas/DocumentTableDefinition"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
"fullWidth": {
|
|
3136
|
+
"type": "boolean",
|
|
3137
|
+
"description": "Whether to render the block as a full width one"
|
|
3138
|
+
}
|
|
3139
|
+
},
|
|
3140
|
+
"required": [
|
|
3141
|
+
"view",
|
|
3142
|
+
"records",
|
|
3143
|
+
"definition"
|
|
3144
|
+
]
|
|
3145
|
+
},
|
|
3146
|
+
"fragments": {
|
|
3147
|
+
"type": "array",
|
|
3148
|
+
"items": {
|
|
3149
|
+
"$ref": "#/components/schemas/DocumentNodeFragment"
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3153
|
+
"required": [
|
|
3154
|
+
"object",
|
|
3155
|
+
"type",
|
|
3156
|
+
"data",
|
|
3157
|
+
"isVoid",
|
|
3158
|
+
"fragments"
|
|
3159
|
+
]
|
|
3160
|
+
},
|
|
3161
|
+
"DocumentTableRecord": {
|
|
3162
|
+
"type": "object",
|
|
3163
|
+
"properties": {
|
|
3164
|
+
"orderIndex": {
|
|
3165
|
+
"type": "string"
|
|
3166
|
+
},
|
|
3167
|
+
"values": {
|
|
3168
|
+
"type": "object",
|
|
3169
|
+
"additionalProperties": {
|
|
3170
|
+
"oneOf": [
|
|
3171
|
+
{
|
|
3172
|
+
"type": "number"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"type": "string"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"type": "boolean"
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"type": "array",
|
|
3182
|
+
"items": {
|
|
3183
|
+
"type": "string"
|
|
3184
|
+
}
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
3188
|
+
}
|
|
3189
|
+
]
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
},
|
|
3193
|
+
"required": [
|
|
3194
|
+
"orderIndex",
|
|
3195
|
+
"values"
|
|
3196
|
+
]
|
|
3197
|
+
},
|
|
3198
|
+
"DocumentTableDefinitionBase": {
|
|
3199
|
+
"type": "object",
|
|
3200
|
+
"properties": {
|
|
3201
|
+
"id": {
|
|
3202
|
+
"type": "string"
|
|
3203
|
+
},
|
|
3204
|
+
"title": {
|
|
3205
|
+
"type": "string",
|
|
3206
|
+
"description": "Title for the column"
|
|
3207
|
+
}
|
|
3208
|
+
},
|
|
3209
|
+
"required": [
|
|
3210
|
+
"id",
|
|
3211
|
+
"title"
|
|
3212
|
+
]
|
|
3213
|
+
},
|
|
3214
|
+
"DocumentTableDefinition": {
|
|
3215
|
+
"oneOf": [
|
|
3216
|
+
{
|
|
3217
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionText"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionNumber"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionCheckbox"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionFiles"
|
|
3227
|
+
},
|
|
3228
|
+
{
|
|
3229
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionUsers"
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionRating"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionSelect"
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
3239
|
+
}
|
|
3240
|
+
]
|
|
3241
|
+
},
|
|
3242
|
+
"DocumentTableDefinitionText": {
|
|
3243
|
+
"allOf": [
|
|
3244
|
+
{
|
|
3245
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"type": "object",
|
|
3249
|
+
"properties": {
|
|
3250
|
+
"type": {
|
|
3251
|
+
"type": "string",
|
|
3252
|
+
"enum": [
|
|
3253
|
+
"text"
|
|
3254
|
+
]
|
|
3255
|
+
},
|
|
3256
|
+
"textAlignment": {
|
|
3257
|
+
"type": "string",
|
|
3258
|
+
"enum": [
|
|
3259
|
+
"center",
|
|
3260
|
+
"right",
|
|
3261
|
+
"left"
|
|
3262
|
+
]
|
|
3263
|
+
}
|
|
3264
|
+
},
|
|
3265
|
+
"required": [
|
|
3266
|
+
"type",
|
|
3267
|
+
"textAlignment"
|
|
3268
|
+
]
|
|
3269
|
+
}
|
|
3270
|
+
]
|
|
3271
|
+
},
|
|
3272
|
+
"DocumentTableDefinitionNumber": {
|
|
3273
|
+
"allOf": [
|
|
3274
|
+
{
|
|
3275
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"type": "object",
|
|
3279
|
+
"properties": {
|
|
3280
|
+
"type": {
|
|
3281
|
+
"type": "string",
|
|
3282
|
+
"enum": [
|
|
3283
|
+
"number"
|
|
3284
|
+
]
|
|
3285
|
+
}
|
|
3286
|
+
},
|
|
3287
|
+
"required": [
|
|
3288
|
+
"type"
|
|
3289
|
+
]
|
|
3290
|
+
}
|
|
3291
|
+
]
|
|
3292
|
+
},
|
|
3293
|
+
"DocumentTableDefinitionCheckbox": {
|
|
3294
|
+
"allOf": [
|
|
3295
|
+
{
|
|
3296
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
"type": "object",
|
|
3300
|
+
"properties": {
|
|
3301
|
+
"type": {
|
|
3302
|
+
"type": "string",
|
|
3303
|
+
"enum": [
|
|
3304
|
+
"checkbox"
|
|
3305
|
+
]
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
"required": [
|
|
3309
|
+
"type"
|
|
3310
|
+
]
|
|
3311
|
+
}
|
|
3312
|
+
]
|
|
3313
|
+
},
|
|
3314
|
+
"DocumentTableDefinitionFiles": {
|
|
3315
|
+
"allOf": [
|
|
3316
|
+
{
|
|
3317
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"type": "object",
|
|
3321
|
+
"properties": {
|
|
3322
|
+
"type": {
|
|
3323
|
+
"type": "string",
|
|
3324
|
+
"enum": [
|
|
3325
|
+
"files"
|
|
3326
|
+
]
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"required": [
|
|
3330
|
+
"type"
|
|
3331
|
+
]
|
|
3332
|
+
}
|
|
3333
|
+
]
|
|
3334
|
+
},
|
|
3335
|
+
"DocumentTableDefinitionUsers": {
|
|
3336
|
+
"allOf": [
|
|
3337
|
+
{
|
|
3338
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"type": "object",
|
|
3342
|
+
"properties": {
|
|
3343
|
+
"type": {
|
|
3344
|
+
"type": "string",
|
|
3345
|
+
"enum": [
|
|
3346
|
+
"users"
|
|
3347
|
+
]
|
|
3348
|
+
},
|
|
3349
|
+
"multiple": {
|
|
3350
|
+
"type": "boolean"
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
"required": [
|
|
3354
|
+
"type",
|
|
3355
|
+
"multiple"
|
|
3356
|
+
]
|
|
3357
|
+
}
|
|
3358
|
+
]
|
|
3359
|
+
},
|
|
3360
|
+
"DocumentTableDefinitionRating": {
|
|
3361
|
+
"allOf": [
|
|
3362
|
+
{
|
|
3363
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"type": "object",
|
|
3367
|
+
"properties": {
|
|
3368
|
+
"type": {
|
|
3369
|
+
"type": "string",
|
|
3370
|
+
"enum": [
|
|
3371
|
+
"rating"
|
|
3372
|
+
]
|
|
3373
|
+
},
|
|
3374
|
+
"max": {
|
|
3375
|
+
"type": "number"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
"required": [
|
|
3379
|
+
"type",
|
|
3380
|
+
"max"
|
|
3381
|
+
]
|
|
3382
|
+
}
|
|
3383
|
+
]
|
|
3384
|
+
},
|
|
3385
|
+
"DocumentTableDefinitionSelect": {
|
|
3386
|
+
"allOf": [
|
|
3387
|
+
{
|
|
3388
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"type": "object",
|
|
3392
|
+
"properties": {
|
|
3393
|
+
"type": {
|
|
3394
|
+
"type": "string",
|
|
3395
|
+
"enum": [
|
|
3396
|
+
"select"
|
|
3397
|
+
]
|
|
3398
|
+
},
|
|
3399
|
+
"multiple": {
|
|
3400
|
+
"type": "boolean"
|
|
3401
|
+
},
|
|
3402
|
+
"options": {
|
|
3403
|
+
"type": "array",
|
|
3404
|
+
"items": {
|
|
3405
|
+
"$ref": "#/components/schemas/DocumentTableSelectOption"
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"required": [
|
|
3410
|
+
"type",
|
|
3411
|
+
"multiple",
|
|
3412
|
+
"options"
|
|
3413
|
+
]
|
|
3414
|
+
}
|
|
3415
|
+
]
|
|
3416
|
+
},
|
|
3417
|
+
"DocumentTableDefinitionContentRef": {
|
|
3418
|
+
"allOf": [
|
|
3419
|
+
{
|
|
3420
|
+
"$ref": "#/components/schemas/DocumentTableDefinitionBase"
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"type": "object",
|
|
3424
|
+
"properties": {
|
|
3425
|
+
"type": {
|
|
3426
|
+
"type": "string",
|
|
3427
|
+
"enum": [
|
|
3428
|
+
"content-ref"
|
|
3429
|
+
]
|
|
3430
|
+
}
|
|
3431
|
+
},
|
|
3432
|
+
"required": [
|
|
3433
|
+
"type"
|
|
3434
|
+
]
|
|
3435
|
+
}
|
|
3436
|
+
]
|
|
3437
|
+
},
|
|
3438
|
+
"DocumentTableSelectOption": {
|
|
3439
|
+
"type": "object",
|
|
3440
|
+
"properties": {
|
|
3441
|
+
"value": {
|
|
3442
|
+
"type": "string"
|
|
3443
|
+
},
|
|
3444
|
+
"label": {
|
|
3445
|
+
"type": "string"
|
|
3446
|
+
},
|
|
3447
|
+
"color": {
|
|
3448
|
+
"type": "string"
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3451
|
+
"required": [
|
|
3452
|
+
"value",
|
|
3453
|
+
"label",
|
|
3454
|
+
"color"
|
|
3455
|
+
]
|
|
3456
|
+
},
|
|
3457
|
+
"DocumentTableViewCards": {
|
|
3458
|
+
"type": "object",
|
|
3459
|
+
"properties": {
|
|
3460
|
+
"type": {
|
|
3461
|
+
"type": "string",
|
|
3462
|
+
"enum": [
|
|
3463
|
+
"cards"
|
|
3464
|
+
]
|
|
3465
|
+
},
|
|
3466
|
+
"cardSize": {
|
|
3467
|
+
"type": "string",
|
|
3468
|
+
"description": "Size of the cards. It indicates how many columns will be used",
|
|
3469
|
+
"enum": [
|
|
3470
|
+
"medium",
|
|
3471
|
+
"large"
|
|
3472
|
+
]
|
|
3473
|
+
},
|
|
3474
|
+
"columns": {
|
|
3475
|
+
"type": "array",
|
|
3476
|
+
"description": "Ordered list of the definition IDs to display",
|
|
3477
|
+
"items": {
|
|
3478
|
+
"type": "string"
|
|
3479
|
+
}
|
|
3480
|
+
},
|
|
3481
|
+
"targetDefinition": {
|
|
3482
|
+
"type": "string",
|
|
3483
|
+
"description": "Definition ID to use as a target link for the card"
|
|
3484
|
+
},
|
|
3485
|
+
"coverDefinition": {
|
|
3486
|
+
"type": "string",
|
|
3487
|
+
"description": "Definition ID to use as a cover image"
|
|
3488
|
+
},
|
|
3489
|
+
"hideColumnTitle": {
|
|
3490
|
+
"type": "boolean",
|
|
3491
|
+
"description": "Should we display the column title or not"
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
"required": [
|
|
3495
|
+
"type",
|
|
3496
|
+
"columns",
|
|
3497
|
+
"cardSize"
|
|
3498
|
+
]
|
|
3499
|
+
},
|
|
3500
|
+
"DocumentTableViewGrid": {
|
|
3501
|
+
"type": "object",
|
|
3502
|
+
"properties": {
|
|
3503
|
+
"type": {
|
|
3504
|
+
"type": "string",
|
|
3505
|
+
"enum": [
|
|
3506
|
+
"grid"
|
|
3507
|
+
]
|
|
3508
|
+
},
|
|
3509
|
+
"columns": {
|
|
3510
|
+
"type": "array",
|
|
3511
|
+
"description": "Ordered list of the definition IDs to display",
|
|
3512
|
+
"items": {
|
|
3513
|
+
"type": "string"
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
"columnWidths": {
|
|
3517
|
+
"type": "object",
|
|
3518
|
+
"description": "Percent width of each column",
|
|
3519
|
+
"additionalProperties": {
|
|
3520
|
+
"type": "number"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
"hideHeader": {
|
|
3524
|
+
"type": "boolean",
|
|
3525
|
+
"description": "Should we display the header with column titles"
|
|
3526
|
+
},
|
|
3527
|
+
"useNewSizing": {
|
|
3528
|
+
"type": "boolean",
|
|
3529
|
+
"description": "Tables in GitBook originally used a scaled width approach i.e. the width defined\nin columnWidths would be scaled to ensure a 100% width table.\n\nWe later changed this to treat the widths in columnWidths as exact values - they are\nnever scaled. A columnWidth of 50 is rendered as 50px.\n\nIn order to maintain backwards compatibility, we track whether or not we\nuse the new system here.\n\nAll new tables should have this value set to true, older tables will have it set\nto undefined.\n"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"required": [
|
|
3533
|
+
"type",
|
|
3534
|
+
"columns",
|
|
3535
|
+
"hideHeader"
|
|
3536
|
+
]
|
|
3537
|
+
},
|
|
3538
|
+
"DocumentBlockTabsItem": {
|
|
3539
|
+
"type": "object",
|
|
3540
|
+
"properties": {
|
|
3541
|
+
"object": {
|
|
3542
|
+
"type": "string",
|
|
3543
|
+
"enum": [
|
|
3544
|
+
"block"
|
|
3545
|
+
]
|
|
3546
|
+
},
|
|
3547
|
+
"type": {
|
|
3548
|
+
"type": "string",
|
|
3549
|
+
"enum": [
|
|
3550
|
+
"tabs-item"
|
|
3551
|
+
]
|
|
3552
|
+
},
|
|
3553
|
+
"key": {
|
|
3554
|
+
"type": "string"
|
|
3555
|
+
},
|
|
3556
|
+
"nodes": {
|
|
3557
|
+
"type": "array",
|
|
3558
|
+
"items": {
|
|
3559
|
+
"oneOf": [
|
|
3560
|
+
{
|
|
3561
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
3571
|
+
},
|
|
3572
|
+
{
|
|
3573
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
3586
|
+
},
|
|
3587
|
+
{
|
|
3588
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
3592
|
+
}
|
|
3593
|
+
]
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
"data": {
|
|
3597
|
+
"type": "object",
|
|
3598
|
+
"properties": {
|
|
3599
|
+
"title": {
|
|
3600
|
+
"type": "string"
|
|
3601
|
+
}
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3604
|
+
"meta": {
|
|
3605
|
+
"type": "object",
|
|
3606
|
+
"properties": {
|
|
3607
|
+
"id": {
|
|
3608
|
+
"description": "Unique ID to be used in an URL for the block.",
|
|
3609
|
+
"type": "string"
|
|
3610
|
+
}
|
|
3611
|
+
},
|
|
3612
|
+
"required": [
|
|
3613
|
+
"id"
|
|
3614
|
+
]
|
|
3615
|
+
}
|
|
3616
|
+
},
|
|
3617
|
+
"required": [
|
|
3618
|
+
"object",
|
|
3619
|
+
"type",
|
|
3620
|
+
"nodes",
|
|
3621
|
+
"data"
|
|
3622
|
+
]
|
|
3623
|
+
},
|
|
3624
|
+
"DocumentBlockContentRef": {
|
|
3625
|
+
"type": "object",
|
|
3626
|
+
"properties": {
|
|
3627
|
+
"object": {
|
|
3628
|
+
"type": "string",
|
|
3629
|
+
"enum": [
|
|
3630
|
+
"block"
|
|
3631
|
+
]
|
|
3632
|
+
},
|
|
3633
|
+
"type": {
|
|
3634
|
+
"type": "string",
|
|
3635
|
+
"enum": [
|
|
3636
|
+
"content-ref"
|
|
3637
|
+
]
|
|
3638
|
+
},
|
|
3639
|
+
"key": {
|
|
3640
|
+
"type": "string"
|
|
3641
|
+
},
|
|
3642
|
+
"data": {
|
|
3643
|
+
"type": "object",
|
|
3644
|
+
"properties": {
|
|
3645
|
+
"ref": {
|
|
3646
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
3647
|
+
}
|
|
3648
|
+
},
|
|
3649
|
+
"required": [
|
|
3650
|
+
"ref"
|
|
3651
|
+
]
|
|
3652
|
+
},
|
|
3653
|
+
"isVoid": {
|
|
3654
|
+
"type": "boolean",
|
|
3655
|
+
"enum": [
|
|
3656
|
+
true
|
|
3657
|
+
]
|
|
3658
|
+
}
|
|
3659
|
+
},
|
|
3660
|
+
"required": [
|
|
3661
|
+
"object",
|
|
3662
|
+
"type",
|
|
3663
|
+
"data",
|
|
3664
|
+
"isVoid"
|
|
3665
|
+
]
|
|
3666
|
+
},
|
|
3667
|
+
"DocumentBlockIntegration": {
|
|
3668
|
+
"type": "object",
|
|
3669
|
+
"properties": {
|
|
3670
|
+
"object": {
|
|
3671
|
+
"type": "string",
|
|
3672
|
+
"enum": [
|
|
3673
|
+
"block"
|
|
3674
|
+
]
|
|
3675
|
+
},
|
|
3676
|
+
"type": {
|
|
3677
|
+
"type": "string",
|
|
3678
|
+
"enum": [
|
|
3679
|
+
"integration"
|
|
3680
|
+
]
|
|
3681
|
+
},
|
|
3682
|
+
"key": {
|
|
3683
|
+
"type": "string"
|
|
3684
|
+
},
|
|
3685
|
+
"data": {
|
|
3686
|
+
"type": "object",
|
|
3687
|
+
"properties": {
|
|
3688
|
+
"integration": {
|
|
3689
|
+
"type": "string",
|
|
3690
|
+
"description": "Name of the integration"
|
|
3691
|
+
},
|
|
3692
|
+
"block": {
|
|
3693
|
+
"type": "string",
|
|
3694
|
+
"description": "ID of the block in the integration"
|
|
3695
|
+
},
|
|
3696
|
+
"props": {
|
|
3697
|
+
"type": "object",
|
|
3698
|
+
"description": "Properties passed to the block during rendering",
|
|
3699
|
+
"additionalProperties": {
|
|
3700
|
+
"description": "Any value"
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
"action": {
|
|
3704
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
3705
|
+
},
|
|
3706
|
+
"url": {
|
|
3707
|
+
"type": "string",
|
|
3708
|
+
"description": "URL associated with the content represented by the block.\nThis property is set when creating a block from a URL (unfurl) to ensure\nwe can convert the block back to an embed.\n"
|
|
3709
|
+
},
|
|
3710
|
+
"fullWidth": {
|
|
3711
|
+
"type": "boolean"
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
"required": [
|
|
3715
|
+
"integration",
|
|
3716
|
+
"block",
|
|
3717
|
+
"props"
|
|
3718
|
+
]
|
|
3719
|
+
},
|
|
3720
|
+
"isVoid": {
|
|
3721
|
+
"type": "boolean",
|
|
3722
|
+
"enum": [
|
|
3723
|
+
true
|
|
3724
|
+
]
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
"required": [
|
|
3728
|
+
"object",
|
|
3729
|
+
"type",
|
|
3730
|
+
"data",
|
|
3731
|
+
"isVoid"
|
|
3732
|
+
]
|
|
3733
|
+
},
|
|
3734
|
+
"DocumentBlockDivider": {
|
|
3735
|
+
"type": "object",
|
|
3736
|
+
"properties": {
|
|
3737
|
+
"object": {
|
|
3738
|
+
"type": "string",
|
|
3739
|
+
"enum": [
|
|
3740
|
+
"block"
|
|
3741
|
+
]
|
|
3742
|
+
},
|
|
1527
3743
|
"type": {
|
|
1528
|
-
"
|
|
3744
|
+
"type": "string",
|
|
3745
|
+
"enum": [
|
|
3746
|
+
"divider"
|
|
3747
|
+
]
|
|
3748
|
+
},
|
|
3749
|
+
"key": {
|
|
3750
|
+
"type": "string"
|
|
3751
|
+
},
|
|
3752
|
+
"isVoid": {
|
|
3753
|
+
"type": "boolean",
|
|
3754
|
+
"enum": [
|
|
3755
|
+
true
|
|
3756
|
+
]
|
|
3757
|
+
}
|
|
3758
|
+
},
|
|
3759
|
+
"required": [
|
|
3760
|
+
"object",
|
|
3761
|
+
"type",
|
|
3762
|
+
"isVoid"
|
|
3763
|
+
]
|
|
3764
|
+
},
|
|
3765
|
+
"ContentRef": {
|
|
3766
|
+
"oneOf": [
|
|
3767
|
+
{
|
|
3768
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"$ref": "#/components/schemas/ContentRefPage"
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"$ref": "#/components/schemas/ContentRefAnchor"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"$ref": "#/components/schemas/ContentRefUser"
|
|
3781
|
+
},
|
|
3782
|
+
{
|
|
3783
|
+
"$ref": "#/components/schemas/ContentRefCollection"
|
|
3784
|
+
},
|
|
3785
|
+
{
|
|
3786
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
3787
|
+
}
|
|
3788
|
+
]
|
|
3789
|
+
},
|
|
3790
|
+
"ContentRefURL": {
|
|
3791
|
+
"type": "object",
|
|
3792
|
+
"properties": {
|
|
3793
|
+
"kind": {
|
|
3794
|
+
"type": "string",
|
|
3795
|
+
"enum": [
|
|
3796
|
+
"url"
|
|
3797
|
+
]
|
|
3798
|
+
},
|
|
3799
|
+
"url": {
|
|
3800
|
+
"type": "string"
|
|
3801
|
+
}
|
|
3802
|
+
},
|
|
3803
|
+
"required": [
|
|
3804
|
+
"kind",
|
|
3805
|
+
"url"
|
|
3806
|
+
]
|
|
3807
|
+
},
|
|
3808
|
+
"ContentRefFile": {
|
|
3809
|
+
"type": "object",
|
|
3810
|
+
"properties": {
|
|
3811
|
+
"kind": {
|
|
3812
|
+
"type": "string",
|
|
3813
|
+
"enum": [
|
|
3814
|
+
"file"
|
|
3815
|
+
]
|
|
3816
|
+
},
|
|
3817
|
+
"file": {
|
|
3818
|
+
"type": "string"
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"required": [
|
|
3822
|
+
"kind",
|
|
3823
|
+
"file"
|
|
3824
|
+
]
|
|
3825
|
+
},
|
|
3826
|
+
"ContentRefPage": {
|
|
3827
|
+
"type": "object",
|
|
3828
|
+
"properties": {
|
|
3829
|
+
"kind": {
|
|
3830
|
+
"type": "string",
|
|
3831
|
+
"enum": [
|
|
3832
|
+
"page"
|
|
3833
|
+
]
|
|
3834
|
+
},
|
|
3835
|
+
"page": {
|
|
3836
|
+
"type": "string"
|
|
3837
|
+
},
|
|
3838
|
+
"space": {
|
|
3839
|
+
"type": "string"
|
|
3840
|
+
}
|
|
3841
|
+
},
|
|
3842
|
+
"required": [
|
|
3843
|
+
"kind",
|
|
3844
|
+
"page",
|
|
3845
|
+
"space"
|
|
3846
|
+
]
|
|
3847
|
+
},
|
|
3848
|
+
"ContentRefAnchor": {
|
|
3849
|
+
"type": "object",
|
|
3850
|
+
"properties": {
|
|
3851
|
+
"kind": {
|
|
3852
|
+
"type": "string",
|
|
3853
|
+
"enum": [
|
|
3854
|
+
"anchor"
|
|
3855
|
+
]
|
|
3856
|
+
},
|
|
3857
|
+
"anchor": {
|
|
3858
|
+
"type": "string"
|
|
3859
|
+
},
|
|
3860
|
+
"space": {
|
|
3861
|
+
"type": "string"
|
|
3862
|
+
},
|
|
3863
|
+
"page": {
|
|
3864
|
+
"type": "string"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
"required": [
|
|
3868
|
+
"kind",
|
|
3869
|
+
"anchor"
|
|
3870
|
+
]
|
|
3871
|
+
},
|
|
3872
|
+
"ContentRefUser": {
|
|
3873
|
+
"type": "object",
|
|
3874
|
+
"properties": {
|
|
3875
|
+
"kind": {
|
|
3876
|
+
"type": "string",
|
|
3877
|
+
"enum": [
|
|
3878
|
+
"user"
|
|
3879
|
+
]
|
|
1529
3880
|
},
|
|
1530
|
-
"
|
|
1531
|
-
"
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
3881
|
+
"user": {
|
|
3882
|
+
"type": "string"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"required": [
|
|
3886
|
+
"kind",
|
|
3887
|
+
"user"
|
|
3888
|
+
]
|
|
3889
|
+
},
|
|
3890
|
+
"ContentRefCollection": {
|
|
3891
|
+
"type": "object",
|
|
3892
|
+
"properties": {
|
|
3893
|
+
"kind": {
|
|
3894
|
+
"type": "string",
|
|
3895
|
+
"enum": [
|
|
3896
|
+
"collection"
|
|
3897
|
+
]
|
|
3898
|
+
},
|
|
3899
|
+
"collection": {
|
|
3900
|
+
"type": "string"
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3903
|
+
"required": [
|
|
3904
|
+
"kind",
|
|
3905
|
+
"collection"
|
|
3906
|
+
]
|
|
3907
|
+
},
|
|
3908
|
+
"ContentRefSpace": {
|
|
3909
|
+
"type": "object",
|
|
3910
|
+
"properties": {
|
|
3911
|
+
"kind": {
|
|
3912
|
+
"type": "string",
|
|
3913
|
+
"enum": [
|
|
3914
|
+
"space"
|
|
3915
|
+
]
|
|
3916
|
+
},
|
|
3917
|
+
"space": {
|
|
3918
|
+
"type": "string"
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"required": [
|
|
3922
|
+
"kind",
|
|
3923
|
+
"space"
|
|
3924
|
+
]
|
|
3925
|
+
},
|
|
3926
|
+
"Space": {
|
|
3927
|
+
"type": "object",
|
|
3928
|
+
"properties": {
|
|
3929
|
+
"object": {
|
|
3930
|
+
"type": "string",
|
|
3931
|
+
"description": "Type of Object, always equals to \"space\"",
|
|
3932
|
+
"enum": [
|
|
3933
|
+
"space"
|
|
1539
3934
|
]
|
|
1540
3935
|
},
|
|
3936
|
+
"id": {
|
|
3937
|
+
"type": "string",
|
|
3938
|
+
"description": "Unique identifier for the space"
|
|
3939
|
+
},
|
|
3940
|
+
"title": {
|
|
3941
|
+
"type": "string",
|
|
3942
|
+
"description": "Title of the space",
|
|
3943
|
+
"minLength": 0,
|
|
3944
|
+
"maxLength": 100
|
|
3945
|
+
},
|
|
3946
|
+
"visibility": {
|
|
3947
|
+
"$ref": "#/components/schemas/ContentVisibility"
|
|
3948
|
+
},
|
|
1541
3949
|
"createdAt": {
|
|
1542
3950
|
"$ref": "#/components/schemas/Date"
|
|
1543
3951
|
},
|
|
3952
|
+
"updatedAt": {
|
|
3953
|
+
"$ref": "#/components/schemas/Date"
|
|
3954
|
+
},
|
|
3955
|
+
"deletedAt": {
|
|
3956
|
+
"$ref": "#/components/schemas/Date"
|
|
3957
|
+
},
|
|
1544
3958
|
"urls": {
|
|
1545
3959
|
"type": "object",
|
|
1546
3960
|
"description": "URLs associated with the object",
|
|
1547
3961
|
"properties": {
|
|
1548
3962
|
"location": {
|
|
1549
3963
|
"type": "string",
|
|
1550
|
-
"description": "URL of the space
|
|
3964
|
+
"description": "URL of the space in the API",
|
|
3965
|
+
"format": "uri"
|
|
3966
|
+
},
|
|
3967
|
+
"app": {
|
|
3968
|
+
"type": "string",
|
|
3969
|
+
"description": "URL of the space in the application",
|
|
3970
|
+
"format": "uri"
|
|
3971
|
+
},
|
|
3972
|
+
"published": {
|
|
3973
|
+
"type": "string",
|
|
3974
|
+
"description": "URL of the published version of the space. Only defined when visibility is not \"private.\"",
|
|
3975
|
+
"format": "uri"
|
|
3976
|
+
},
|
|
3977
|
+
"public": {
|
|
3978
|
+
"type": "string",
|
|
3979
|
+
"description": "URL of the public version of the space. Only defined when visibility is \"public\".",
|
|
1551
3980
|
"format": "uri"
|
|
1552
3981
|
}
|
|
1553
3982
|
},
|
|
1554
3983
|
"required": [
|
|
3984
|
+
"app",
|
|
1555
3985
|
"location"
|
|
1556
3986
|
]
|
|
3987
|
+
},
|
|
3988
|
+
"organization": {
|
|
3989
|
+
"type": "string",
|
|
3990
|
+
"description": "ID of the organization owning this space"
|
|
3991
|
+
},
|
|
3992
|
+
"parent": {
|
|
3993
|
+
"type": "string",
|
|
3994
|
+
"description": "ID of the parent collection."
|
|
1557
3995
|
}
|
|
1558
3996
|
},
|
|
1559
3997
|
"required": [
|
|
3998
|
+
"object",
|
|
1560
3999
|
"id",
|
|
1561
4000
|
"type",
|
|
4001
|
+
"title",
|
|
4002
|
+
"organization",
|
|
4003
|
+
"visibility",
|
|
1562
4004
|
"createdAt",
|
|
1563
|
-
"
|
|
1564
|
-
"
|
|
1565
|
-
]
|
|
1566
|
-
},
|
|
1567
|
-
"SpaceRelationPair": {
|
|
1568
|
-
"allOf": [
|
|
1569
|
-
{
|
|
1570
|
-
"$ref": "#/components/schemas/SpaceRelation"
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"type": "object",
|
|
1574
|
-
"description": "Relation between an origin space and another space",
|
|
1575
|
-
"properties": {
|
|
1576
|
-
"target": {
|
|
1577
|
-
"$ref": "#/components/schemas/SpaceRelationEdge"
|
|
1578
|
-
},
|
|
1579
|
-
"source": {
|
|
1580
|
-
"$ref": "#/components/schemas/SpaceRelationEdge"
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
"required": [
|
|
1584
|
-
"target",
|
|
1585
|
-
"source"
|
|
1586
|
-
]
|
|
1587
|
-
}
|
|
4005
|
+
"updatedAt",
|
|
4006
|
+
"urls"
|
|
1588
4007
|
]
|
|
1589
4008
|
},
|
|
1590
4009
|
"RevisionBase": {
|
|
@@ -2395,10 +4814,26 @@
|
|
|
2395
4814
|
},
|
|
2396
4815
|
"TeamMemberRole": {
|
|
2397
4816
|
"type": "string",
|
|
2398
|
-
"description": "\"The role of a team member.\n\"
|
|
4817
|
+
"description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
|
|
2399
4818
|
"enum": [
|
|
2400
|
-
"
|
|
2401
|
-
"
|
|
4819
|
+
"owner",
|
|
4820
|
+
"member"
|
|
4821
|
+
]
|
|
4822
|
+
},
|
|
4823
|
+
"OrganizationTeamMember": {
|
|
4824
|
+
"type": "object",
|
|
4825
|
+
"description": "A member of a team in an organization, including its relationship to it",
|
|
4826
|
+
"properties": {
|
|
4827
|
+
"organization": {
|
|
4828
|
+
"$ref": "#/components/schemas/OrganizationMember"
|
|
4829
|
+
},
|
|
4830
|
+
"team": {
|
|
4831
|
+
"$ref": "#/components/schemas/TeamMember"
|
|
4832
|
+
}
|
|
4833
|
+
},
|
|
4834
|
+
"required": [
|
|
4835
|
+
"organization",
|
|
4836
|
+
"team"
|
|
2402
4837
|
]
|
|
2403
4838
|
},
|
|
2404
4839
|
"Capture": {
|
|
@@ -2431,6 +4866,10 @@
|
|
|
2431
4866
|
"type": "string",
|
|
2432
4867
|
"format": "date-time"
|
|
2433
4868
|
},
|
|
4869
|
+
"editedAt": {
|
|
4870
|
+
"type": "string",
|
|
4871
|
+
"format": "date-time"
|
|
4872
|
+
},
|
|
2434
4873
|
"events": {
|
|
2435
4874
|
"description": "Count of events recorded.",
|
|
2436
4875
|
"properties": {
|
|
@@ -2763,6 +5202,19 @@
|
|
|
2763
5202
|
}
|
|
2764
5203
|
]
|
|
2765
5204
|
},
|
|
5205
|
+
"UpdateCaptureSchema": {
|
|
5206
|
+
"type": "object",
|
|
5207
|
+
"properties": {
|
|
5208
|
+
"title": {
|
|
5209
|
+
"type": "string",
|
|
5210
|
+
"description": "A new title for the capture."
|
|
5211
|
+
},
|
|
5212
|
+
"body": {
|
|
5213
|
+
"description": "Content of the capture.",
|
|
5214
|
+
"$ref": "#/components/schemas/Document"
|
|
5215
|
+
}
|
|
5216
|
+
}
|
|
5217
|
+
},
|
|
2766
5218
|
"ChangeRequest": {
|
|
2767
5219
|
"type": "object",
|
|
2768
5220
|
"properties": {
|
|
@@ -3354,7 +5806,7 @@
|
|
|
3354
5806
|
"capture"
|
|
3355
5807
|
]
|
|
3356
5808
|
},
|
|
3357
|
-
"
|
|
5809
|
+
"captureId": {
|
|
3358
5810
|
"type": "string",
|
|
3359
5811
|
"description": "ID of the capture"
|
|
3360
5812
|
},
|
|
@@ -3365,7 +5817,7 @@
|
|
|
3365
5817
|
},
|
|
3366
5818
|
"required": [
|
|
3367
5819
|
"type",
|
|
3368
|
-
"
|
|
5820
|
+
"captureId",
|
|
3369
5821
|
"source"
|
|
3370
5822
|
]
|
|
3371
5823
|
}
|
|
@@ -3644,6 +6096,13 @@
|
|
|
3644
6096
|
"type": "string"
|
|
3645
6097
|
}
|
|
3646
6098
|
},
|
|
6099
|
+
"target": {
|
|
6100
|
+
"$ref": "#/components/schemas/IntegrationTarget"
|
|
6101
|
+
},
|
|
6102
|
+
"verified": {
|
|
6103
|
+
"type": "boolean",
|
|
6104
|
+
"description": "If true, the integration has been verified by the GitBook team"
|
|
6105
|
+
},
|
|
3647
6106
|
"visibility": {
|
|
3648
6107
|
"$ref": "#/components/schemas/IntegrationVisibility"
|
|
3649
6108
|
},
|
|
@@ -3662,10 +6121,18 @@
|
|
|
3662
6121
|
"externalLinks": {
|
|
3663
6122
|
"$ref": "#/components/schemas/IntegrationExternalLinks"
|
|
3664
6123
|
},
|
|
6124
|
+
"owner": {
|
|
6125
|
+
"$ref": "#/components/schemas/Organization"
|
|
6126
|
+
},
|
|
3665
6127
|
"urls": {
|
|
3666
6128
|
"type": "object",
|
|
3667
6129
|
"description": "URLs associated with the object",
|
|
3668
6130
|
"properties": {
|
|
6131
|
+
"location": {
|
|
6132
|
+
"type": "string",
|
|
6133
|
+
"description": "URL of the integration in the API",
|
|
6134
|
+
"format": "uri"
|
|
6135
|
+
},
|
|
3669
6136
|
"icon": {
|
|
3670
6137
|
"type": "string",
|
|
3671
6138
|
"description": "URL of the icon associated to the integration",
|
|
@@ -3688,11 +6155,24 @@
|
|
|
3688
6155
|
}
|
|
3689
6156
|
},
|
|
3690
6157
|
"required": [
|
|
6158
|
+
"location",
|
|
3691
6159
|
"app",
|
|
3692
6160
|
"assets",
|
|
3693
6161
|
"publicEndpoint"
|
|
3694
6162
|
]
|
|
3695
6163
|
},
|
|
6164
|
+
"permissions": {
|
|
6165
|
+
"type": "object",
|
|
6166
|
+
"description": "The set of permissions for the integration",
|
|
6167
|
+
"properties": {
|
|
6168
|
+
"admin": {
|
|
6169
|
+
"type": "boolean"
|
|
6170
|
+
}
|
|
6171
|
+
},
|
|
6172
|
+
"required": [
|
|
6173
|
+
"admin"
|
|
6174
|
+
]
|
|
6175
|
+
},
|
|
3696
6176
|
"contentSecurityPolicy": {
|
|
3697
6177
|
"$ref": "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
3698
6178
|
}
|
|
@@ -3705,8 +6185,12 @@
|
|
|
3705
6185
|
"scopes",
|
|
3706
6186
|
"categories",
|
|
3707
6187
|
"visibility",
|
|
6188
|
+
"target",
|
|
6189
|
+
"verified",
|
|
3708
6190
|
"previewImages",
|
|
3709
6191
|
"externalLinks",
|
|
6192
|
+
"owner",
|
|
6193
|
+
"permissions",
|
|
3710
6194
|
"urls"
|
|
3711
6195
|
]
|
|
3712
6196
|
},
|
|
@@ -3929,10 +6413,11 @@
|
|
|
3929
6413
|
"type": "string",
|
|
3930
6414
|
"enum": [
|
|
3931
6415
|
"analytics",
|
|
6416
|
+
"captures",
|
|
3932
6417
|
"collaboration",
|
|
3933
|
-
"marketing",
|
|
3934
6418
|
"content",
|
|
3935
6419
|
"gitsync",
|
|
6420
|
+
"marketing",
|
|
3936
6421
|
"other"
|
|
3937
6422
|
]
|
|
3938
6423
|
},
|
|
@@ -4104,13 +6589,28 @@
|
|
|
4104
6589
|
"space_selection": {
|
|
4105
6590
|
"$ref": "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
4106
6591
|
},
|
|
6592
|
+
"spaces": {
|
|
6593
|
+
"type": "number",
|
|
6594
|
+
"description": "Count of spaces, the installation is managing"
|
|
6595
|
+
},
|
|
4107
6596
|
"configuration": {
|
|
4108
6597
|
"$ref": "#/components/schemas/IntegrationInstallationConfiguration"
|
|
4109
6598
|
},
|
|
6599
|
+
"createdAt": {
|
|
6600
|
+
"$ref": "#/components/schemas/Date"
|
|
6601
|
+
},
|
|
6602
|
+
"updatedAt": {
|
|
6603
|
+
"$ref": "#/components/schemas/Date"
|
|
6604
|
+
},
|
|
4110
6605
|
"urls": {
|
|
4111
6606
|
"type": "object",
|
|
4112
6607
|
"description": "URLs associated with the object",
|
|
4113
6608
|
"properties": {
|
|
6609
|
+
"location": {
|
|
6610
|
+
"type": "string",
|
|
6611
|
+
"description": "URL of the installation in the API",
|
|
6612
|
+
"format": "uri"
|
|
6613
|
+
},
|
|
4114
6614
|
"app": {
|
|
4115
6615
|
"type": "string",
|
|
4116
6616
|
"description": "URL of the integration's installation in the application",
|
|
@@ -4123,6 +6623,7 @@
|
|
|
4123
6623
|
}
|
|
4124
6624
|
},
|
|
4125
6625
|
"required": [
|
|
6626
|
+
"location",
|
|
4126
6627
|
"app",
|
|
4127
6628
|
"publicEndpoint"
|
|
4128
6629
|
]
|
|
@@ -4139,10 +6640,13 @@
|
|
|
4139
6640
|
"id",
|
|
4140
6641
|
"status",
|
|
4141
6642
|
"space_selection",
|
|
6643
|
+
"spaces",
|
|
4142
6644
|
"configuration",
|
|
4143
6645
|
"urls",
|
|
4144
6646
|
"externalIds",
|
|
4145
|
-
"target"
|
|
6647
|
+
"target",
|
|
6648
|
+
"createdAt",
|
|
6649
|
+
"updatedAt"
|
|
4146
6650
|
]
|
|
4147
6651
|
},
|
|
4148
6652
|
"IntegrationSpaceInstallation": {
|
|
@@ -4175,6 +6679,11 @@
|
|
|
4175
6679
|
"type": "object",
|
|
4176
6680
|
"description": "URLs associated with the object",
|
|
4177
6681
|
"properties": {
|
|
6682
|
+
"location": {
|
|
6683
|
+
"type": "string",
|
|
6684
|
+
"description": "URL of the integration's space installation in the API",
|
|
6685
|
+
"format": "uri"
|
|
6686
|
+
},
|
|
4178
6687
|
"publicEndpoint": {
|
|
4179
6688
|
"type": "string",
|
|
4180
6689
|
"description": "Public HTTP endpoint for the integration's space installation",
|
|
@@ -4182,6 +6691,7 @@
|
|
|
4182
6691
|
}
|
|
4183
6692
|
},
|
|
4184
6693
|
"required": [
|
|
6694
|
+
"location",
|
|
4185
6695
|
"publicEndpoint"
|
|
4186
6696
|
]
|
|
4187
6697
|
}
|
|
@@ -7316,9 +9826,6 @@
|
|
|
7316
9826
|
{
|
|
7317
9827
|
"$ref": "#/components/schemas/SpacePublishingAuthChannel"
|
|
7318
9828
|
},
|
|
7319
|
-
{
|
|
7320
|
-
"$ref": "#/components/schemas/SpaceRelationsChannel"
|
|
7321
|
-
},
|
|
7322
9829
|
{
|
|
7323
9830
|
"$ref": "#/components/schemas/SpaceEntitiesChannel"
|
|
7324
9831
|
},
|
|
@@ -7334,15 +9841,9 @@
|
|
|
7334
9841
|
{
|
|
7335
9842
|
"$ref": "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
7336
9843
|
},
|
|
7337
|
-
{
|
|
7338
|
-
"$ref": "#/components/schemas/OrganizationEnvironmentsChannel"
|
|
7339
|
-
},
|
|
7340
9844
|
{
|
|
7341
9845
|
"$ref": "#/components/schemas/UserAPITokensChannel"
|
|
7342
9846
|
},
|
|
7343
|
-
{
|
|
7344
|
-
"$ref": "#/components/schemas/UserPreferencesChannel"
|
|
7345
|
-
},
|
|
7346
9847
|
{
|
|
7347
9848
|
"$ref": "#/components/schemas/UserProfileChannel"
|
|
7348
9849
|
},
|
|
@@ -7367,9 +9868,6 @@
|
|
|
7367
9868
|
{
|
|
7368
9869
|
"$ref": "#/components/schemas/OrganizationTeamMemberChannel"
|
|
7369
9870
|
},
|
|
7370
|
-
{
|
|
7371
|
-
"$ref": "#/components/schemas/OrganizationSpaceRelationsChannel"
|
|
7372
|
-
},
|
|
7373
9871
|
{
|
|
7374
9872
|
"$ref": "#/components/schemas/OrganizationSpacesChannel"
|
|
7375
9873
|
},
|
|
@@ -7382,6 +9880,12 @@
|
|
|
7382
9880
|
{
|
|
7383
9881
|
"$ref": "#/components/schemas/OrganizationCapturesChannel"
|
|
7384
9882
|
},
|
|
9883
|
+
{
|
|
9884
|
+
"$ref": "#/components/schemas/OrganizationIntegrationsChannel"
|
|
9885
|
+
},
|
|
9886
|
+
{
|
|
9887
|
+
"$ref": "#/components/schemas/OrganizationInstallationsChannel"
|
|
9888
|
+
},
|
|
7385
9889
|
{
|
|
7386
9890
|
"type": "object",
|
|
7387
9891
|
"properties": {
|
|
@@ -7481,6 +9985,18 @@
|
|
|
7481
9985
|
"space",
|
|
7482
9986
|
"comment"
|
|
7483
9987
|
]
|
|
9988
|
+
},
|
|
9989
|
+
{
|
|
9990
|
+
"$ref": "#/components/schemas/IntegrationChannel"
|
|
9991
|
+
},
|
|
9992
|
+
{
|
|
9993
|
+
"$ref": "#/components/schemas/IntegrationInstallationChannel"
|
|
9994
|
+
},
|
|
9995
|
+
{
|
|
9996
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallationChannel"
|
|
9997
|
+
},
|
|
9998
|
+
{
|
|
9999
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallationsChannel"
|
|
7484
10000
|
}
|
|
7485
10001
|
],
|
|
7486
10002
|
"discriminator": {
|
|
@@ -7541,24 +10057,6 @@
|
|
|
7541
10057
|
"space"
|
|
7542
10058
|
]
|
|
7543
10059
|
},
|
|
7544
|
-
"SpaceRelationsChannel": {
|
|
7545
|
-
"type": "object",
|
|
7546
|
-
"properties": {
|
|
7547
|
-
"channel": {
|
|
7548
|
-
"type": "string",
|
|
7549
|
-
"enum": [
|
|
7550
|
-
"space-relations"
|
|
7551
|
-
]
|
|
7552
|
-
},
|
|
7553
|
-
"space": {
|
|
7554
|
-
"type": "string"
|
|
7555
|
-
}
|
|
7556
|
-
},
|
|
7557
|
-
"required": [
|
|
7558
|
-
"channel",
|
|
7559
|
-
"space"
|
|
7560
|
-
]
|
|
7561
|
-
},
|
|
7562
10060
|
"SpaceEntitiesChannel": {
|
|
7563
10061
|
"type": "object",
|
|
7564
10062
|
"properties": {
|
|
@@ -7604,58 +10102,40 @@
|
|
|
7604
10102
|
"backoffice-user-info"
|
|
7605
10103
|
]
|
|
7606
10104
|
},
|
|
7607
|
-
"user": {
|
|
7608
|
-
"type": "string"
|
|
7609
|
-
}
|
|
7610
|
-
},
|
|
7611
|
-
"required": [
|
|
7612
|
-
"channel",
|
|
7613
|
-
"user"
|
|
7614
|
-
]
|
|
7615
|
-
},
|
|
7616
|
-
"SpaceIntegrationsChannel": {
|
|
7617
|
-
"type": "object",
|
|
7618
|
-
"properties": {
|
|
7619
|
-
"channel": {
|
|
7620
|
-
"type": "string",
|
|
7621
|
-
"enum": [
|
|
7622
|
-
"space-integrations"
|
|
7623
|
-
]
|
|
7624
|
-
},
|
|
7625
|
-
"space": {
|
|
10105
|
+
"user": {
|
|
7626
10106
|
"type": "string"
|
|
7627
10107
|
}
|
|
7628
10108
|
},
|
|
7629
10109
|
"required": [
|
|
7630
10110
|
"channel",
|
|
7631
|
-
"
|
|
10111
|
+
"user"
|
|
7632
10112
|
]
|
|
7633
10113
|
},
|
|
7634
|
-
"
|
|
10114
|
+
"SpaceIntegrationsChannel": {
|
|
7635
10115
|
"type": "object",
|
|
7636
10116
|
"properties": {
|
|
7637
10117
|
"channel": {
|
|
7638
10118
|
"type": "string",
|
|
7639
10119
|
"enum": [
|
|
7640
|
-
"
|
|
10120
|
+
"space-integrations"
|
|
7641
10121
|
]
|
|
7642
10122
|
},
|
|
7643
|
-
"
|
|
10123
|
+
"space": {
|
|
7644
10124
|
"type": "string"
|
|
7645
10125
|
}
|
|
7646
10126
|
},
|
|
7647
10127
|
"required": [
|
|
7648
10128
|
"channel",
|
|
7649
|
-
"
|
|
10129
|
+
"space"
|
|
7650
10130
|
]
|
|
7651
10131
|
},
|
|
7652
|
-
"
|
|
10132
|
+
"UserAPITokensChannel": {
|
|
7653
10133
|
"type": "object",
|
|
7654
10134
|
"properties": {
|
|
7655
10135
|
"channel": {
|
|
7656
10136
|
"type": "string",
|
|
7657
10137
|
"enum": [
|
|
7658
|
-
"user-
|
|
10138
|
+
"user-api-tokens"
|
|
7659
10139
|
]
|
|
7660
10140
|
},
|
|
7661
10141
|
"user": {
|
|
@@ -7852,14 +10332,14 @@
|
|
|
7852
10332
|
"member"
|
|
7853
10333
|
]
|
|
7854
10334
|
},
|
|
7855
|
-
"
|
|
10335
|
+
"OrganizationSpacesChannel": {
|
|
7856
10336
|
"type": "object",
|
|
7857
|
-
"description": "Subscription channel for changes in
|
|
10337
|
+
"description": "Subscription channel for changes in spaces in an organization.",
|
|
7858
10338
|
"properties": {
|
|
7859
10339
|
"channel": {
|
|
7860
10340
|
"type": "string",
|
|
7861
10341
|
"enum": [
|
|
7862
|
-
"organization-
|
|
10342
|
+
"organization-spaces"
|
|
7863
10343
|
]
|
|
7864
10344
|
},
|
|
7865
10345
|
"organization": {
|
|
@@ -7871,56 +10351,55 @@
|
|
|
7871
10351
|
"organization"
|
|
7872
10352
|
]
|
|
7873
10353
|
},
|
|
7874
|
-
"
|
|
10354
|
+
"OrganizationEntitiesChannel": {
|
|
7875
10355
|
"type": "object",
|
|
7876
|
-
"description": "Subscription channel for
|
|
10356
|
+
"description": "Subscription channel for entities in an organization.",
|
|
7877
10357
|
"properties": {
|
|
7878
10358
|
"channel": {
|
|
7879
10359
|
"type": "string",
|
|
7880
10360
|
"enum": [
|
|
7881
|
-
"organization-
|
|
10361
|
+
"organization-entities"
|
|
7882
10362
|
]
|
|
7883
10363
|
},
|
|
7884
10364
|
"organization": {
|
|
7885
10365
|
"type": "string"
|
|
10366
|
+
},
|
|
10367
|
+
"entityType": {
|
|
10368
|
+
"type": "string"
|
|
7886
10369
|
}
|
|
7887
10370
|
},
|
|
7888
10371
|
"required": [
|
|
7889
10372
|
"channel",
|
|
7890
|
-
"organization"
|
|
10373
|
+
"organization",
|
|
10374
|
+
"entityType"
|
|
7891
10375
|
]
|
|
7892
10376
|
},
|
|
7893
|
-
"
|
|
10377
|
+
"OrganizationSchemasChannel": {
|
|
7894
10378
|
"type": "object",
|
|
7895
|
-
"description": "Subscription channel for
|
|
10379
|
+
"description": "Subscription channel for all entity schemas in an organization.",
|
|
7896
10380
|
"properties": {
|
|
7897
10381
|
"channel": {
|
|
7898
10382
|
"type": "string",
|
|
7899
10383
|
"enum": [
|
|
7900
|
-
"organization-
|
|
10384
|
+
"organization-schemas"
|
|
7901
10385
|
]
|
|
7902
10386
|
},
|
|
7903
10387
|
"organization": {
|
|
7904
10388
|
"type": "string"
|
|
7905
|
-
},
|
|
7906
|
-
"entityType": {
|
|
7907
|
-
"type": "string"
|
|
7908
10389
|
}
|
|
7909
10390
|
},
|
|
7910
10391
|
"required": [
|
|
7911
10392
|
"channel",
|
|
7912
|
-
"organization"
|
|
7913
|
-
"entityType"
|
|
10393
|
+
"organization"
|
|
7914
10394
|
]
|
|
7915
10395
|
},
|
|
7916
|
-
"
|
|
10396
|
+
"OrganizationCapturesChannel": {
|
|
7917
10397
|
"type": "object",
|
|
7918
|
-
"description": "Subscription channel for all entity schemas in an organization.",
|
|
7919
10398
|
"properties": {
|
|
7920
10399
|
"channel": {
|
|
7921
10400
|
"type": "string",
|
|
7922
10401
|
"enum": [
|
|
7923
|
-
"organization-
|
|
10402
|
+
"organization-captures"
|
|
7924
10403
|
]
|
|
7925
10404
|
},
|
|
7926
10405
|
"organization": {
|
|
@@ -7932,13 +10411,13 @@
|
|
|
7932
10411
|
"organization"
|
|
7933
10412
|
]
|
|
7934
10413
|
},
|
|
7935
|
-
"
|
|
10414
|
+
"OrganizationIntegrationsChannel": {
|
|
7936
10415
|
"type": "object",
|
|
7937
10416
|
"properties": {
|
|
7938
10417
|
"channel": {
|
|
7939
10418
|
"type": "string",
|
|
7940
10419
|
"enum": [
|
|
7941
|
-
"organization-
|
|
10420
|
+
"organization-integrations"
|
|
7942
10421
|
]
|
|
7943
10422
|
},
|
|
7944
10423
|
"organization": {
|
|
@@ -7950,13 +10429,13 @@
|
|
|
7950
10429
|
"organization"
|
|
7951
10430
|
]
|
|
7952
10431
|
},
|
|
7953
|
-
"
|
|
10432
|
+
"OrganizationInstallationsChannel": {
|
|
7954
10433
|
"type": "object",
|
|
7955
10434
|
"properties": {
|
|
7956
10435
|
"channel": {
|
|
7957
10436
|
"type": "string",
|
|
7958
10437
|
"enum": [
|
|
7959
|
-
"organization-
|
|
10438
|
+
"organization-installations"
|
|
7960
10439
|
]
|
|
7961
10440
|
},
|
|
7962
10441
|
"organization": {
|
|
@@ -7968,6 +10447,94 @@
|
|
|
7968
10447
|
"organization"
|
|
7969
10448
|
]
|
|
7970
10449
|
},
|
|
10450
|
+
"IntegrationChannel": {
|
|
10451
|
+
"type": "object",
|
|
10452
|
+
"properties": {
|
|
10453
|
+
"channel": {
|
|
10454
|
+
"type": "string",
|
|
10455
|
+
"enum": [
|
|
10456
|
+
"integration"
|
|
10457
|
+
]
|
|
10458
|
+
},
|
|
10459
|
+
"integration": {
|
|
10460
|
+
"type": "string"
|
|
10461
|
+
}
|
|
10462
|
+
},
|
|
10463
|
+
"required": [
|
|
10464
|
+
"channel",
|
|
10465
|
+
"integration"
|
|
10466
|
+
]
|
|
10467
|
+
},
|
|
10468
|
+
"IntegrationInstallationChannel": {
|
|
10469
|
+
"type": "object",
|
|
10470
|
+
"properties": {
|
|
10471
|
+
"channel": {
|
|
10472
|
+
"type": "string",
|
|
10473
|
+
"enum": [
|
|
10474
|
+
"integration-installation"
|
|
10475
|
+
]
|
|
10476
|
+
},
|
|
10477
|
+
"integration": {
|
|
10478
|
+
"type": "string"
|
|
10479
|
+
},
|
|
10480
|
+
"installation": {
|
|
10481
|
+
"type": "string"
|
|
10482
|
+
}
|
|
10483
|
+
},
|
|
10484
|
+
"required": [
|
|
10485
|
+
"channel",
|
|
10486
|
+
"integration",
|
|
10487
|
+
"installation"
|
|
10488
|
+
]
|
|
10489
|
+
},
|
|
10490
|
+
"IntegrationSpaceInstallationChannel": {
|
|
10491
|
+
"type": "object",
|
|
10492
|
+
"properties": {
|
|
10493
|
+
"channel": {
|
|
10494
|
+
"type": "string",
|
|
10495
|
+
"enum": [
|
|
10496
|
+
"integration-space-installation"
|
|
10497
|
+
]
|
|
10498
|
+
},
|
|
10499
|
+
"integration": {
|
|
10500
|
+
"type": "string"
|
|
10501
|
+
},
|
|
10502
|
+
"installation": {
|
|
10503
|
+
"type": "string"
|
|
10504
|
+
},
|
|
10505
|
+
"space": {
|
|
10506
|
+
"type": "string"
|
|
10507
|
+
}
|
|
10508
|
+
},
|
|
10509
|
+
"required": [
|
|
10510
|
+
"channel",
|
|
10511
|
+
"integration",
|
|
10512
|
+
"installation",
|
|
10513
|
+
"space"
|
|
10514
|
+
]
|
|
10515
|
+
},
|
|
10516
|
+
"IntegrationSpaceInstallationsChannel": {
|
|
10517
|
+
"type": "object",
|
|
10518
|
+
"properties": {
|
|
10519
|
+
"channel": {
|
|
10520
|
+
"type": "string",
|
|
10521
|
+
"enum": [
|
|
10522
|
+
"integration-space-installations"
|
|
10523
|
+
]
|
|
10524
|
+
},
|
|
10525
|
+
"integration": {
|
|
10526
|
+
"type": "string"
|
|
10527
|
+
},
|
|
10528
|
+
"installation": {
|
|
10529
|
+
"type": "string"
|
|
10530
|
+
}
|
|
10531
|
+
},
|
|
10532
|
+
"required": [
|
|
10533
|
+
"channel",
|
|
10534
|
+
"integration",
|
|
10535
|
+
"installation"
|
|
10536
|
+
]
|
|
10537
|
+
},
|
|
7971
10538
|
"CustomField": {
|
|
7972
10539
|
"type": "object",
|
|
7973
10540
|
"description": "Custom field",
|
|
@@ -8126,88 +10693,6 @@
|
|
|
8126
10693
|
"CustomFieldPlaceholder": {
|
|
8127
10694
|
"type": "string",
|
|
8128
10695
|
"maxLength": 100
|
|
8129
|
-
},
|
|
8130
|
-
"Environment": {
|
|
8131
|
-
"type": "object",
|
|
8132
|
-
"description": "An environment",
|
|
8133
|
-
"properties": {
|
|
8134
|
-
"id": {
|
|
8135
|
-
"type": "string"
|
|
8136
|
-
},
|
|
8137
|
-
"name": {
|
|
8138
|
-
"$ref": "#/components/schemas/EnvironmentName"
|
|
8139
|
-
},
|
|
8140
|
-
"title": {
|
|
8141
|
-
"$ref": "#/components/schemas/EnvironmentTitle"
|
|
8142
|
-
},
|
|
8143
|
-
"primary": {
|
|
8144
|
-
"$ref": "#/components/schemas/EnvironmentPrimary"
|
|
8145
|
-
},
|
|
8146
|
-
"urls": {
|
|
8147
|
-
"type": "object",
|
|
8148
|
-
"description": "URLs associated with the object",
|
|
8149
|
-
"properties": {
|
|
8150
|
-
"location": {
|
|
8151
|
-
"type": "string",
|
|
8152
|
-
"description": "URL of the environment in the API",
|
|
8153
|
-
"format": "uri"
|
|
8154
|
-
}
|
|
8155
|
-
},
|
|
8156
|
-
"required": [
|
|
8157
|
-
"location"
|
|
8158
|
-
]
|
|
8159
|
-
}
|
|
8160
|
-
},
|
|
8161
|
-
"required": [
|
|
8162
|
-
"id",
|
|
8163
|
-
"name",
|
|
8164
|
-
"title",
|
|
8165
|
-
"primary",
|
|
8166
|
-
"urls"
|
|
8167
|
-
]
|
|
8168
|
-
},
|
|
8169
|
-
"EnvironmentTitle": {
|
|
8170
|
-
"type": "string",
|
|
8171
|
-
"maxLength": 100
|
|
8172
|
-
},
|
|
8173
|
-
"EnvironmentPrimary": {
|
|
8174
|
-
"description": "Whether or not an environment is considered to have elevated responsibilities over other environments. Useful for distinguishing a production environment from a staging environment. Multiple primary environments are allowed. Your organization must have at least one primary environment.\n",
|
|
8175
|
-
"type": "boolean"
|
|
8176
|
-
},
|
|
8177
|
-
"EnvironmentName": {
|
|
8178
|
-
"type": "string",
|
|
8179
|
-
"pattern": "^[a-zA-Z_\\-0-9]+$",
|
|
8180
|
-
"maxLength": 50
|
|
8181
|
-
},
|
|
8182
|
-
"CreateEnvironment": {
|
|
8183
|
-
"type": "object",
|
|
8184
|
-
"properties": {
|
|
8185
|
-
"name": {
|
|
8186
|
-
"$ref": "#/components/schemas/EnvironmentName"
|
|
8187
|
-
},
|
|
8188
|
-
"title": {
|
|
8189
|
-
"$ref": "#/components/schemas/EnvironmentTitle"
|
|
8190
|
-
},
|
|
8191
|
-
"primary": {
|
|
8192
|
-
"$ref": "#/components/schemas/EnvironmentPrimary"
|
|
8193
|
-
}
|
|
8194
|
-
},
|
|
8195
|
-
"required": [
|
|
8196
|
-
"name",
|
|
8197
|
-
"title"
|
|
8198
|
-
]
|
|
8199
|
-
},
|
|
8200
|
-
"UpdateEnvironment": {
|
|
8201
|
-
"type": "object",
|
|
8202
|
-
"description": "An object containing the new title for an Environment",
|
|
8203
|
-
"properties": {
|
|
8204
|
-
"title": {
|
|
8205
|
-
"$ref": "#/components/schemas/EnvironmentTitle"
|
|
8206
|
-
},
|
|
8207
|
-
"primary": {
|
|
8208
|
-
"$ref": "#/components/schemas/EnvironmentPrimary"
|
|
8209
|
-
}
|
|
8210
|
-
}
|
|
8211
10696
|
}
|
|
8212
10697
|
},
|
|
8213
10698
|
"responses": {
|
|
@@ -8538,98 +11023,28 @@
|
|
|
8538
11023
|
"$ref": "#/components/responses/UnexpectedError"
|
|
8539
11024
|
}
|
|
8540
11025
|
}
|
|
8541
|
-
}
|
|
8542
|
-
},
|
|
8543
|
-
"/user": {
|
|
8544
|
-
"get": {
|
|
8545
|
-
"operationId": "getAuthenticatedUser",
|
|
8546
|
-
"summary": "Get profile of authenticated user",
|
|
8547
|
-
"tags": [
|
|
8548
|
-
"users"
|
|
8549
|
-
],
|
|
8550
|
-
"security": [
|
|
8551
|
-
{
|
|
8552
|
-
"user": []
|
|
8553
|
-
}
|
|
8554
|
-
],
|
|
8555
|
-
"description": "Returns details about the user associated with the authentication provided in the request's authorization header.\n",
|
|
8556
|
-
"responses": {
|
|
8557
|
-
"200": {
|
|
8558
|
-
"description": "OK",
|
|
8559
|
-
"content": {
|
|
8560
|
-
"application/json": {
|
|
8561
|
-
"schema": {
|
|
8562
|
-
"$ref": "#/components/schemas/User"
|
|
8563
|
-
}
|
|
8564
|
-
}
|
|
8565
|
-
}
|
|
8566
|
-
},
|
|
8567
|
-
"default": {
|
|
8568
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
8569
|
-
}
|
|
8570
|
-
}
|
|
8571
|
-
}
|
|
8572
|
-
},
|
|
8573
|
-
"/user/preferences": {
|
|
8574
|
-
"get": {
|
|
8575
|
-
"operationId": "getPreferencesForAuthenticatedUser",
|
|
8576
|
-
"summary": "Get the preferences for the currently authenticated user",
|
|
8577
|
-
"tags": [
|
|
8578
|
-
"users"
|
|
8579
|
-
],
|
|
8580
|
-
"security": [
|
|
8581
|
-
{
|
|
8582
|
-
"user": []
|
|
8583
|
-
}
|
|
8584
|
-
],
|
|
8585
|
-
"description": "Returns the preferences for the user associated with the authentication provided in the request's authorization header.\n",
|
|
8586
|
-
"responses": {
|
|
8587
|
-
"200": {
|
|
8588
|
-
"description": "OK",
|
|
8589
|
-
"content": {
|
|
8590
|
-
"application/json": {
|
|
8591
|
-
"schema": {
|
|
8592
|
-
"$ref": "#/components/schemas/UserPreferences"
|
|
8593
|
-
}
|
|
8594
|
-
}
|
|
8595
|
-
}
|
|
8596
|
-
},
|
|
8597
|
-
"default": {
|
|
8598
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
8599
|
-
}
|
|
8600
|
-
}
|
|
8601
|
-
},
|
|
8602
|
-
"patch": {
|
|
8603
|
-
"operationId": "updatePreferencesForAuthenticatedUser",
|
|
8604
|
-
"summary": "Update the preferences for the currently authenticated user",
|
|
8605
|
-
"tags": [
|
|
8606
|
-
"users"
|
|
8607
|
-
],
|
|
8608
|
-
"requestBody": {
|
|
8609
|
-
"required": true,
|
|
8610
|
-
"content": {
|
|
8611
|
-
"application/json": {
|
|
8612
|
-
"schema": {
|
|
8613
|
-
"type": "object",
|
|
8614
|
-
"properties": {
|
|
8615
|
-
"theme": {
|
|
8616
|
-
"$ref": "#/components/schemas/UserPreferencesTheme"
|
|
8617
|
-
}
|
|
8618
|
-
},
|
|
8619
|
-
"required": [
|
|
8620
|
-
"theme"
|
|
8621
|
-
]
|
|
8622
|
-
}
|
|
8623
|
-
}
|
|
11026
|
+
}
|
|
11027
|
+
},
|
|
11028
|
+
"/user": {
|
|
11029
|
+
"get": {
|
|
11030
|
+
"operationId": "getAuthenticatedUser",
|
|
11031
|
+
"summary": "Get profile of authenticated user",
|
|
11032
|
+
"tags": [
|
|
11033
|
+
"users"
|
|
11034
|
+
],
|
|
11035
|
+
"security": [
|
|
11036
|
+
{
|
|
11037
|
+
"user": []
|
|
8624
11038
|
}
|
|
8625
|
-
|
|
11039
|
+
],
|
|
11040
|
+
"description": "Returns details about the user associated with the authentication provided in the request's authorization header.\n",
|
|
8626
11041
|
"responses": {
|
|
8627
11042
|
"200": {
|
|
8628
|
-
"description": "
|
|
11043
|
+
"description": "OK",
|
|
8629
11044
|
"content": {
|
|
8630
11045
|
"application/json": {
|
|
8631
11046
|
"schema": {
|
|
8632
|
-
"$ref": "#/components/schemas/
|
|
11047
|
+
"$ref": "#/components/schemas/User"
|
|
8633
11048
|
}
|
|
8634
11049
|
}
|
|
8635
11050
|
}
|
|
@@ -8733,9 +11148,6 @@
|
|
|
8733
11148
|
"properties": {
|
|
8734
11149
|
"visibility": {
|
|
8735
11150
|
"$ref": "#/components/schemas/ContentVisibility"
|
|
8736
|
-
},
|
|
8737
|
-
"type": {
|
|
8738
|
-
"$ref": "#/components/schemas/SpaceType"
|
|
8739
11151
|
}
|
|
8740
11152
|
}
|
|
8741
11153
|
}
|
|
@@ -11644,203 +14056,6 @@
|
|
|
11644
14056
|
}
|
|
11645
14057
|
}
|
|
11646
14058
|
},
|
|
11647
|
-
"/spaces/{spaceId}/relations": {
|
|
11648
|
-
"get": {
|
|
11649
|
-
"operationId": "listSpaceRelations",
|
|
11650
|
-
"summary": "List all relations for a space",
|
|
11651
|
-
"tags": [
|
|
11652
|
-
"spaces"
|
|
11653
|
-
],
|
|
11654
|
-
"parameters": [
|
|
11655
|
-
{
|
|
11656
|
-
"$ref": "#/components/parameters/spaceId"
|
|
11657
|
-
},
|
|
11658
|
-
{
|
|
11659
|
-
"$ref": "#/components/parameters/listPage"
|
|
11660
|
-
},
|
|
11661
|
-
{
|
|
11662
|
-
"$ref": "#/components/parameters/listLimit"
|
|
11663
|
-
}
|
|
11664
|
-
],
|
|
11665
|
-
"responses": {
|
|
11666
|
-
"200": {
|
|
11667
|
-
"description": "OK",
|
|
11668
|
-
"content": {
|
|
11669
|
-
"application/json": {
|
|
11670
|
-
"schema": {
|
|
11671
|
-
"allOf": [
|
|
11672
|
-
{
|
|
11673
|
-
"$ref": "#/components/schemas/List"
|
|
11674
|
-
},
|
|
11675
|
-
{
|
|
11676
|
-
"type": "object",
|
|
11677
|
-
"required": [
|
|
11678
|
-
"items"
|
|
11679
|
-
],
|
|
11680
|
-
"properties": {
|
|
11681
|
-
"items": {
|
|
11682
|
-
"type": "array",
|
|
11683
|
-
"items": {
|
|
11684
|
-
"$ref": "#/components/schemas/SpaceRelation"
|
|
11685
|
-
}
|
|
11686
|
-
}
|
|
11687
|
-
}
|
|
11688
|
-
}
|
|
11689
|
-
]
|
|
11690
|
-
}
|
|
11691
|
-
}
|
|
11692
|
-
}
|
|
11693
|
-
},
|
|
11694
|
-
"default": {
|
|
11695
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
11696
|
-
}
|
|
11697
|
-
}
|
|
11698
|
-
},
|
|
11699
|
-
"post": {
|
|
11700
|
-
"operationId": "createSpaceRelation",
|
|
11701
|
-
"summary": "Create a new relation between a source space and a target space",
|
|
11702
|
-
"tags": [
|
|
11703
|
-
"spaces"
|
|
11704
|
-
],
|
|
11705
|
-
"security": [
|
|
11706
|
-
{
|
|
11707
|
-
"user": []
|
|
11708
|
-
}
|
|
11709
|
-
],
|
|
11710
|
-
"parameters": [
|
|
11711
|
-
{
|
|
11712
|
-
"$ref": "#/components/parameters/spaceId"
|
|
11713
|
-
}
|
|
11714
|
-
],
|
|
11715
|
-
"requestBody": {
|
|
11716
|
-
"required": true,
|
|
11717
|
-
"content": {
|
|
11718
|
-
"application/json": {
|
|
11719
|
-
"schema": {
|
|
11720
|
-
"type": "object",
|
|
11721
|
-
"properties": {
|
|
11722
|
-
"target": {
|
|
11723
|
-
"type": "string",
|
|
11724
|
-
"description": "ID of the other space"
|
|
11725
|
-
},
|
|
11726
|
-
"type": {
|
|
11727
|
-
"$ref": "#/components/schemas/SpaceRelationType"
|
|
11728
|
-
}
|
|
11729
|
-
},
|
|
11730
|
-
"required": [
|
|
11731
|
-
"target",
|
|
11732
|
-
"type"
|
|
11733
|
-
]
|
|
11734
|
-
}
|
|
11735
|
-
}
|
|
11736
|
-
}
|
|
11737
|
-
},
|
|
11738
|
-
"responses": {
|
|
11739
|
-
"201": {
|
|
11740
|
-
"description": "Space relation created",
|
|
11741
|
-
"headers": {
|
|
11742
|
-
"Location": {
|
|
11743
|
-
"description": "API URL for the newly created space relation",
|
|
11744
|
-
"schema": {
|
|
11745
|
-
"type": "string"
|
|
11746
|
-
}
|
|
11747
|
-
}
|
|
11748
|
-
},
|
|
11749
|
-
"content": {
|
|
11750
|
-
"application/json": {
|
|
11751
|
-
"schema": {
|
|
11752
|
-
"$ref": "#/components/schemas/SpaceRelation"
|
|
11753
|
-
}
|
|
11754
|
-
}
|
|
11755
|
-
}
|
|
11756
|
-
},
|
|
11757
|
-
"default": {
|
|
11758
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
11759
|
-
}
|
|
11760
|
-
}
|
|
11761
|
-
}
|
|
11762
|
-
},
|
|
11763
|
-
"/spaces/{spaceId}/relations/{targetSpaceId}": {
|
|
11764
|
-
"get": {
|
|
11765
|
-
"operationId": "getSpaceRelation",
|
|
11766
|
-
"summary": "Get the relation between 2 spaces.",
|
|
11767
|
-
"tags": [
|
|
11768
|
-
"spaces"
|
|
11769
|
-
],
|
|
11770
|
-
"security": [
|
|
11771
|
-
{
|
|
11772
|
-
"user": []
|
|
11773
|
-
}
|
|
11774
|
-
],
|
|
11775
|
-
"parameters": [
|
|
11776
|
-
{
|
|
11777
|
-
"$ref": "#/components/parameters/spaceId"
|
|
11778
|
-
},
|
|
11779
|
-
{
|
|
11780
|
-
"name": "targetSpaceId",
|
|
11781
|
-
"in": "path",
|
|
11782
|
-
"required": true,
|
|
11783
|
-
"description": "The ID of the other space",
|
|
11784
|
-
"schema": {
|
|
11785
|
-
"type": "string"
|
|
11786
|
-
}
|
|
11787
|
-
}
|
|
11788
|
-
],
|
|
11789
|
-
"responses": {
|
|
11790
|
-
"200": {
|
|
11791
|
-
"description": "OK",
|
|
11792
|
-
"content": {
|
|
11793
|
-
"application/json": {
|
|
11794
|
-
"schema": {
|
|
11795
|
-
"$ref": "#/components/schemas/SpaceRelation"
|
|
11796
|
-
}
|
|
11797
|
-
}
|
|
11798
|
-
}
|
|
11799
|
-
},
|
|
11800
|
-
"404": {
|
|
11801
|
-
"description": "No matching relation found",
|
|
11802
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11803
|
-
},
|
|
11804
|
-
"default": {
|
|
11805
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
11806
|
-
}
|
|
11807
|
-
}
|
|
11808
|
-
},
|
|
11809
|
-
"delete": {
|
|
11810
|
-
"operationId": "deleteSpaceRelation",
|
|
11811
|
-
"summary": "Delete a relation between spaces",
|
|
11812
|
-
"tags": [
|
|
11813
|
-
"spaces"
|
|
11814
|
-
],
|
|
11815
|
-
"security": [
|
|
11816
|
-
{
|
|
11817
|
-
"user": []
|
|
11818
|
-
}
|
|
11819
|
-
],
|
|
11820
|
-
"parameters": [
|
|
11821
|
-
{
|
|
11822
|
-
"$ref": "#/components/parameters/spaceId"
|
|
11823
|
-
},
|
|
11824
|
-
{
|
|
11825
|
-
"name": "targetSpaceId",
|
|
11826
|
-
"in": "path",
|
|
11827
|
-
"required": true,
|
|
11828
|
-
"description": "The ID of the other space",
|
|
11829
|
-
"schema": {
|
|
11830
|
-
"type": "string"
|
|
11831
|
-
}
|
|
11832
|
-
}
|
|
11833
|
-
],
|
|
11834
|
-
"responses": {
|
|
11835
|
-
"204": {
|
|
11836
|
-
"description": "Relation has been deleted"
|
|
11837
|
-
},
|
|
11838
|
-
"default": {
|
|
11839
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
11840
|
-
}
|
|
11841
|
-
}
|
|
11842
|
-
}
|
|
11843
|
-
},
|
|
11844
14059
|
"/spaces/{spaceId}/custom-fields": {
|
|
11845
14060
|
"get": {
|
|
11846
14061
|
"operationId": "getSpaceCustomFields",
|
|
@@ -12211,6 +14426,24 @@
|
|
|
12211
14426
|
},
|
|
12212
14427
|
{
|
|
12213
14428
|
"$ref": "#/components/parameters/listLimit"
|
|
14429
|
+
},
|
|
14430
|
+
{
|
|
14431
|
+
"name": "category",
|
|
14432
|
+
"in": "query",
|
|
14433
|
+
"description": "Filter the integrations by category",
|
|
14434
|
+
"schema": {
|
|
14435
|
+
"$ref": "#/components/schemas/IntegrationCategory"
|
|
14436
|
+
}
|
|
14437
|
+
},
|
|
14438
|
+
{
|
|
14439
|
+
"name": "blockDomain",
|
|
14440
|
+
"in": "query",
|
|
14441
|
+
"description": "Filter the integrations by block's domains",
|
|
14442
|
+
"schema": {
|
|
14443
|
+
"type": "string",
|
|
14444
|
+
"pattern": "^[a-zA-Z0-9-_.]+$",
|
|
14445
|
+
"maxLength": 100
|
|
14446
|
+
}
|
|
12214
14447
|
}
|
|
12215
14448
|
],
|
|
12216
14449
|
"responses": {
|
|
@@ -13014,17 +15247,71 @@
|
|
|
13014
15247
|
}
|
|
13015
15248
|
}
|
|
13016
15249
|
},
|
|
13017
|
-
"404": {
|
|
13018
|
-
"description": "Installation could not be found",
|
|
13019
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
13020
|
-
},
|
|
15250
|
+
"404": {
|
|
15251
|
+
"description": "Installation could not be found",
|
|
15252
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
15253
|
+
},
|
|
15254
|
+
"default": {
|
|
15255
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15256
|
+
}
|
|
15257
|
+
}
|
|
15258
|
+
}
|
|
15259
|
+
},
|
|
15260
|
+
"/integrations/{integrationName}/installations/{installationId}/spaces": {
|
|
15261
|
+
"get": {
|
|
15262
|
+
"operationId": "listIntegrationInstallationSpaces",
|
|
15263
|
+
"summary": "List installations on spaces for an integration in an organization",
|
|
15264
|
+
"tags": [
|
|
15265
|
+
"integrations"
|
|
15266
|
+
],
|
|
15267
|
+
"parameters": [
|
|
15268
|
+
{
|
|
15269
|
+
"$ref": "#/components/parameters/integrationName"
|
|
15270
|
+
},
|
|
15271
|
+
{
|
|
15272
|
+
"$ref": "#/components/parameters/installationId"
|
|
15273
|
+
},
|
|
15274
|
+
{
|
|
15275
|
+
"$ref": "#/components/parameters/listPage"
|
|
15276
|
+
},
|
|
15277
|
+
{
|
|
15278
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15279
|
+
}
|
|
15280
|
+
],
|
|
15281
|
+
"responses": {
|
|
15282
|
+
"200": {
|
|
15283
|
+
"description": "OK",
|
|
15284
|
+
"content": {
|
|
15285
|
+
"application/json": {
|
|
15286
|
+
"schema": {
|
|
15287
|
+
"allOf": [
|
|
15288
|
+
{
|
|
15289
|
+
"$ref": "#/components/schemas/List"
|
|
15290
|
+
},
|
|
15291
|
+
{
|
|
15292
|
+
"type": "object",
|
|
15293
|
+
"required": [
|
|
15294
|
+
"items"
|
|
15295
|
+
],
|
|
15296
|
+
"properties": {
|
|
15297
|
+
"items": {
|
|
15298
|
+
"type": "array",
|
|
15299
|
+
"items": {
|
|
15300
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
15301
|
+
}
|
|
15302
|
+
}
|
|
15303
|
+
}
|
|
15304
|
+
}
|
|
15305
|
+
]
|
|
15306
|
+
}
|
|
15307
|
+
}
|
|
15308
|
+
}
|
|
15309
|
+
},
|
|
13021
15310
|
"default": {
|
|
13022
15311
|
"$ref": "#/components/responses/UnexpectedError"
|
|
13023
15312
|
}
|
|
13024
15313
|
}
|
|
13025
|
-
}
|
|
13026
|
-
},
|
|
13027
|
-
"/integrations/{integrationName}/installations/{installationId}/spaces": {
|
|
15314
|
+
},
|
|
13028
15315
|
"post": {
|
|
13029
15316
|
"operationId": "installIntegrationOnSpace",
|
|
13030
15317
|
"summary": "Install integration on a space using an existing installation",
|
|
@@ -14039,7 +16326,7 @@
|
|
|
14039
16326
|
"get": {
|
|
14040
16327
|
"operationId": "listTeamMembersInOrganizationById",
|
|
14041
16328
|
"summary": "List team members",
|
|
14042
|
-
"description": "Lists members for the specified organization team.\n",
|
|
16329
|
+
"description": "Lists members, and their roles, for the specified organization team.\n",
|
|
14043
16330
|
"tags": [
|
|
14044
16331
|
"organizations"
|
|
14045
16332
|
],
|
|
@@ -14081,7 +16368,7 @@
|
|
|
14081
16368
|
"items": {
|
|
14082
16369
|
"type": "array",
|
|
14083
16370
|
"items": {
|
|
14084
|
-
"$ref": "#/components/schemas/
|
|
16371
|
+
"$ref": "#/components/schemas/OrganizationTeamMember"
|
|
14085
16372
|
}
|
|
14086
16373
|
}
|
|
14087
16374
|
}
|
|
@@ -15265,10 +17552,10 @@
|
|
|
15265
17552
|
}
|
|
15266
17553
|
}
|
|
15267
17554
|
},
|
|
15268
|
-
"/orgs/{organizationId}/
|
|
17555
|
+
"/orgs/{organizationId}/integrations": {
|
|
15269
17556
|
"get": {
|
|
15270
|
-
"operationId": "
|
|
15271
|
-
"summary": "List
|
|
17557
|
+
"operationId": "listOrganizationIntegrations",
|
|
17558
|
+
"summary": "List integrations owned by an organization",
|
|
15272
17559
|
"tags": [
|
|
15273
17560
|
"spaces"
|
|
15274
17561
|
],
|
|
@@ -15285,7 +17572,7 @@
|
|
|
15285
17572
|
],
|
|
15286
17573
|
"responses": {
|
|
15287
17574
|
"200": {
|
|
15288
|
-
"description": "
|
|
17575
|
+
"description": "List of integrations.",
|
|
15289
17576
|
"content": {
|
|
15290
17577
|
"application/json": {
|
|
15291
17578
|
"schema": {
|
|
@@ -15302,7 +17589,7 @@
|
|
|
15302
17589
|
"items": {
|
|
15303
17590
|
"type": "array",
|
|
15304
17591
|
"items": {
|
|
15305
|
-
"$ref": "#/components/schemas/
|
|
17592
|
+
"$ref": "#/components/schemas/Integration"
|
|
15306
17593
|
}
|
|
15307
17594
|
}
|
|
15308
17595
|
}
|
|
@@ -15318,18 +17605,12 @@
|
|
|
15318
17605
|
}
|
|
15319
17606
|
}
|
|
15320
17607
|
},
|
|
15321
|
-
"/orgs/{organizationId}/
|
|
17608
|
+
"/orgs/{organizationId}/installations": {
|
|
15322
17609
|
"get": {
|
|
15323
|
-
"operationId": "
|
|
15324
|
-
"summary": "
|
|
17610
|
+
"operationId": "listOrganizationInstallations",
|
|
17611
|
+
"summary": "List installations of integrations in an organization.",
|
|
15325
17612
|
"tags": [
|
|
15326
|
-
"
|
|
15327
|
-
"environments"
|
|
15328
|
-
],
|
|
15329
|
-
"security": [
|
|
15330
|
-
{
|
|
15331
|
-
"user": []
|
|
15332
|
-
}
|
|
17613
|
+
"spaces"
|
|
15333
17614
|
],
|
|
15334
17615
|
"parameters": [
|
|
15335
17616
|
{
|
|
@@ -15344,7 +17625,7 @@
|
|
|
15344
17625
|
],
|
|
15345
17626
|
"responses": {
|
|
15346
17627
|
"200": {
|
|
15347
|
-
"description": "
|
|
17628
|
+
"description": "List of integrations with the associated installations.",
|
|
15348
17629
|
"content": {
|
|
15349
17630
|
"application/json": {
|
|
15350
17631
|
"schema": {
|
|
@@ -15354,11 +17635,26 @@
|
|
|
15354
17635
|
},
|
|
15355
17636
|
{
|
|
15356
17637
|
"type": "object",
|
|
17638
|
+
"required": [
|
|
17639
|
+
"items"
|
|
17640
|
+
],
|
|
15357
17641
|
"properties": {
|
|
15358
17642
|
"items": {
|
|
15359
17643
|
"type": "array",
|
|
15360
17644
|
"items": {
|
|
15361
|
-
"
|
|
17645
|
+
"type": "object",
|
|
17646
|
+
"properties": {
|
|
17647
|
+
"installation": {
|
|
17648
|
+
"$ref": "#/components/schemas/IntegrationInstallation"
|
|
17649
|
+
},
|
|
17650
|
+
"integration": {
|
|
17651
|
+
"$ref": "#/components/schemas/Integration"
|
|
17652
|
+
}
|
|
17653
|
+
},
|
|
17654
|
+
"required": [
|
|
17655
|
+
"integration",
|
|
17656
|
+
"installation"
|
|
17657
|
+
]
|
|
15362
17658
|
}
|
|
15363
17659
|
}
|
|
15364
17660
|
}
|
|
@@ -15367,171 +17663,6 @@
|
|
|
15367
17663
|
}
|
|
15368
17664
|
}
|
|
15369
17665
|
}
|
|
15370
|
-
}
|
|
15371
|
-
}
|
|
15372
|
-
},
|
|
15373
|
-
"post": {
|
|
15374
|
-
"operationId": "createEnvironment",
|
|
15375
|
-
"summary": "Create a new environment within an organization",
|
|
15376
|
-
"tags": [
|
|
15377
|
-
"organizations",
|
|
15378
|
-
"environments"
|
|
15379
|
-
],
|
|
15380
|
-
"security": [
|
|
15381
|
-
{
|
|
15382
|
-
"user": []
|
|
15383
|
-
}
|
|
15384
|
-
],
|
|
15385
|
-
"parameters": [
|
|
15386
|
-
{
|
|
15387
|
-
"$ref": "#/components/parameters/organizationId"
|
|
15388
|
-
}
|
|
15389
|
-
],
|
|
15390
|
-
"requestBody": {
|
|
15391
|
-
"required": true,
|
|
15392
|
-
"content": {
|
|
15393
|
-
"application/json": {
|
|
15394
|
-
"schema": {
|
|
15395
|
-
"$ref": "#/components/schemas/CreateEnvironment"
|
|
15396
|
-
}
|
|
15397
|
-
}
|
|
15398
|
-
}
|
|
15399
|
-
},
|
|
15400
|
-
"responses": {
|
|
15401
|
-
"201": {
|
|
15402
|
-
"description": "OK",
|
|
15403
|
-
"headers": {
|
|
15404
|
-
"Location": {
|
|
15405
|
-
"description": "API URL for the newly created environment",
|
|
15406
|
-
"schema": {
|
|
15407
|
-
"type": "string"
|
|
15408
|
-
}
|
|
15409
|
-
}
|
|
15410
|
-
},
|
|
15411
|
-
"content": {
|
|
15412
|
-
"application/json": {
|
|
15413
|
-
"schema": {
|
|
15414
|
-
"$ref": "#/components/schemas/Environment"
|
|
15415
|
-
}
|
|
15416
|
-
}
|
|
15417
|
-
}
|
|
15418
|
-
},
|
|
15419
|
-
"default": {
|
|
15420
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
15421
|
-
}
|
|
15422
|
-
}
|
|
15423
|
-
}
|
|
15424
|
-
},
|
|
15425
|
-
"/orgs/{organizationId}/environments/{environmentName}": {
|
|
15426
|
-
"get": {
|
|
15427
|
-
"operationId": "getEnvironmentByName",
|
|
15428
|
-
"summary": "Get an environment by its name",
|
|
15429
|
-
"tags": [
|
|
15430
|
-
"organizations",
|
|
15431
|
-
"environments"
|
|
15432
|
-
],
|
|
15433
|
-
"security": [
|
|
15434
|
-
{
|
|
15435
|
-
"user": []
|
|
15436
|
-
}
|
|
15437
|
-
],
|
|
15438
|
-
"parameters": [
|
|
15439
|
-
{
|
|
15440
|
-
"$ref": "#/components/parameters/organizationId"
|
|
15441
|
-
},
|
|
15442
|
-
{
|
|
15443
|
-
"$ref": "#/components/parameters/environmentName"
|
|
15444
|
-
}
|
|
15445
|
-
],
|
|
15446
|
-
"responses": {
|
|
15447
|
-
"200": {
|
|
15448
|
-
"description": "OK",
|
|
15449
|
-
"content": {
|
|
15450
|
-
"application/json": {
|
|
15451
|
-
"schema": {
|
|
15452
|
-
"$ref": "#/components/schemas/Environment"
|
|
15453
|
-
}
|
|
15454
|
-
}
|
|
15455
|
-
}
|
|
15456
|
-
},
|
|
15457
|
-
"404": {
|
|
15458
|
-
"description": "No matching environment found",
|
|
15459
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
15460
|
-
},
|
|
15461
|
-
"default": {
|
|
15462
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
15463
|
-
}
|
|
15464
|
-
}
|
|
15465
|
-
},
|
|
15466
|
-
"patch": {
|
|
15467
|
-
"operationId": "updateEnvironment",
|
|
15468
|
-
"summary": "Update an existing environment within an organization",
|
|
15469
|
-
"tags": [
|
|
15470
|
-
"organizations",
|
|
15471
|
-
"environments"
|
|
15472
|
-
],
|
|
15473
|
-
"security": [
|
|
15474
|
-
{
|
|
15475
|
-
"user": []
|
|
15476
|
-
}
|
|
15477
|
-
],
|
|
15478
|
-
"parameters": [
|
|
15479
|
-
{
|
|
15480
|
-
"$ref": "#/components/parameters/organizationId"
|
|
15481
|
-
},
|
|
15482
|
-
{
|
|
15483
|
-
"$ref": "#/components/parameters/environmentName"
|
|
15484
|
-
}
|
|
15485
|
-
],
|
|
15486
|
-
"requestBody": {
|
|
15487
|
-
"required": true,
|
|
15488
|
-
"content": {
|
|
15489
|
-
"application/json": {
|
|
15490
|
-
"schema": {
|
|
15491
|
-
"$ref": "#/components/schemas/UpdateEnvironment"
|
|
15492
|
-
}
|
|
15493
|
-
}
|
|
15494
|
-
}
|
|
15495
|
-
},
|
|
15496
|
-
"responses": {
|
|
15497
|
-
"200": {
|
|
15498
|
-
"description": "OK",
|
|
15499
|
-
"content": {
|
|
15500
|
-
"application/json": {
|
|
15501
|
-
"schema": {
|
|
15502
|
-
"$ref": "#/components/schemas/Environment"
|
|
15503
|
-
}
|
|
15504
|
-
}
|
|
15505
|
-
}
|
|
15506
|
-
},
|
|
15507
|
-
"default": {
|
|
15508
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
15509
|
-
}
|
|
15510
|
-
}
|
|
15511
|
-
},
|
|
15512
|
-
"delete": {
|
|
15513
|
-
"operationId": "deleteEnvironment",
|
|
15514
|
-
"summary": "Delete an environment in an organization",
|
|
15515
|
-
"tags": [
|
|
15516
|
-
"organizations",
|
|
15517
|
-
"environments"
|
|
15518
|
-
],
|
|
15519
|
-
"security": [
|
|
15520
|
-
{
|
|
15521
|
-
"user": []
|
|
15522
|
-
}
|
|
15523
|
-
],
|
|
15524
|
-
"parameters": [
|
|
15525
|
-
{
|
|
15526
|
-
"$ref": "#/components/parameters/organizationId"
|
|
15527
|
-
},
|
|
15528
|
-
{
|
|
15529
|
-
"$ref": "#/components/parameters/environmentName"
|
|
15530
|
-
}
|
|
15531
|
-
],
|
|
15532
|
-
"responses": {
|
|
15533
|
-
"204": {
|
|
15534
|
-
"description": "Environment has been deleted"
|
|
15535
17666
|
},
|
|
15536
17667
|
"default": {
|
|
15537
17668
|
"$ref": "#/components/responses/UnexpectedError"
|
|
@@ -15896,6 +18027,18 @@
|
|
|
15896
18027
|
},
|
|
15897
18028
|
{
|
|
15898
18029
|
"$ref": "#/components/parameters/listLimit"
|
|
18030
|
+
},
|
|
18031
|
+
{
|
|
18032
|
+
"name": "context",
|
|
18033
|
+
"in": "query",
|
|
18034
|
+
"description": "The context in which the item was captured",
|
|
18035
|
+
"schema": {
|
|
18036
|
+
"type": "string",
|
|
18037
|
+
"enum": [
|
|
18038
|
+
"walkthrough",
|
|
18039
|
+
"thread"
|
|
18040
|
+
]
|
|
18041
|
+
}
|
|
15899
18042
|
}
|
|
15900
18043
|
],
|
|
15901
18044
|
"responses": {
|
|
@@ -16068,6 +18211,54 @@
|
|
|
16068
18211
|
"$ref": "#/components/responses/UnexpectedError"
|
|
16069
18212
|
}
|
|
16070
18213
|
}
|
|
18214
|
+
},
|
|
18215
|
+
"put": {
|
|
18216
|
+
"operationId": "updateCapture",
|
|
18217
|
+
"summary": "Update an existing capture",
|
|
18218
|
+
"tags": [
|
|
18219
|
+
"organizations"
|
|
18220
|
+
],
|
|
18221
|
+
"security": [
|
|
18222
|
+
{
|
|
18223
|
+
"user": []
|
|
18224
|
+
}
|
|
18225
|
+
],
|
|
18226
|
+
"parameters": [
|
|
18227
|
+
{
|
|
18228
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18229
|
+
},
|
|
18230
|
+
{
|
|
18231
|
+
"$ref": "#/components/parameters/captureId"
|
|
18232
|
+
},
|
|
18233
|
+
{
|
|
18234
|
+
"$ref": "#/components/parameters/ifUnmodifiedSince"
|
|
18235
|
+
}
|
|
18236
|
+
],
|
|
18237
|
+
"requestBody": {
|
|
18238
|
+
"required": true,
|
|
18239
|
+
"content": {
|
|
18240
|
+
"application/json": {
|
|
18241
|
+
"schema": {
|
|
18242
|
+
"$ref": "#/components/schemas/UpdateCaptureSchema"
|
|
18243
|
+
}
|
|
18244
|
+
}
|
|
18245
|
+
}
|
|
18246
|
+
},
|
|
18247
|
+
"responses": {
|
|
18248
|
+
"200": {
|
|
18249
|
+
"description": "OK",
|
|
18250
|
+
"content": {
|
|
18251
|
+
"application/json": {
|
|
18252
|
+
"schema": {
|
|
18253
|
+
"$ref": "#/components/schemas/Capture"
|
|
18254
|
+
}
|
|
18255
|
+
}
|
|
18256
|
+
}
|
|
18257
|
+
},
|
|
18258
|
+
"default": {
|
|
18259
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18260
|
+
}
|
|
18261
|
+
}
|
|
16071
18262
|
}
|
|
16072
18263
|
},
|
|
16073
18264
|
"/orgs/{organizationId}/captures/{captureId}/events": {
|
|
@@ -16356,6 +18547,41 @@
|
|
|
16356
18547
|
}
|
|
16357
18548
|
}
|
|
16358
18549
|
}
|
|
18550
|
+
},
|
|
18551
|
+
"/urls/embed": {
|
|
18552
|
+
"get": {
|
|
18553
|
+
"operationId": "getEmbedByUrl",
|
|
18554
|
+
"summary": "Resolve a URL to an embed",
|
|
18555
|
+
"tags": [
|
|
18556
|
+
"urls"
|
|
18557
|
+
],
|
|
18558
|
+
"parameters": [
|
|
18559
|
+
{
|
|
18560
|
+
"name": "url",
|
|
18561
|
+
"in": "query",
|
|
18562
|
+
"required": true,
|
|
18563
|
+
"description": "URL to resolve",
|
|
18564
|
+
"schema": {
|
|
18565
|
+
"type": "string"
|
|
18566
|
+
}
|
|
18567
|
+
}
|
|
18568
|
+
],
|
|
18569
|
+
"responses": {
|
|
18570
|
+
"200": {
|
|
18571
|
+
"description": "OK",
|
|
18572
|
+
"content": {
|
|
18573
|
+
"application/json": {
|
|
18574
|
+
"schema": {
|
|
18575
|
+
"$ref": "#/components/schemas/Embed"
|
|
18576
|
+
}
|
|
18577
|
+
}
|
|
18578
|
+
}
|
|
18579
|
+
},
|
|
18580
|
+
"default": {
|
|
18581
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18582
|
+
}
|
|
18583
|
+
}
|
|
18584
|
+
}
|
|
16359
18585
|
}
|
|
16360
18586
|
}
|
|
16361
18587
|
}
|