@gitbook/api 0.11.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +332 -27
- package/dist/index.cjs +94 -0
- package/dist/index.js +89 -0
- package/package.json +1 -1
- package/spec/openapi.json +1305 -253
- package/spec/openapi.yaml +830 -129
package/spec/openapi.yaml
CHANGED
|
@@ -241,6 +241,9 @@ components:
|
|
|
241
241
|
URL:
|
|
242
242
|
type: string
|
|
243
243
|
format: uri
|
|
244
|
+
Color:
|
|
245
|
+
type: string
|
|
246
|
+
pattern: ^#(?:[0-9a-fA-F]{3}){1,2}$
|
|
244
247
|
Date:
|
|
245
248
|
type: string
|
|
246
249
|
format: date
|
|
@@ -965,7 +968,12 @@ components:
|
|
|
965
968
|
Document:
|
|
966
969
|
oneOf:
|
|
967
970
|
- $ref: "#/components/schemas/MarkdownDocument"
|
|
968
|
-
-
|
|
971
|
+
- type: object
|
|
972
|
+
properties:
|
|
973
|
+
document:
|
|
974
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
975
|
+
required:
|
|
976
|
+
- document
|
|
969
977
|
- type: object
|
|
970
978
|
properties: {}
|
|
971
979
|
additionalProperties: false
|
|
@@ -978,29 +986,23 @@ components:
|
|
|
978
986
|
required:
|
|
979
987
|
- markdown
|
|
980
988
|
JSONDocument:
|
|
981
|
-
type: object
|
|
982
989
|
properties:
|
|
983
|
-
|
|
990
|
+
object:
|
|
991
|
+
type: string
|
|
992
|
+
enum:
|
|
993
|
+
- document
|
|
994
|
+
data:
|
|
984
995
|
type: object
|
|
985
|
-
properties:
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
type: object
|
|
992
|
-
properties: {}
|
|
993
|
-
additionalProperties: false
|
|
994
|
-
nodes:
|
|
995
|
-
type: array
|
|
996
|
-
items:
|
|
997
|
-
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
998
|
-
required:
|
|
999
|
-
- object
|
|
1000
|
-
- data
|
|
1001
|
-
- nodes
|
|
996
|
+
properties: {}
|
|
997
|
+
additionalProperties: false
|
|
998
|
+
nodes:
|
|
999
|
+
type: array
|
|
1000
|
+
items:
|
|
1001
|
+
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
1002
1002
|
required:
|
|
1003
|
-
-
|
|
1003
|
+
- object
|
|
1004
|
+
- data
|
|
1005
|
+
- nodes
|
|
1004
1006
|
DocumentBlocksEssentials:
|
|
1005
1007
|
oneOf:
|
|
1006
1008
|
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -1079,84 +1081,110 @@ components:
|
|
|
1079
1081
|
- object
|
|
1080
1082
|
- text
|
|
1081
1083
|
- marks
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1084
|
+
DocumentMarkBold:
|
|
1085
|
+
type: object
|
|
1086
|
+
properties:
|
|
1087
|
+
object:
|
|
1088
|
+
type: string
|
|
1089
|
+
enum:
|
|
1090
|
+
- mark
|
|
1091
|
+
type:
|
|
1092
|
+
type: string
|
|
1093
|
+
enum:
|
|
1094
|
+
- bold
|
|
1095
|
+
required:
|
|
1096
|
+
- object
|
|
1097
|
+
- type
|
|
1098
|
+
DocumentMarkItalic:
|
|
1099
|
+
type: object
|
|
1100
|
+
properties:
|
|
1101
|
+
object:
|
|
1102
|
+
type: string
|
|
1103
|
+
enum:
|
|
1104
|
+
- mark
|
|
1105
|
+
type:
|
|
1106
|
+
type: string
|
|
1107
|
+
enum:
|
|
1108
|
+
- italic
|
|
1109
|
+
required:
|
|
1110
|
+
- object
|
|
1111
|
+
- type
|
|
1112
|
+
DocumentMarkCode:
|
|
1113
|
+
type: object
|
|
1114
|
+
properties:
|
|
1115
|
+
object:
|
|
1116
|
+
type: string
|
|
1117
|
+
enum:
|
|
1118
|
+
- mark
|
|
1119
|
+
type:
|
|
1120
|
+
type: string
|
|
1121
|
+
enum:
|
|
1122
|
+
- code
|
|
1123
|
+
required:
|
|
1124
|
+
- object
|
|
1125
|
+
- type
|
|
1126
|
+
DocumentMarkStrikethrough:
|
|
1127
|
+
type: object
|
|
1128
|
+
properties:
|
|
1129
|
+
object:
|
|
1130
|
+
type: string
|
|
1131
|
+
enum:
|
|
1132
|
+
- mark
|
|
1133
|
+
type:
|
|
1134
|
+
type: string
|
|
1135
|
+
enum:
|
|
1136
|
+
- strikethrough
|
|
1137
|
+
required:
|
|
1138
|
+
- object
|
|
1139
|
+
- type
|
|
1140
|
+
DocumentMarkColor:
|
|
1141
|
+
type: object
|
|
1142
|
+
properties:
|
|
1143
|
+
object:
|
|
1144
|
+
type: string
|
|
1145
|
+
enum:
|
|
1146
|
+
- mark
|
|
1147
|
+
type:
|
|
1148
|
+
type: string
|
|
1149
|
+
enum:
|
|
1150
|
+
- color
|
|
1151
|
+
data:
|
|
1152
|
+
type: object
|
|
1085
1153
|
properties:
|
|
1086
|
-
|
|
1154
|
+
text:
|
|
1155
|
+
type: string
|
|
1156
|
+
enum:
|
|
1157
|
+
- default
|
|
1158
|
+
- green
|
|
1159
|
+
- blue
|
|
1160
|
+
- red
|
|
1161
|
+
- orange
|
|
1162
|
+
- yellow
|
|
1163
|
+
- purple
|
|
1164
|
+
background:
|
|
1087
1165
|
type: string
|
|
1088
1166
|
enum:
|
|
1089
|
-
-
|
|
1167
|
+
- default
|
|
1168
|
+
- green
|
|
1169
|
+
- blue
|
|
1170
|
+
- red
|
|
1171
|
+
- orange
|
|
1172
|
+
- yellow
|
|
1173
|
+
- purple
|
|
1090
1174
|
required:
|
|
1091
|
-
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
type: string
|
|
1105
|
-
enum:
|
|
1106
|
-
- italic
|
|
1107
|
-
required:
|
|
1108
|
-
- type
|
|
1109
|
-
- type: object
|
|
1110
|
-
properties:
|
|
1111
|
-
type:
|
|
1112
|
-
type: string
|
|
1113
|
-
enum:
|
|
1114
|
-
- code
|
|
1115
|
-
required:
|
|
1116
|
-
- type
|
|
1117
|
-
- type: object
|
|
1118
|
-
properties:
|
|
1119
|
-
type:
|
|
1120
|
-
type: string
|
|
1121
|
-
enum:
|
|
1122
|
-
- strikethrough
|
|
1123
|
-
required:
|
|
1124
|
-
- type
|
|
1125
|
-
- type: object
|
|
1126
|
-
properties:
|
|
1127
|
-
type:
|
|
1128
|
-
type: string
|
|
1129
|
-
enum:
|
|
1130
|
-
- color
|
|
1131
|
-
data:
|
|
1132
|
-
type: object
|
|
1133
|
-
properties:
|
|
1134
|
-
text:
|
|
1135
|
-
type: string
|
|
1136
|
-
enum:
|
|
1137
|
-
- default
|
|
1138
|
-
- green
|
|
1139
|
-
- blue
|
|
1140
|
-
- red
|
|
1141
|
-
- orange
|
|
1142
|
-
- yellow
|
|
1143
|
-
- purple
|
|
1144
|
-
background:
|
|
1145
|
-
type: string
|
|
1146
|
-
enum:
|
|
1147
|
-
- default
|
|
1148
|
-
- green
|
|
1149
|
-
- blue
|
|
1150
|
-
- red
|
|
1151
|
-
- orange
|
|
1152
|
-
- yellow
|
|
1153
|
-
- purple
|
|
1154
|
-
required:
|
|
1155
|
-
- text
|
|
1156
|
-
- background
|
|
1157
|
-
required:
|
|
1158
|
-
- type
|
|
1159
|
-
- data
|
|
1175
|
+
- text
|
|
1176
|
+
- background
|
|
1177
|
+
required:
|
|
1178
|
+
- object
|
|
1179
|
+
- type
|
|
1180
|
+
- data
|
|
1181
|
+
DocumentTextMark:
|
|
1182
|
+
oneOf:
|
|
1183
|
+
- $ref: "#/components/schemas/DocumentMarkBold"
|
|
1184
|
+
- $ref: "#/components/schemas/DocumentMarkItalic"
|
|
1185
|
+
- $ref: "#/components/schemas/DocumentMarkCode"
|
|
1186
|
+
- $ref: "#/components/schemas/DocumentMarkStrikethrough"
|
|
1187
|
+
- $ref: "#/components/schemas/DocumentMarkColor"
|
|
1160
1188
|
DocumentInlineLink:
|
|
1161
1189
|
type: object
|
|
1162
1190
|
properties:
|
|
@@ -1175,6 +1203,7 @@ components:
|
|
|
1175
1203
|
items:
|
|
1176
1204
|
oneOf:
|
|
1177
1205
|
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1206
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1178
1207
|
data:
|
|
1179
1208
|
type: object
|
|
1180
1209
|
properties:
|
|
@@ -1182,6 +1211,10 @@ components:
|
|
|
1182
1211
|
$ref: "#/components/schemas/ContentRef"
|
|
1183
1212
|
required:
|
|
1184
1213
|
- ref
|
|
1214
|
+
isVoid:
|
|
1215
|
+
type: boolean
|
|
1216
|
+
enum:
|
|
1217
|
+
- false
|
|
1185
1218
|
required:
|
|
1186
1219
|
- object
|
|
1187
1220
|
- type
|
|
@@ -1354,13 +1387,29 @@ components:
|
|
|
1354
1387
|
type: boolean
|
|
1355
1388
|
enum:
|
|
1356
1389
|
- true
|
|
1390
|
+
nodes:
|
|
1391
|
+
type: array
|
|
1392
|
+
items:
|
|
1393
|
+
$ref: "#/components/schemas/DocumentNodeText"
|
|
1394
|
+
data:
|
|
1395
|
+
type: object
|
|
1396
|
+
properties: {}
|
|
1397
|
+
additionalProperties: false
|
|
1357
1398
|
required:
|
|
1358
1399
|
- object
|
|
1359
1400
|
- type
|
|
1360
1401
|
- fragments
|
|
1361
1402
|
- isVoid
|
|
1403
|
+
- nodes
|
|
1362
1404
|
DocumentInlinesRich:
|
|
1363
|
-
|
|
1405
|
+
oneOf:
|
|
1406
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1407
|
+
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
1408
|
+
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
1409
|
+
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
1410
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1411
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1412
|
+
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
1364
1413
|
DocumentBlockParagraph:
|
|
1365
1414
|
type: object
|
|
1366
1415
|
properties:
|
|
@@ -1377,7 +1426,15 @@ components:
|
|
|
1377
1426
|
nodes:
|
|
1378
1427
|
type: array
|
|
1379
1428
|
items:
|
|
1380
|
-
$ref: "#/components/schemas/
|
|
1429
|
+
$ref: "#/components/schemas/DocumentInlinesRich"
|
|
1430
|
+
isVoid:
|
|
1431
|
+
type: boolean
|
|
1432
|
+
enum:
|
|
1433
|
+
- false
|
|
1434
|
+
data:
|
|
1435
|
+
type: object
|
|
1436
|
+
properties: {}
|
|
1437
|
+
additionalProperties: false
|
|
1381
1438
|
required:
|
|
1382
1439
|
- object
|
|
1383
1440
|
- type
|
|
@@ -1400,14 +1457,7 @@ components:
|
|
|
1400
1457
|
nodes:
|
|
1401
1458
|
type: array
|
|
1402
1459
|
items:
|
|
1403
|
-
|
|
1404
|
-
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1405
|
-
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
1406
|
-
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
1407
|
-
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
1408
|
-
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1409
|
-
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1410
|
-
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
1460
|
+
$ref: "#/components/schemas/DocumentInlinesRich"
|
|
1411
1461
|
data:
|
|
1412
1462
|
type: object
|
|
1413
1463
|
properties:
|
|
@@ -1422,6 +1472,10 @@ components:
|
|
|
1422
1472
|
type: string
|
|
1423
1473
|
required:
|
|
1424
1474
|
- id
|
|
1475
|
+
isVoid:
|
|
1476
|
+
type: boolean
|
|
1477
|
+
enum:
|
|
1478
|
+
- false
|
|
1425
1479
|
required:
|
|
1426
1480
|
- object
|
|
1427
1481
|
- type
|
|
@@ -1437,7 +1491,7 @@ components:
|
|
|
1437
1491
|
type:
|
|
1438
1492
|
type: string
|
|
1439
1493
|
enum:
|
|
1440
|
-
-
|
|
1494
|
+
- blockquote
|
|
1441
1495
|
key:
|
|
1442
1496
|
type: string
|
|
1443
1497
|
nodes:
|
|
@@ -1446,6 +1500,14 @@ components:
|
|
|
1446
1500
|
oneOf:
|
|
1447
1501
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1448
1502
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
1503
|
+
isVoid:
|
|
1504
|
+
type: boolean
|
|
1505
|
+
enum:
|
|
1506
|
+
- false
|
|
1507
|
+
data:
|
|
1508
|
+
type: object
|
|
1509
|
+
properties: {}
|
|
1510
|
+
additionalProperties: false
|
|
1449
1511
|
required:
|
|
1450
1512
|
- object
|
|
1451
1513
|
- type
|
|
@@ -1479,6 +1541,10 @@ components:
|
|
|
1479
1541
|
type: array
|
|
1480
1542
|
items:
|
|
1481
1543
|
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1544
|
+
isVoid:
|
|
1545
|
+
type: boolean
|
|
1546
|
+
enum:
|
|
1547
|
+
- false
|
|
1482
1548
|
required:
|
|
1483
1549
|
- object
|
|
1484
1550
|
- type
|
|
@@ -1502,6 +1568,13 @@ components:
|
|
|
1502
1568
|
items:
|
|
1503
1569
|
oneOf:
|
|
1504
1570
|
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1571
|
+
data:
|
|
1572
|
+
type: object
|
|
1573
|
+
additionalProperties: false
|
|
1574
|
+
isVoid:
|
|
1575
|
+
type: boolean
|
|
1576
|
+
enum:
|
|
1577
|
+
- false
|
|
1505
1578
|
required:
|
|
1506
1579
|
- object
|
|
1507
1580
|
- type
|
|
@@ -1530,6 +1603,10 @@ components:
|
|
|
1530
1603
|
items:
|
|
1531
1604
|
oneOf:
|
|
1532
1605
|
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1606
|
+
isVoid:
|
|
1607
|
+
type: boolean
|
|
1608
|
+
enum:
|
|
1609
|
+
- false
|
|
1533
1610
|
required:
|
|
1534
1611
|
- object
|
|
1535
1612
|
- type
|
|
@@ -1553,6 +1630,14 @@ components:
|
|
|
1553
1630
|
items:
|
|
1554
1631
|
oneOf:
|
|
1555
1632
|
- $ref: "#/components/schemas/DocumentBlockTaskListItem"
|
|
1633
|
+
isVoid:
|
|
1634
|
+
type: boolean
|
|
1635
|
+
enum:
|
|
1636
|
+
- false
|
|
1637
|
+
data:
|
|
1638
|
+
type: object
|
|
1639
|
+
properties: {}
|
|
1640
|
+
additionalProperties: false
|
|
1556
1641
|
required:
|
|
1557
1642
|
- object
|
|
1558
1643
|
- type
|
|
@@ -1575,6 +1660,14 @@ components:
|
|
|
1575
1660
|
items:
|
|
1576
1661
|
oneOf:
|
|
1577
1662
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1663
|
+
isVoid:
|
|
1664
|
+
type: boolean
|
|
1665
|
+
enum:
|
|
1666
|
+
- false
|
|
1667
|
+
data:
|
|
1668
|
+
type: object
|
|
1669
|
+
properties: {}
|
|
1670
|
+
additionalProperties: false
|
|
1578
1671
|
required:
|
|
1579
1672
|
- object
|
|
1580
1673
|
- type
|
|
@@ -1822,6 +1915,10 @@ components:
|
|
|
1822
1915
|
type: array
|
|
1823
1916
|
items:
|
|
1824
1917
|
$ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
1918
|
+
isVoid:
|
|
1919
|
+
type: boolean
|
|
1920
|
+
enum:
|
|
1921
|
+
- false
|
|
1825
1922
|
required:
|
|
1826
1923
|
- object
|
|
1827
1924
|
- type
|
|
@@ -1851,6 +1948,10 @@ components:
|
|
|
1851
1948
|
properties:
|
|
1852
1949
|
highlighted:
|
|
1853
1950
|
type: boolean
|
|
1951
|
+
isVoid:
|
|
1952
|
+
type: boolean
|
|
1953
|
+
enum:
|
|
1954
|
+
- false
|
|
1854
1955
|
required:
|
|
1855
1956
|
- object
|
|
1856
1957
|
- type
|
|
@@ -1902,6 +2003,10 @@ components:
|
|
|
1902
2003
|
type: boolean
|
|
1903
2004
|
enum:
|
|
1904
2005
|
- true
|
|
2006
|
+
data:
|
|
2007
|
+
type: object
|
|
2008
|
+
properties: {}
|
|
2009
|
+
additionalProperties: false
|
|
1905
2010
|
fragments:
|
|
1906
2011
|
type: array
|
|
1907
2012
|
items:
|
|
@@ -1964,6 +2069,7 @@ components:
|
|
|
1964
2069
|
- type
|
|
1965
2070
|
- isVoid
|
|
1966
2071
|
- fragments
|
|
2072
|
+
- data
|
|
1967
2073
|
DocumentBlockTabs:
|
|
1968
2074
|
type: object
|
|
1969
2075
|
properties:
|
|
@@ -1981,6 +2087,14 @@ components:
|
|
|
1981
2087
|
type: array
|
|
1982
2088
|
items:
|
|
1983
2089
|
$ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
2090
|
+
isVoid:
|
|
2091
|
+
type: boolean
|
|
2092
|
+
enum:
|
|
2093
|
+
- false
|
|
2094
|
+
data:
|
|
2095
|
+
type: object
|
|
2096
|
+
properties: {}
|
|
2097
|
+
additionalProperties: false
|
|
1984
2098
|
required:
|
|
1985
2099
|
- object
|
|
1986
2100
|
- type
|
|
@@ -2355,6 +2469,10 @@ components:
|
|
|
2355
2469
|
type: string
|
|
2356
2470
|
required:
|
|
2357
2471
|
- id
|
|
2472
|
+
isVoid:
|
|
2473
|
+
type: boolean
|
|
2474
|
+
enum:
|
|
2475
|
+
- false
|
|
2358
2476
|
required:
|
|
2359
2477
|
- object
|
|
2360
2478
|
- type
|
|
@@ -2456,10 +2574,15 @@ components:
|
|
|
2456
2574
|
type: boolean
|
|
2457
2575
|
enum:
|
|
2458
2576
|
- true
|
|
2577
|
+
data:
|
|
2578
|
+
type: object
|
|
2579
|
+
properties: {}
|
|
2580
|
+
additionalProperties: false
|
|
2459
2581
|
required:
|
|
2460
2582
|
- object
|
|
2461
2583
|
- type
|
|
2462
2584
|
- isVoid
|
|
2585
|
+
- data
|
|
2463
2586
|
ContentRef:
|
|
2464
2587
|
oneOf:
|
|
2465
2588
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
@@ -2648,25 +2771,8 @@ components:
|
|
|
2648
2771
|
items:
|
|
2649
2772
|
$ref: "#/components/schemas/RevisionFile"
|
|
2650
2773
|
git:
|
|
2651
|
-
type: object
|
|
2652
2774
|
description: Metadata about a potential associated git commit.
|
|
2653
|
-
|
|
2654
|
-
- oid
|
|
2655
|
-
- message
|
|
2656
|
-
- createdByGitBook
|
|
2657
|
-
properties:
|
|
2658
|
-
oid:
|
|
2659
|
-
type: string
|
|
2660
|
-
description: SHA of the Git commit.
|
|
2661
|
-
message:
|
|
2662
|
-
type: string
|
|
2663
|
-
description: Git commit message.
|
|
2664
|
-
createdByGitBook:
|
|
2665
|
-
type: boolean
|
|
2666
|
-
description: Whether not this commit was created by GitBook, while exporting the revision.
|
|
2667
|
-
url:
|
|
2668
|
-
type: string
|
|
2669
|
-
description: URL of the Git commit.
|
|
2775
|
+
$ref: "#/components/schemas/GitSyncCommit"
|
|
2670
2776
|
urls:
|
|
2671
2777
|
type: object
|
|
2672
2778
|
properties:
|
|
@@ -2767,6 +2873,12 @@ components:
|
|
|
2767
2873
|
description: Title of the page
|
|
2768
2874
|
type: string
|
|
2769
2875
|
maxLength: 100
|
|
2876
|
+
createdAt:
|
|
2877
|
+
description: When the page was first created. Only present if page has been edited at least once.
|
|
2878
|
+
$ref: "#/components/schemas/Date"
|
|
2879
|
+
updatedAt:
|
|
2880
|
+
description: When the page was last edited. Only present if page has been edited at least once.
|
|
2881
|
+
$ref: "#/components/schemas/Date"
|
|
2770
2882
|
required:
|
|
2771
2883
|
- id
|
|
2772
2884
|
- title
|
|
@@ -2799,6 +2911,8 @@ components:
|
|
|
2799
2911
|
oneOf:
|
|
2800
2912
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2801
2913
|
- $ref: "#/components/schemas/RevisionPageLink"
|
|
2914
|
+
git:
|
|
2915
|
+
$ref: "#/components/schemas/GitSyncBlob"
|
|
2802
2916
|
required:
|
|
2803
2917
|
- kind
|
|
2804
2918
|
- type
|
|
@@ -2851,11 +2965,14 @@ components:
|
|
|
2851
2965
|
type: string
|
|
2852
2966
|
enum:
|
|
2853
2967
|
- link
|
|
2968
|
+
target:
|
|
2969
|
+
$ref: "#/components/schemas/ContentRef"
|
|
2854
2970
|
href:
|
|
2855
2971
|
type: string
|
|
2856
2972
|
required:
|
|
2857
2973
|
- kind
|
|
2858
2974
|
- type
|
|
2975
|
+
- target
|
|
2859
2976
|
RevisionFile:
|
|
2860
2977
|
type: object
|
|
2861
2978
|
properties:
|
|
@@ -2867,11 +2984,27 @@ components:
|
|
|
2867
2984
|
type: string
|
|
2868
2985
|
downloadURL:
|
|
2869
2986
|
type: string
|
|
2987
|
+
size:
|
|
2988
|
+
type: number
|
|
2989
|
+
dimensions:
|
|
2990
|
+
type: object
|
|
2991
|
+
description: For images, it contains the dimensions of it.
|
|
2992
|
+
properties:
|
|
2993
|
+
width:
|
|
2994
|
+
type: number
|
|
2995
|
+
height:
|
|
2996
|
+
type: number
|
|
2997
|
+
required:
|
|
2998
|
+
- width
|
|
2999
|
+
- height
|
|
3000
|
+
git:
|
|
3001
|
+
$ref: "#/components/schemas/GitSyncBlob"
|
|
2870
3002
|
required:
|
|
2871
3003
|
- id
|
|
2872
3004
|
- name
|
|
2873
3005
|
- contentType
|
|
2874
3006
|
- downloadURL
|
|
3007
|
+
- size
|
|
2875
3008
|
ImportContentSource:
|
|
2876
3009
|
type: string
|
|
2877
3010
|
enum:
|
|
@@ -2927,6 +3060,40 @@ components:
|
|
|
2927
3060
|
- running
|
|
2928
3061
|
- failure
|
|
2929
3062
|
- success
|
|
3063
|
+
GitSyncCommit:
|
|
3064
|
+
type: object
|
|
3065
|
+
properties:
|
|
3066
|
+
oid:
|
|
3067
|
+
type: string
|
|
3068
|
+
description: SHA for the commit
|
|
3069
|
+
message:
|
|
3070
|
+
type: string
|
|
3071
|
+
description: Message describing the purpose of the commit
|
|
3072
|
+
createdByGitBook:
|
|
3073
|
+
type: boolean
|
|
3074
|
+
description: If true, the Git commit was generated by an export from GitBook
|
|
3075
|
+
url:
|
|
3076
|
+
type: string
|
|
3077
|
+
description: URL of the commit in the GitSync provider
|
|
3078
|
+
ref:
|
|
3079
|
+
type: string
|
|
3080
|
+
description: Original name of the ref where the commit originated from
|
|
3081
|
+
required:
|
|
3082
|
+
- oid
|
|
3083
|
+
- message
|
|
3084
|
+
- createdByGitBook
|
|
3085
|
+
GitSyncBlob:
|
|
3086
|
+
type: object
|
|
3087
|
+
properties:
|
|
3088
|
+
oid:
|
|
3089
|
+
type: string
|
|
3090
|
+
description: SHA for the blob
|
|
3091
|
+
path:
|
|
3092
|
+
type: string
|
|
3093
|
+
description: Path of the blob in the Git tree
|
|
3094
|
+
required:
|
|
3095
|
+
- oid
|
|
3096
|
+
- path
|
|
2930
3097
|
Organization:
|
|
2931
3098
|
type: object
|
|
2932
3099
|
properties:
|
|
@@ -3994,7 +4161,7 @@ components:
|
|
|
3994
4161
|
type: string
|
|
3995
4162
|
description: Title of the collection
|
|
3996
4163
|
minLength: 0
|
|
3997
|
-
maxLength:
|
|
4164
|
+
maxLength: 50
|
|
3998
4165
|
path:
|
|
3999
4166
|
type: string
|
|
4000
4167
|
description: Path in the published URL
|
|
@@ -4004,17 +4171,38 @@ components:
|
|
|
4004
4171
|
type: string
|
|
4005
4172
|
enum:
|
|
4006
4173
|
- variants
|
|
4007
|
-
|
|
4174
|
+
organization:
|
|
4175
|
+
type: string
|
|
4176
|
+
description: ID of the organization owning this collection
|
|
4177
|
+
parent:
|
|
4008
4178
|
type: string
|
|
4009
|
-
description: ID of the
|
|
4179
|
+
description: ID of the parent collection, if any
|
|
4010
4180
|
collection:
|
|
4011
4181
|
type: string
|
|
4182
|
+
deprecated: true
|
|
4012
4183
|
description: ID of the parent collection, if any
|
|
4184
|
+
urls:
|
|
4185
|
+
type: object
|
|
4186
|
+
description: URLs associated with the object
|
|
4187
|
+
properties:
|
|
4188
|
+
location:
|
|
4189
|
+
type: string
|
|
4190
|
+
description: URL of the collection in the API
|
|
4191
|
+
format: uri
|
|
4192
|
+
app:
|
|
4193
|
+
type: string
|
|
4194
|
+
description: URL of the collection in the application
|
|
4195
|
+
format: uri
|
|
4196
|
+
required:
|
|
4197
|
+
- app
|
|
4198
|
+
- location
|
|
4013
4199
|
required:
|
|
4014
4200
|
- object
|
|
4015
4201
|
- id
|
|
4016
4202
|
- title
|
|
4203
|
+
- organization
|
|
4017
4204
|
- visibility
|
|
4205
|
+
- urls
|
|
4018
4206
|
Integration:
|
|
4019
4207
|
type: object
|
|
4020
4208
|
properties:
|
|
@@ -5505,8 +5693,77 @@ components:
|
|
|
5505
5693
|
impersonatorId:
|
|
5506
5694
|
type: string
|
|
5507
5695
|
required:
|
|
5508
|
-
- authURL
|
|
5509
|
-
- impersonatorId
|
|
5696
|
+
- authURL
|
|
5697
|
+
- impersonatorId
|
|
5698
|
+
UserPermissions:
|
|
5699
|
+
type: object
|
|
5700
|
+
description: All the permissions of a user
|
|
5701
|
+
properties:
|
|
5702
|
+
updatedAt:
|
|
5703
|
+
$ref: "#/components/schemas/Date"
|
|
5704
|
+
searchKey:
|
|
5705
|
+
type: string
|
|
5706
|
+
organizations:
|
|
5707
|
+
type: object
|
|
5708
|
+
additionalProperties:
|
|
5709
|
+
type: object
|
|
5710
|
+
description: The organizations permissions of a user
|
|
5711
|
+
properties:
|
|
5712
|
+
role:
|
|
5713
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5714
|
+
teams:
|
|
5715
|
+
type: object
|
|
5716
|
+
additionalProperties:
|
|
5717
|
+
type: object
|
|
5718
|
+
description: The teams permissions of a user
|
|
5719
|
+
properties:
|
|
5720
|
+
role:
|
|
5721
|
+
$ref: "#/components/schemas/TeamMemberRole"
|
|
5722
|
+
required:
|
|
5723
|
+
- role
|
|
5724
|
+
required:
|
|
5725
|
+
- role
|
|
5726
|
+
disabled:
|
|
5727
|
+
type: boolean
|
|
5728
|
+
required:
|
|
5729
|
+
- role
|
|
5730
|
+
- teams
|
|
5731
|
+
collections:
|
|
5732
|
+
type: object
|
|
5733
|
+
additionalProperties:
|
|
5734
|
+
type: object
|
|
5735
|
+
description: The collections permissions of a user
|
|
5736
|
+
properties:
|
|
5737
|
+
organization:
|
|
5738
|
+
type: string
|
|
5739
|
+
level:
|
|
5740
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5741
|
+
collection:
|
|
5742
|
+
type: string
|
|
5743
|
+
required:
|
|
5744
|
+
- organization
|
|
5745
|
+
- level
|
|
5746
|
+
spaces:
|
|
5747
|
+
type: object
|
|
5748
|
+
additionalProperties:
|
|
5749
|
+
type: object
|
|
5750
|
+
description: The spaces permissions of a user
|
|
5751
|
+
properties:
|
|
5752
|
+
organization:
|
|
5753
|
+
type: string
|
|
5754
|
+
level:
|
|
5755
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5756
|
+
collection:
|
|
5757
|
+
type: string
|
|
5758
|
+
required:
|
|
5759
|
+
- organization
|
|
5760
|
+
- level
|
|
5761
|
+
required:
|
|
5762
|
+
- updatedAt
|
|
5763
|
+
- searchKey
|
|
5764
|
+
- organizations
|
|
5765
|
+
- collections
|
|
5766
|
+
- spaces
|
|
5510
5767
|
UserRiskEvaluation:
|
|
5511
5768
|
type: object
|
|
5512
5769
|
description: The GitBook User risk evaluation.
|
|
@@ -6456,6 +6713,7 @@ components:
|
|
|
6456
6713
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
6457
6714
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
6458
6715
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
6716
|
+
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
6459
6717
|
- $ref: "#/components/schemas/SpaceEntitiesChannel"
|
|
6460
6718
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
6461
6719
|
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
@@ -6464,6 +6722,7 @@ components:
|
|
|
6464
6722
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
6465
6723
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
6466
6724
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
6725
|
+
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
6467
6726
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
6468
6727
|
- $ref: "#/components/schemas/OrganizationMemberChannel"
|
|
6469
6728
|
- $ref: "#/components/schemas/OrganizationTeamsChannel"
|
|
@@ -6471,6 +6730,7 @@ components:
|
|
|
6471
6730
|
- $ref: "#/components/schemas/OrganizationTeamMembersChannel"
|
|
6472
6731
|
- $ref: "#/components/schemas/OrganizationTeamMemberChannel"
|
|
6473
6732
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
6733
|
+
- $ref: "#/components/schemas/OrganizationCollectionsChannel"
|
|
6474
6734
|
- $ref: "#/components/schemas/OrganizationEntitiesChannel"
|
|
6475
6735
|
- $ref: "#/components/schemas/OrganizationSchemasChannel"
|
|
6476
6736
|
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
@@ -6582,6 +6842,18 @@ components:
|
|
|
6582
6842
|
required:
|
|
6583
6843
|
- channel
|
|
6584
6844
|
- space
|
|
6845
|
+
SpacePublishingCustomizationChannel:
|
|
6846
|
+
type: object
|
|
6847
|
+
properties:
|
|
6848
|
+
channel:
|
|
6849
|
+
type: string
|
|
6850
|
+
enum:
|
|
6851
|
+
- space-publishing-customization
|
|
6852
|
+
space:
|
|
6853
|
+
type: string
|
|
6854
|
+
required:
|
|
6855
|
+
- channel
|
|
6856
|
+
- space
|
|
6585
6857
|
SpaceEntitiesChannel:
|
|
6586
6858
|
type: object
|
|
6587
6859
|
properties:
|
|
@@ -6654,6 +6926,18 @@ components:
|
|
|
6654
6926
|
required:
|
|
6655
6927
|
- channel
|
|
6656
6928
|
- user
|
|
6929
|
+
CollectionPublishingCustomizationChannel:
|
|
6930
|
+
type: object
|
|
6931
|
+
properties:
|
|
6932
|
+
channel:
|
|
6933
|
+
type: string
|
|
6934
|
+
enum:
|
|
6935
|
+
- collection-publishing-customization
|
|
6936
|
+
collection:
|
|
6937
|
+
type: string
|
|
6938
|
+
required:
|
|
6939
|
+
- channel
|
|
6940
|
+
- collection
|
|
6657
6941
|
ChangeRequestReviewsChannel:
|
|
6658
6942
|
type: object
|
|
6659
6943
|
properties:
|
|
@@ -6780,6 +7064,19 @@ components:
|
|
|
6780
7064
|
required:
|
|
6781
7065
|
- channel
|
|
6782
7066
|
- organization
|
|
7067
|
+
OrganizationCollectionsChannel:
|
|
7068
|
+
type: object
|
|
7069
|
+
description: Subscription channel for changes in collections in an organization.
|
|
7070
|
+
properties:
|
|
7071
|
+
channel:
|
|
7072
|
+
type: string
|
|
7073
|
+
enum:
|
|
7074
|
+
- organization-collections
|
|
7075
|
+
organization:
|
|
7076
|
+
type: string
|
|
7077
|
+
required:
|
|
7078
|
+
- channel
|
|
7079
|
+
- organization
|
|
6783
7080
|
OrganizationEntitiesChannel:
|
|
6784
7081
|
type: object
|
|
6785
7082
|
description: Subscription channel for entities in an organization.
|
|
@@ -7015,6 +7312,281 @@ components:
|
|
|
7015
7312
|
CustomFieldPlaceholder:
|
|
7016
7313
|
type: string
|
|
7017
7314
|
maxLength: 100
|
|
7315
|
+
CustomizationSettings:
|
|
7316
|
+
type: object
|
|
7317
|
+
properties:
|
|
7318
|
+
inherit:
|
|
7319
|
+
type: boolean
|
|
7320
|
+
description: Inherit customization settings from the parent collection.
|
|
7321
|
+
title:
|
|
7322
|
+
type: string
|
|
7323
|
+
description: Title to use for the published content. If not defined, it'll fallback to the content title.
|
|
7324
|
+
styling:
|
|
7325
|
+
type: object
|
|
7326
|
+
properties:
|
|
7327
|
+
primaryColor:
|
|
7328
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
7329
|
+
corners:
|
|
7330
|
+
$ref: "#/components/schemas/CustomizationCorners"
|
|
7331
|
+
font:
|
|
7332
|
+
$ref: "#/components/schemas/CustomizationFont"
|
|
7333
|
+
required:
|
|
7334
|
+
- primaryColor
|
|
7335
|
+
- corners
|
|
7336
|
+
- font
|
|
7337
|
+
internationalization:
|
|
7338
|
+
type: object
|
|
7339
|
+
properties:
|
|
7340
|
+
locale:
|
|
7341
|
+
$ref: "#/components/schemas/CustomizationLocale"
|
|
7342
|
+
inherit:
|
|
7343
|
+
type: boolean
|
|
7344
|
+
description: Inherit locale from the parent collection.
|
|
7345
|
+
required:
|
|
7346
|
+
- locale
|
|
7347
|
+
- inherit
|
|
7348
|
+
favicon:
|
|
7349
|
+
oneOf:
|
|
7350
|
+
- type: object
|
|
7351
|
+
properties:
|
|
7352
|
+
icon:
|
|
7353
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
7354
|
+
required:
|
|
7355
|
+
- icon
|
|
7356
|
+
- type: object
|
|
7357
|
+
properties:
|
|
7358
|
+
emoji:
|
|
7359
|
+
$ref: "#/components/schemas/Emoji"
|
|
7360
|
+
required:
|
|
7361
|
+
- emoji
|
|
7362
|
+
- type: object
|
|
7363
|
+
properties: {}
|
|
7364
|
+
additionalProperties: false
|
|
7365
|
+
header:
|
|
7366
|
+
type: object
|
|
7367
|
+
properties:
|
|
7368
|
+
preset:
|
|
7369
|
+
$ref: "#/components/schemas/CustomizationHeaderPreset"
|
|
7370
|
+
logo:
|
|
7371
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
7372
|
+
backgroundColor:
|
|
7373
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
7374
|
+
linkColor:
|
|
7375
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
7376
|
+
links:
|
|
7377
|
+
type: array
|
|
7378
|
+
items:
|
|
7379
|
+
$ref: "#/components/schemas/CustomizationHeaderLink"
|
|
7380
|
+
required:
|
|
7381
|
+
- preset
|
|
7382
|
+
- links
|
|
7383
|
+
footer:
|
|
7384
|
+
type: object
|
|
7385
|
+
properties:
|
|
7386
|
+
logo:
|
|
7387
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
7388
|
+
groups:
|
|
7389
|
+
type: array
|
|
7390
|
+
items:
|
|
7391
|
+
$ref: "#/components/schemas/CustomizationFooterGroup"
|
|
7392
|
+
copyright:
|
|
7393
|
+
type: string
|
|
7394
|
+
maxLength: 300
|
|
7395
|
+
required:
|
|
7396
|
+
- groups
|
|
7397
|
+
themes:
|
|
7398
|
+
type: object
|
|
7399
|
+
properties:
|
|
7400
|
+
default:
|
|
7401
|
+
$ref: "#/components/schemas/CustomizationThemeMode"
|
|
7402
|
+
toggeable:
|
|
7403
|
+
description: Should the reader be able to switch between dark and light mode
|
|
7404
|
+
type: boolean
|
|
7405
|
+
required:
|
|
7406
|
+
- default
|
|
7407
|
+
- toggeable
|
|
7408
|
+
pdf:
|
|
7409
|
+
type: object
|
|
7410
|
+
properties:
|
|
7411
|
+
enabled:
|
|
7412
|
+
type: boolean
|
|
7413
|
+
description: If true, PDF export is enabled for the published content.
|
|
7414
|
+
required:
|
|
7415
|
+
- enabled
|
|
7416
|
+
feedback:
|
|
7417
|
+
type: object
|
|
7418
|
+
properties:
|
|
7419
|
+
enabled:
|
|
7420
|
+
type: boolean
|
|
7421
|
+
description: If true, feedback gathering is enabled
|
|
7422
|
+
required:
|
|
7423
|
+
- enabled
|
|
7424
|
+
aiSearch:
|
|
7425
|
+
type: object
|
|
7426
|
+
properties:
|
|
7427
|
+
enabled:
|
|
7428
|
+
type: boolean
|
|
7429
|
+
description: If true, AI search is enabled
|
|
7430
|
+
required:
|
|
7431
|
+
- enabled
|
|
7432
|
+
git:
|
|
7433
|
+
type: object
|
|
7434
|
+
properties:
|
|
7435
|
+
showEditLink:
|
|
7436
|
+
type: boolean
|
|
7437
|
+
description: Whether the public content should show a link to edit the content on the git provider set up in the GitSync
|
|
7438
|
+
required:
|
|
7439
|
+
- showEditLink
|
|
7440
|
+
pagination:
|
|
7441
|
+
type: object
|
|
7442
|
+
properties:
|
|
7443
|
+
enabled:
|
|
7444
|
+
type: boolean
|
|
7445
|
+
description: Whether the pagination navigation should be displayed on pages.
|
|
7446
|
+
required:
|
|
7447
|
+
- enabled
|
|
7448
|
+
trademark:
|
|
7449
|
+
type: object
|
|
7450
|
+
properties:
|
|
7451
|
+
enabled:
|
|
7452
|
+
type: boolean
|
|
7453
|
+
description: Whether the GitBook trademark ("Powered by GitBook") should be visible
|
|
7454
|
+
required:
|
|
7455
|
+
- enabled
|
|
7456
|
+
privacyPolicy:
|
|
7457
|
+
type: object
|
|
7458
|
+
properties:
|
|
7459
|
+
url:
|
|
7460
|
+
$ref: "#/components/schemas/URL"
|
|
7461
|
+
socialPreview:
|
|
7462
|
+
type: object
|
|
7463
|
+
properties:
|
|
7464
|
+
url:
|
|
7465
|
+
$ref: "#/components/schemas/URL"
|
|
7466
|
+
required:
|
|
7467
|
+
- inherit
|
|
7468
|
+
- styling
|
|
7469
|
+
- internationalization
|
|
7470
|
+
- favicon
|
|
7471
|
+
- header
|
|
7472
|
+
- footer
|
|
7473
|
+
- themes
|
|
7474
|
+
- pdf
|
|
7475
|
+
- feedback
|
|
7476
|
+
- aiSearch
|
|
7477
|
+
- trademark
|
|
7478
|
+
- pagination
|
|
7479
|
+
- git
|
|
7480
|
+
- privacyPolicy
|
|
7481
|
+
- socialPreview
|
|
7482
|
+
CustomizationCollectionSettings:
|
|
7483
|
+
allOf:
|
|
7484
|
+
- $ref: "#/components/schemas/CustomizationSettings"
|
|
7485
|
+
- type: object
|
|
7486
|
+
properties:
|
|
7487
|
+
collection:
|
|
7488
|
+
type: object
|
|
7489
|
+
properties:
|
|
7490
|
+
defaultSpace:
|
|
7491
|
+
type: string
|
|
7492
|
+
description: ID of the space used by default in the collection
|
|
7493
|
+
required:
|
|
7494
|
+
- collection
|
|
7495
|
+
CustomizationLocale:
|
|
7496
|
+
type: string
|
|
7497
|
+
description: Language for the UI element
|
|
7498
|
+
enum:
|
|
7499
|
+
- en
|
|
7500
|
+
- fr
|
|
7501
|
+
- es
|
|
7502
|
+
- zh
|
|
7503
|
+
- ja
|
|
7504
|
+
CustomizationFont:
|
|
7505
|
+
type: string
|
|
7506
|
+
enum:
|
|
7507
|
+
- Inter
|
|
7508
|
+
- Roboto
|
|
7509
|
+
- RobotoSlab
|
|
7510
|
+
- OpenSans
|
|
7511
|
+
- SourceSansPro
|
|
7512
|
+
- Lato
|
|
7513
|
+
- Ubuntu
|
|
7514
|
+
- Raleway
|
|
7515
|
+
- Merriweather
|
|
7516
|
+
- Overpass
|
|
7517
|
+
- NotoSans
|
|
7518
|
+
- IBMPlexSerif
|
|
7519
|
+
- Poppins
|
|
7520
|
+
- FiraSans
|
|
7521
|
+
CustomizationHeaderPreset:
|
|
7522
|
+
type: string
|
|
7523
|
+
enum:
|
|
7524
|
+
- default
|
|
7525
|
+
- bold
|
|
7526
|
+
- contrast
|
|
7527
|
+
- custom
|
|
7528
|
+
- none
|
|
7529
|
+
CustomizationThemeMode:
|
|
7530
|
+
type: string
|
|
7531
|
+
enum:
|
|
7532
|
+
- light
|
|
7533
|
+
- dark
|
|
7534
|
+
CustomizationHeaderLink:
|
|
7535
|
+
allOf:
|
|
7536
|
+
- $ref: "#/components/schemas/CustomizationContentLink"
|
|
7537
|
+
- type: object
|
|
7538
|
+
properties:
|
|
7539
|
+
links:
|
|
7540
|
+
type: array
|
|
7541
|
+
items:
|
|
7542
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
7543
|
+
CustomizationContentLink:
|
|
7544
|
+
type: object
|
|
7545
|
+
properties:
|
|
7546
|
+
title:
|
|
7547
|
+
type: string
|
|
7548
|
+
to:
|
|
7549
|
+
$ref: "#/components/schemas/ContentRef"
|
|
7550
|
+
required:
|
|
7551
|
+
- title
|
|
7552
|
+
- to
|
|
7553
|
+
CustomizationFooterGroup:
|
|
7554
|
+
type: object
|
|
7555
|
+
properties:
|
|
7556
|
+
title:
|
|
7557
|
+
type: string
|
|
7558
|
+
links:
|
|
7559
|
+
type: array
|
|
7560
|
+
items:
|
|
7561
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
7562
|
+
required:
|
|
7563
|
+
- title
|
|
7564
|
+
- links
|
|
7565
|
+
CustomizationCorners:
|
|
7566
|
+
type: string
|
|
7567
|
+
enum:
|
|
7568
|
+
- straight
|
|
7569
|
+
- rounded
|
|
7570
|
+
CustomizationThemedURL:
|
|
7571
|
+
type: object
|
|
7572
|
+
properties:
|
|
7573
|
+
light:
|
|
7574
|
+
$ref: "#/components/schemas/URL"
|
|
7575
|
+
dark:
|
|
7576
|
+
$ref: "#/components/schemas/URL"
|
|
7577
|
+
required:
|
|
7578
|
+
- light
|
|
7579
|
+
- dark
|
|
7580
|
+
CustomizationThemedColor:
|
|
7581
|
+
type: object
|
|
7582
|
+
properties:
|
|
7583
|
+
light:
|
|
7584
|
+
$ref: "#/components/schemas/Color"
|
|
7585
|
+
dark:
|
|
7586
|
+
$ref: "#/components/schemas/Color"
|
|
7587
|
+
required:
|
|
7588
|
+
- light
|
|
7589
|
+
- dark
|
|
7018
7590
|
responses:
|
|
7019
7591
|
UnexpectedError:
|
|
7020
7592
|
description: Unexpected Error
|
|
@@ -8792,6 +9364,53 @@ paths:
|
|
|
8792
9364
|
$ref: "#/components/schemas/UserContentPermission"
|
|
8793
9365
|
default:
|
|
8794
9366
|
$ref: "#/components/responses/UnexpectedError"
|
|
9367
|
+
"/spaces/{spaceId}/publishing/customization":
|
|
9368
|
+
get:
|
|
9369
|
+
operationId: getSpacePublishingCustomizationById
|
|
9370
|
+
summary: Get the publishing customization configuration for a space.
|
|
9371
|
+
tags:
|
|
9372
|
+
- spaces
|
|
9373
|
+
security:
|
|
9374
|
+
- user: []
|
|
9375
|
+
parameters:
|
|
9376
|
+
- $ref: "#/components/parameters/spaceId"
|
|
9377
|
+
responses:
|
|
9378
|
+
"200":
|
|
9379
|
+
description: OK
|
|
9380
|
+
content:
|
|
9381
|
+
application/json:
|
|
9382
|
+
schema:
|
|
9383
|
+
$ref: "#/components/schemas/CustomizationSettings"
|
|
9384
|
+
"400":
|
|
9385
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9386
|
+
default:
|
|
9387
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9388
|
+
put:
|
|
9389
|
+
operationId: updateSpacePublishingCustomizationById
|
|
9390
|
+
summary: Update the publishing customization configuration for a space.
|
|
9391
|
+
tags:
|
|
9392
|
+
- spaces
|
|
9393
|
+
security:
|
|
9394
|
+
- user: []
|
|
9395
|
+
parameters:
|
|
9396
|
+
- $ref: "#/components/parameters/spaceId"
|
|
9397
|
+
requestBody:
|
|
9398
|
+
required: true
|
|
9399
|
+
content:
|
|
9400
|
+
application/json:
|
|
9401
|
+
schema:
|
|
9402
|
+
$ref: "#/components/schemas/CustomizationSettings"
|
|
9403
|
+
responses:
|
|
9404
|
+
"200":
|
|
9405
|
+
description: OK
|
|
9406
|
+
content:
|
|
9407
|
+
application/json:
|
|
9408
|
+
schema:
|
|
9409
|
+
$ref: "#/components/schemas/CustomizationSettings"
|
|
9410
|
+
"400":
|
|
9411
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9412
|
+
default:
|
|
9413
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8795
9414
|
"/spaces/{spaceId}/publishing/auth":
|
|
8796
9415
|
get:
|
|
8797
9416
|
operationId: getSpacePublishingAuthById
|
|
@@ -9056,6 +9675,53 @@ paths:
|
|
|
9056
9675
|
$ref: "#/components/responses/BadRequestError"
|
|
9057
9676
|
default:
|
|
9058
9677
|
$ref: "#/components/responses/UnexpectedError"
|
|
9678
|
+
"/collections/{collectionId}/publishing/customization":
|
|
9679
|
+
get:
|
|
9680
|
+
operationId: getCollectionPublishingCustomizationById
|
|
9681
|
+
summary: Get the publishing customization configuration for a collection.
|
|
9682
|
+
tags:
|
|
9683
|
+
- collections
|
|
9684
|
+
security:
|
|
9685
|
+
- user: []
|
|
9686
|
+
parameters:
|
|
9687
|
+
- $ref: "#/components/parameters/collectionId"
|
|
9688
|
+
responses:
|
|
9689
|
+
"200":
|
|
9690
|
+
description: OK
|
|
9691
|
+
content:
|
|
9692
|
+
application/json:
|
|
9693
|
+
schema:
|
|
9694
|
+
$ref: "#/components/schemas/CustomizationCollectionSettings"
|
|
9695
|
+
"400":
|
|
9696
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9697
|
+
default:
|
|
9698
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9699
|
+
put:
|
|
9700
|
+
operationId: updateCollectionPublishingCustomizationById
|
|
9701
|
+
summary: Update the publishing customization configuration for a collection.
|
|
9702
|
+
tags:
|
|
9703
|
+
- collections
|
|
9704
|
+
security:
|
|
9705
|
+
- user: []
|
|
9706
|
+
parameters:
|
|
9707
|
+
- $ref: "#/components/parameters/collectionId"
|
|
9708
|
+
requestBody:
|
|
9709
|
+
required: true
|
|
9710
|
+
content:
|
|
9711
|
+
application/json:
|
|
9712
|
+
schema:
|
|
9713
|
+
$ref: "#/components/schemas/CustomizationCollectionSettings"
|
|
9714
|
+
responses:
|
|
9715
|
+
"200":
|
|
9716
|
+
description: OK
|
|
9717
|
+
content:
|
|
9718
|
+
application/json:
|
|
9719
|
+
schema:
|
|
9720
|
+
$ref: "#/components/schemas/CustomizationCollectionSettings"
|
|
9721
|
+
"400":
|
|
9722
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9723
|
+
default:
|
|
9724
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9059
9725
|
/integrations:
|
|
9060
9726
|
get:
|
|
9061
9727
|
operationId: listIntegrations
|
|
@@ -10582,6 +11248,41 @@ paths:
|
|
|
10582
11248
|
$ref: "#/components/schemas/Collection"
|
|
10583
11249
|
default:
|
|
10584
11250
|
$ref: "#/components/responses/UnexpectedError"
|
|
11251
|
+
post:
|
|
11252
|
+
operationId: createCollection
|
|
11253
|
+
summary: Create an organization collection
|
|
11254
|
+
tags:
|
|
11255
|
+
- collections
|
|
11256
|
+
security:
|
|
11257
|
+
- user: []
|
|
11258
|
+
parameters:
|
|
11259
|
+
- $ref: "#/components/parameters/organizationId"
|
|
11260
|
+
requestBody:
|
|
11261
|
+
content:
|
|
11262
|
+
application/json:
|
|
11263
|
+
schema:
|
|
11264
|
+
type: object
|
|
11265
|
+
properties:
|
|
11266
|
+
title:
|
|
11267
|
+
type: string
|
|
11268
|
+
maxLength: 50
|
|
11269
|
+
parent:
|
|
11270
|
+
type: string
|
|
11271
|
+
description: ID of a parent collection
|
|
11272
|
+
responses:
|
|
11273
|
+
"201":
|
|
11274
|
+
description: Collection created
|
|
11275
|
+
headers:
|
|
11276
|
+
Location:
|
|
11277
|
+
description: API URL for the newly created collection
|
|
11278
|
+
schema:
|
|
11279
|
+
type: string
|
|
11280
|
+
content:
|
|
11281
|
+
application/json:
|
|
11282
|
+
schema:
|
|
11283
|
+
$ref: "#/components/schemas/Collection"
|
|
11284
|
+
default:
|
|
11285
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
10585
11286
|
"/orgs/{organizationId}/dsync":
|
|
10586
11287
|
post:
|
|
10587
11288
|
operationId: setupDirectorySync
|