@gitbook/api 0.12.0 → 0.14.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 +274 -26
- package/dist/index.cjs +94 -0
- package/dist/index.js +89 -0
- package/package.json +1 -1
- package/spec/openapi.json +1022 -126
- package/spec/openapi.yaml +604 -46
package/spec/openapi.json
CHANGED
|
@@ -337,6 +337,10 @@
|
|
|
337
337
|
"type": "string",
|
|
338
338
|
"format": "uri"
|
|
339
339
|
},
|
|
340
|
+
"Color": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$"
|
|
343
|
+
},
|
|
340
344
|
"Date": {
|
|
341
345
|
"type": "string",
|
|
342
346
|
"format": "date"
|
|
@@ -1423,7 +1427,7 @@
|
|
|
1423
1427
|
"nodes"
|
|
1424
1428
|
]
|
|
1425
1429
|
},
|
|
1426
|
-
"
|
|
1430
|
+
"DocumentBlock": {
|
|
1427
1431
|
"oneOf": [
|
|
1428
1432
|
{
|
|
1429
1433
|
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -1441,14 +1445,10 @@
|
|
|
1441
1445
|
"$ref": "#/components/schemas/DocumentBlockListTasks"
|
|
1442
1446
|
},
|
|
1443
1447
|
{
|
|
1444
|
-
"$ref": "#/components/schemas/
|
|
1445
|
-
}
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
|
-
"DocumentBlocksTopLevels": {
|
|
1449
|
-
"oneOf": [
|
|
1448
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
1449
|
+
},
|
|
1450
1450
|
{
|
|
1451
|
-
"$ref": "#/components/schemas/
|
|
1451
|
+
"$ref": "#/components/schemas/DocumentBlockDivider"
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
@@ -1459,6 +1459,9 @@
|
|
|
1459
1459
|
{
|
|
1460
1460
|
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
1461
1461
|
},
|
|
1462
|
+
{
|
|
1463
|
+
"$ref": "#/components/schemas/DocumentBlockImage"
|
|
1464
|
+
},
|
|
1462
1465
|
{
|
|
1463
1466
|
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
1464
1467
|
},
|
|
@@ -1471,6 +1474,9 @@
|
|
|
1471
1474
|
{
|
|
1472
1475
|
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
1473
1476
|
},
|
|
1477
|
+
{
|
|
1478
|
+
"$ref": "#/components/schemas/DocumentBlockCodeLine"
|
|
1479
|
+
},
|
|
1474
1480
|
{
|
|
1475
1481
|
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
1476
1482
|
},
|
|
@@ -1480,6 +1486,9 @@
|
|
|
1480
1486
|
{
|
|
1481
1487
|
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
1482
1488
|
},
|
|
1489
|
+
{
|
|
1490
|
+
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
1491
|
+
},
|
|
1483
1492
|
{
|
|
1484
1493
|
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
1485
1494
|
},
|
|
@@ -1494,7 +1503,29 @@
|
|
|
1494
1503
|
}
|
|
1495
1504
|
]
|
|
1496
1505
|
},
|
|
1497
|
-
"
|
|
1506
|
+
"DocumentInline": {
|
|
1507
|
+
"oneOf": [
|
|
1508
|
+
{
|
|
1509
|
+
"$ref": "#/components/schemas/DocumentInlineLink"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"$ref": "#/components/schemas/DocumentInlineEmoji"
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"$ref": "#/components/schemas/DocumentInlineMath"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"$ref": "#/components/schemas/DocumentInlineMention"
|
|
1525
|
+
}
|
|
1526
|
+
]
|
|
1527
|
+
},
|
|
1528
|
+
"DocumentText": {
|
|
1498
1529
|
"type": "object",
|
|
1499
1530
|
"properties": {
|
|
1500
1531
|
"object": {
|
|
@@ -1518,7 +1549,7 @@
|
|
|
1518
1549
|
"leaves"
|
|
1519
1550
|
]
|
|
1520
1551
|
},
|
|
1521
|
-
"
|
|
1552
|
+
"DocumentFragment": {
|
|
1522
1553
|
"type": "object",
|
|
1523
1554
|
"properties": {
|
|
1524
1555
|
"object": {
|
|
@@ -1548,6 +1579,77 @@
|
|
|
1548
1579
|
"nodes"
|
|
1549
1580
|
]
|
|
1550
1581
|
},
|
|
1582
|
+
"DocumentBlocksEssentials": {
|
|
1583
|
+
"oneOf": [
|
|
1584
|
+
{
|
|
1585
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"$ref": "#/components/schemas/DocumentBlockHeading"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"$ref": "#/components/schemas/DocumentBlockListOrdered"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"$ref": "#/components/schemas/DocumentBlockListUnordered"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"$ref": "#/components/schemas/DocumentBlockListTasks"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"$ref": "#/components/schemas/DocumentBlockDivider"
|
|
1601
|
+
}
|
|
1602
|
+
]
|
|
1603
|
+
},
|
|
1604
|
+
"DocumentBlocksTopLevels": {
|
|
1605
|
+
"oneOf": [
|
|
1606
|
+
{
|
|
1607
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"$ref": "#/components/schemas/DocumentBlockSwagger"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
1650
|
+
}
|
|
1651
|
+
]
|
|
1652
|
+
},
|
|
1551
1653
|
"DocumentTextLeaf": {
|
|
1552
1654
|
"type": "object",
|
|
1553
1655
|
"properties": {
|
|
@@ -1754,7 +1856,7 @@
|
|
|
1754
1856
|
"items": {
|
|
1755
1857
|
"oneOf": [
|
|
1756
1858
|
{
|
|
1757
|
-
"$ref": "#/components/schemas/
|
|
1859
|
+
"$ref": "#/components/schemas/DocumentText"
|
|
1758
1860
|
},
|
|
1759
1861
|
{
|
|
1760
1862
|
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
@@ -2009,7 +2111,7 @@
|
|
|
2009
2111
|
"items": {
|
|
2010
2112
|
"allOf": [
|
|
2011
2113
|
{
|
|
2012
|
-
"$ref": "#/components/schemas/
|
|
2114
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
2013
2115
|
},
|
|
2014
2116
|
{
|
|
2015
2117
|
"type": "object",
|
|
@@ -2046,13 +2148,13 @@
|
|
|
2046
2148
|
"isVoid": {
|
|
2047
2149
|
"type": "boolean",
|
|
2048
2150
|
"enum": [
|
|
2049
|
-
|
|
2151
|
+
false
|
|
2050
2152
|
]
|
|
2051
2153
|
},
|
|
2052
2154
|
"nodes": {
|
|
2053
2155
|
"type": "array",
|
|
2054
2156
|
"items": {
|
|
2055
|
-
"$ref": "#/components/schemas/
|
|
2157
|
+
"$ref": "#/components/schemas/DocumentText"
|
|
2056
2158
|
}
|
|
2057
2159
|
},
|
|
2058
2160
|
"data": {
|
|
@@ -2069,31 +2171,6 @@
|
|
|
2069
2171
|
"nodes"
|
|
2070
2172
|
]
|
|
2071
2173
|
},
|
|
2072
|
-
"DocumentInlinesRich": {
|
|
2073
|
-
"oneOf": [
|
|
2074
|
-
{
|
|
2075
|
-
"$ref": "#/components/schemas/DocumentNodeText"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"$ref": "#/components/schemas/DocumentInlineLink"
|
|
2079
|
-
},
|
|
2080
|
-
{
|
|
2081
|
-
"$ref": "#/components/schemas/DocumentInlineEmoji"
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"$ref": "#/components/schemas/DocumentInlineMath"
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
2088
|
-
},
|
|
2089
|
-
{
|
|
2090
|
-
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
"$ref": "#/components/schemas/DocumentInlineMention"
|
|
2094
|
-
}
|
|
2095
|
-
]
|
|
2096
|
-
},
|
|
2097
2174
|
"DocumentBlockParagraph": {
|
|
2098
2175
|
"type": "object",
|
|
2099
2176
|
"properties": {
|
|
@@ -2115,7 +2192,14 @@
|
|
|
2115
2192
|
"nodes": {
|
|
2116
2193
|
"type": "array",
|
|
2117
2194
|
"items": {
|
|
2118
|
-
"
|
|
2195
|
+
"oneOf": [
|
|
2196
|
+
{
|
|
2197
|
+
"$ref": "#/components/schemas/DocumentInline"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"$ref": "#/components/schemas/DocumentText"
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2119
2203
|
}
|
|
2120
2204
|
},
|
|
2121
2205
|
"isVoid": {
|
|
@@ -2159,7 +2243,14 @@
|
|
|
2159
2243
|
"nodes": {
|
|
2160
2244
|
"type": "array",
|
|
2161
2245
|
"items": {
|
|
2162
|
-
"
|
|
2246
|
+
"oneOf": [
|
|
2247
|
+
{
|
|
2248
|
+
"$ref": "#/components/schemas/DocumentInline"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"$ref": "#/components/schemas/DocumentText"
|
|
2252
|
+
}
|
|
2253
|
+
]
|
|
2163
2254
|
}
|
|
2164
2255
|
},
|
|
2165
2256
|
"data": {
|
|
@@ -2420,7 +2511,7 @@
|
|
|
2420
2511
|
"items": {
|
|
2421
2512
|
"oneOf": [
|
|
2422
2513
|
{
|
|
2423
|
-
"$ref": "#/components/schemas/
|
|
2514
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
2424
2515
|
}
|
|
2425
2516
|
]
|
|
2426
2517
|
}
|
|
@@ -2479,8 +2570,11 @@
|
|
|
2479
2570
|
},
|
|
2480
2571
|
"data": {
|
|
2481
2572
|
"type": "object",
|
|
2482
|
-
"properties": {
|
|
2483
|
-
|
|
2573
|
+
"properties": {
|
|
2574
|
+
"checked": {
|
|
2575
|
+
"type": "boolean"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2484
2578
|
}
|
|
2485
2579
|
},
|
|
2486
2580
|
"required": [
|
|
@@ -2489,32 +2583,6 @@
|
|
|
2489
2583
|
"nodes"
|
|
2490
2584
|
]
|
|
2491
2585
|
},
|
|
2492
|
-
"DocumentBlockTaskListItem": {
|
|
2493
|
-
"allOf": [
|
|
2494
|
-
{
|
|
2495
|
-
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
2496
|
-
},
|
|
2497
|
-
{
|
|
2498
|
-
"type": "object",
|
|
2499
|
-
"properties": {
|
|
2500
|
-
"data": {
|
|
2501
|
-
"type": "object",
|
|
2502
|
-
"properties": {
|
|
2503
|
-
"checked": {
|
|
2504
|
-
"type": "boolean"
|
|
2505
|
-
}
|
|
2506
|
-
},
|
|
2507
|
-
"required": [
|
|
2508
|
-
"checked"
|
|
2509
|
-
]
|
|
2510
|
-
}
|
|
2511
|
-
},
|
|
2512
|
-
"required": [
|
|
2513
|
-
"data"
|
|
2514
|
-
]
|
|
2515
|
-
}
|
|
2516
|
-
]
|
|
2517
|
-
},
|
|
2518
2586
|
"DocumentBlockImages": {
|
|
2519
2587
|
"type": "object",
|
|
2520
2588
|
"properties": {
|
|
@@ -2635,6 +2703,9 @@
|
|
|
2635
2703
|
},
|
|
2636
2704
|
"height": {
|
|
2637
2705
|
"$ref": "#/components/schemas/DocumentBlockImage/properties/data/properties/width"
|
|
2706
|
+
},
|
|
2707
|
+
"alt": {
|
|
2708
|
+
"type": "string"
|
|
2638
2709
|
}
|
|
2639
2710
|
},
|
|
2640
2711
|
"required": [
|
|
@@ -2646,7 +2717,7 @@
|
|
|
2646
2717
|
"items": {
|
|
2647
2718
|
"allOf": [
|
|
2648
2719
|
{
|
|
2649
|
-
"$ref": "#/components/schemas/
|
|
2720
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
2650
2721
|
},
|
|
2651
2722
|
{
|
|
2652
2723
|
"type": "object",
|
|
@@ -2910,7 +2981,7 @@
|
|
|
2910
2981
|
"items": {
|
|
2911
2982
|
"oneOf": [
|
|
2912
2983
|
{
|
|
2913
|
-
"$ref": "#/components/schemas/
|
|
2984
|
+
"$ref": "#/components/schemas/DocumentText"
|
|
2914
2985
|
},
|
|
2915
2986
|
{
|
|
2916
2987
|
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
@@ -3019,7 +3090,7 @@
|
|
|
3019
3090
|
{
|
|
3020
3091
|
"allOf": [
|
|
3021
3092
|
{
|
|
3022
|
-
"$ref": "#/components/schemas/
|
|
3093
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
3023
3094
|
},
|
|
3024
3095
|
{
|
|
3025
3096
|
"type": "object",
|
|
@@ -3056,7 +3127,7 @@
|
|
|
3056
3127
|
{
|
|
3057
3128
|
"allOf": [
|
|
3058
3129
|
{
|
|
3059
|
-
"$ref": "#/components/schemas/
|
|
3130
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
3060
3131
|
},
|
|
3061
3132
|
{
|
|
3062
3133
|
"type": "object",
|
|
@@ -3299,7 +3370,7 @@
|
|
|
3299
3370
|
"fragments": {
|
|
3300
3371
|
"type": "array",
|
|
3301
3372
|
"items": {
|
|
3302
|
-
"$ref": "#/components/schemas/
|
|
3373
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
3303
3374
|
}
|
|
3304
3375
|
}
|
|
3305
3376
|
},
|
|
@@ -4530,13 +4601,17 @@
|
|
|
4530
4601
|
"link"
|
|
4531
4602
|
]
|
|
4532
4603
|
},
|
|
4604
|
+
"target": {
|
|
4605
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
4606
|
+
},
|
|
4533
4607
|
"href": {
|
|
4534
4608
|
"type": "string"
|
|
4535
4609
|
}
|
|
4536
4610
|
},
|
|
4537
4611
|
"required": [
|
|
4538
4612
|
"kind",
|
|
4539
|
-
"type"
|
|
4613
|
+
"type",
|
|
4614
|
+
"target"
|
|
4540
4615
|
]
|
|
4541
4616
|
}
|
|
4542
4617
|
]
|
|
@@ -6254,7 +6329,7 @@
|
|
|
6254
6329
|
"type": "string",
|
|
6255
6330
|
"description": "Title of the collection",
|
|
6256
6331
|
"minLength": 0,
|
|
6257
|
-
"maxLength":
|
|
6332
|
+
"maxLength": 50
|
|
6258
6333
|
},
|
|
6259
6334
|
"path": {
|
|
6260
6335
|
"type": "string",
|
|
@@ -6269,20 +6344,47 @@
|
|
|
6269
6344
|
"variants"
|
|
6270
6345
|
]
|
|
6271
6346
|
},
|
|
6272
|
-
"
|
|
6347
|
+
"organization": {
|
|
6348
|
+
"type": "string",
|
|
6349
|
+
"description": "ID of the organization owning this collection"
|
|
6350
|
+
},
|
|
6351
|
+
"parent": {
|
|
6273
6352
|
"type": "string",
|
|
6274
|
-
"description": "ID of the
|
|
6353
|
+
"description": "ID of the parent collection, if any"
|
|
6275
6354
|
},
|
|
6276
6355
|
"collection": {
|
|
6277
6356
|
"type": "string",
|
|
6357
|
+
"deprecated": true,
|
|
6278
6358
|
"description": "ID of the parent collection, if any"
|
|
6359
|
+
},
|
|
6360
|
+
"urls": {
|
|
6361
|
+
"type": "object",
|
|
6362
|
+
"description": "URLs associated with the object",
|
|
6363
|
+
"properties": {
|
|
6364
|
+
"location": {
|
|
6365
|
+
"type": "string",
|
|
6366
|
+
"description": "URL of the collection in the API",
|
|
6367
|
+
"format": "uri"
|
|
6368
|
+
},
|
|
6369
|
+
"app": {
|
|
6370
|
+
"type": "string",
|
|
6371
|
+
"description": "URL of the collection in the application",
|
|
6372
|
+
"format": "uri"
|
|
6373
|
+
}
|
|
6374
|
+
},
|
|
6375
|
+
"required": [
|
|
6376
|
+
"app",
|
|
6377
|
+
"location"
|
|
6378
|
+
]
|
|
6279
6379
|
}
|
|
6280
6380
|
},
|
|
6281
6381
|
"required": [
|
|
6282
6382
|
"object",
|
|
6283
6383
|
"id",
|
|
6284
6384
|
"title",
|
|
6285
|
-
"
|
|
6385
|
+
"organization",
|
|
6386
|
+
"visibility",
|
|
6387
|
+
"urls"
|
|
6286
6388
|
]
|
|
6287
6389
|
},
|
|
6288
6390
|
"Integration": {
|
|
@@ -8534,29 +8636,129 @@
|
|
|
8534
8636
|
"impersonatorId"
|
|
8535
8637
|
]
|
|
8536
8638
|
},
|
|
8537
|
-
"
|
|
8639
|
+
"UserPermissions": {
|
|
8538
8640
|
"type": "object",
|
|
8539
|
-
"description": "
|
|
8641
|
+
"description": "All the permissions of a user",
|
|
8540
8642
|
"properties": {
|
|
8541
|
-
"
|
|
8542
|
-
"
|
|
8543
|
-
"type": "boolean"
|
|
8544
|
-
},
|
|
8545
|
-
"isRisky": {
|
|
8546
|
-
"description": "True if the user is currently considered as risky",
|
|
8547
|
-
"type": "boolean"
|
|
8643
|
+
"updatedAt": {
|
|
8644
|
+
"$ref": "#/components/schemas/Date"
|
|
8548
8645
|
},
|
|
8549
|
-
"
|
|
8550
|
-
"
|
|
8551
|
-
"type": "boolean"
|
|
8646
|
+
"searchKey": {
|
|
8647
|
+
"type": "string"
|
|
8552
8648
|
},
|
|
8553
|
-
"
|
|
8554
|
-
"
|
|
8555
|
-
"
|
|
8649
|
+
"organizations": {
|
|
8650
|
+
"type": "object",
|
|
8651
|
+
"additionalProperties": {
|
|
8652
|
+
"type": "object",
|
|
8653
|
+
"description": "The organizations permissions of a user",
|
|
8654
|
+
"properties": {
|
|
8655
|
+
"role": {
|
|
8656
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8657
|
+
},
|
|
8658
|
+
"teams": {
|
|
8659
|
+
"type": "object",
|
|
8660
|
+
"additionalProperties": {
|
|
8661
|
+
"type": "object",
|
|
8662
|
+
"description": "The teams permissions of a user",
|
|
8663
|
+
"properties": {
|
|
8664
|
+
"role": {
|
|
8665
|
+
"$ref": "#/components/schemas/TeamMemberRole"
|
|
8666
|
+
}
|
|
8667
|
+
},
|
|
8668
|
+
"required": [
|
|
8669
|
+
"role"
|
|
8670
|
+
]
|
|
8671
|
+
},
|
|
8672
|
+
"required": [
|
|
8673
|
+
"role"
|
|
8674
|
+
]
|
|
8675
|
+
},
|
|
8676
|
+
"disabled": {
|
|
8677
|
+
"type": "boolean"
|
|
8678
|
+
}
|
|
8679
|
+
},
|
|
8680
|
+
"required": [
|
|
8681
|
+
"role",
|
|
8682
|
+
"teams"
|
|
8683
|
+
]
|
|
8684
|
+
}
|
|
8556
8685
|
},
|
|
8557
|
-
"
|
|
8558
|
-
"
|
|
8559
|
-
"
|
|
8686
|
+
"collections": {
|
|
8687
|
+
"type": "object",
|
|
8688
|
+
"additionalProperties": {
|
|
8689
|
+
"type": "object",
|
|
8690
|
+
"description": "The collections permissions of a user",
|
|
8691
|
+
"properties": {
|
|
8692
|
+
"organization": {
|
|
8693
|
+
"type": "string"
|
|
8694
|
+
},
|
|
8695
|
+
"level": {
|
|
8696
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8697
|
+
},
|
|
8698
|
+
"collection": {
|
|
8699
|
+
"type": "string"
|
|
8700
|
+
}
|
|
8701
|
+
},
|
|
8702
|
+
"required": [
|
|
8703
|
+
"organization",
|
|
8704
|
+
"level"
|
|
8705
|
+
]
|
|
8706
|
+
}
|
|
8707
|
+
},
|
|
8708
|
+
"spaces": {
|
|
8709
|
+
"type": "object",
|
|
8710
|
+
"additionalProperties": {
|
|
8711
|
+
"type": "object",
|
|
8712
|
+
"description": "The spaces permissions of a user",
|
|
8713
|
+
"properties": {
|
|
8714
|
+
"organization": {
|
|
8715
|
+
"type": "string"
|
|
8716
|
+
},
|
|
8717
|
+
"level": {
|
|
8718
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8719
|
+
},
|
|
8720
|
+
"collection": {
|
|
8721
|
+
"type": "string"
|
|
8722
|
+
}
|
|
8723
|
+
},
|
|
8724
|
+
"required": [
|
|
8725
|
+
"organization",
|
|
8726
|
+
"level"
|
|
8727
|
+
]
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
},
|
|
8731
|
+
"required": [
|
|
8732
|
+
"updatedAt",
|
|
8733
|
+
"searchKey",
|
|
8734
|
+
"organizations",
|
|
8735
|
+
"collections",
|
|
8736
|
+
"spaces"
|
|
8737
|
+
]
|
|
8738
|
+
},
|
|
8739
|
+
"UserRiskEvaluation": {
|
|
8740
|
+
"type": "object",
|
|
8741
|
+
"description": "The GitBook User risk evaluation.",
|
|
8742
|
+
"properties": {
|
|
8743
|
+
"wasRisky": {
|
|
8744
|
+
"description": "True if the user was originally considered as risky",
|
|
8745
|
+
"type": "boolean"
|
|
8746
|
+
},
|
|
8747
|
+
"isRisky": {
|
|
8748
|
+
"description": "True if the user is currently considered as risky",
|
|
8749
|
+
"type": "boolean"
|
|
8750
|
+
},
|
|
8751
|
+
"isVerified": {
|
|
8752
|
+
"description": "True if the user went through the verification process",
|
|
8753
|
+
"type": "boolean"
|
|
8754
|
+
},
|
|
8755
|
+
"riskScore": {
|
|
8756
|
+
"description": "Risk score of the user",
|
|
8757
|
+
"type": "number"
|
|
8758
|
+
},
|
|
8759
|
+
"completedSteps": {
|
|
8760
|
+
"description": "Number of verification steps completed by the user",
|
|
8761
|
+
"type": "number"
|
|
8560
8762
|
},
|
|
8561
8763
|
"expectedSteps": {
|
|
8562
8764
|
"description": "Total number of verification steps expected",
|
|
@@ -10049,6 +10251,9 @@
|
|
|
10049
10251
|
{
|
|
10050
10252
|
"$ref": "#/components/schemas/SpacePublishingAuthChannel"
|
|
10051
10253
|
},
|
|
10254
|
+
{
|
|
10255
|
+
"$ref": "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
10256
|
+
},
|
|
10052
10257
|
{
|
|
10053
10258
|
"$ref": "#/components/schemas/SpaceEntitiesChannel"
|
|
10054
10259
|
},
|
|
@@ -10073,6 +10278,9 @@
|
|
|
10073
10278
|
{
|
|
10074
10279
|
"$ref": "#/components/schemas/ChangeRequestReviewsChannel"
|
|
10075
10280
|
},
|
|
10281
|
+
{
|
|
10282
|
+
"$ref": "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
10283
|
+
},
|
|
10076
10284
|
{
|
|
10077
10285
|
"$ref": "#/components/schemas/OrganizationMembersChannel"
|
|
10078
10286
|
},
|
|
@@ -10094,6 +10302,9 @@
|
|
|
10094
10302
|
{
|
|
10095
10303
|
"$ref": "#/components/schemas/OrganizationSpacesChannel"
|
|
10096
10304
|
},
|
|
10305
|
+
{
|
|
10306
|
+
"$ref": "#/components/schemas/OrganizationCollectionsChannel"
|
|
10307
|
+
},
|
|
10097
10308
|
{
|
|
10098
10309
|
"$ref": "#/components/schemas/OrganizationEntitiesChannel"
|
|
10099
10310
|
},
|
|
@@ -10280,6 +10491,24 @@
|
|
|
10280
10491
|
"space"
|
|
10281
10492
|
]
|
|
10282
10493
|
},
|
|
10494
|
+
"SpacePublishingCustomizationChannel": {
|
|
10495
|
+
"type": "object",
|
|
10496
|
+
"properties": {
|
|
10497
|
+
"channel": {
|
|
10498
|
+
"type": "string",
|
|
10499
|
+
"enum": [
|
|
10500
|
+
"space-publishing-customization"
|
|
10501
|
+
]
|
|
10502
|
+
},
|
|
10503
|
+
"space": {
|
|
10504
|
+
"type": "string"
|
|
10505
|
+
}
|
|
10506
|
+
},
|
|
10507
|
+
"required": [
|
|
10508
|
+
"channel",
|
|
10509
|
+
"space"
|
|
10510
|
+
]
|
|
10511
|
+
},
|
|
10283
10512
|
"SpaceEntitiesChannel": {
|
|
10284
10513
|
"type": "object",
|
|
10285
10514
|
"properties": {
|
|
@@ -10388,6 +10617,24 @@
|
|
|
10388
10617
|
"user"
|
|
10389
10618
|
]
|
|
10390
10619
|
},
|
|
10620
|
+
"CollectionPublishingCustomizationChannel": {
|
|
10621
|
+
"type": "object",
|
|
10622
|
+
"properties": {
|
|
10623
|
+
"channel": {
|
|
10624
|
+
"type": "string",
|
|
10625
|
+
"enum": [
|
|
10626
|
+
"collection-publishing-customization"
|
|
10627
|
+
]
|
|
10628
|
+
},
|
|
10629
|
+
"collection": {
|
|
10630
|
+
"type": "string"
|
|
10631
|
+
}
|
|
10632
|
+
},
|
|
10633
|
+
"required": [
|
|
10634
|
+
"channel",
|
|
10635
|
+
"collection"
|
|
10636
|
+
]
|
|
10637
|
+
},
|
|
10391
10638
|
"ChangeRequestReviewsChannel": {
|
|
10392
10639
|
"type": "object",
|
|
10393
10640
|
"properties": {
|
|
@@ -10574,6 +10821,25 @@
|
|
|
10574
10821
|
"organization"
|
|
10575
10822
|
]
|
|
10576
10823
|
},
|
|
10824
|
+
"OrganizationCollectionsChannel": {
|
|
10825
|
+
"type": "object",
|
|
10826
|
+
"description": "Subscription channel for changes in collections in an organization.",
|
|
10827
|
+
"properties": {
|
|
10828
|
+
"channel": {
|
|
10829
|
+
"type": "string",
|
|
10830
|
+
"enum": [
|
|
10831
|
+
"organization-collections"
|
|
10832
|
+
]
|
|
10833
|
+
},
|
|
10834
|
+
"organization": {
|
|
10835
|
+
"type": "string"
|
|
10836
|
+
}
|
|
10837
|
+
},
|
|
10838
|
+
"required": [
|
|
10839
|
+
"channel",
|
|
10840
|
+
"organization"
|
|
10841
|
+
]
|
|
10842
|
+
},
|
|
10577
10843
|
"OrganizationEntitiesChannel": {
|
|
10578
10844
|
"type": "object",
|
|
10579
10845
|
"description": "Subscription channel for entities in an organization.",
|
|
@@ -10879,43 +11145,450 @@
|
|
|
10879
11145
|
]
|
|
10880
11146
|
}
|
|
10881
11147
|
},
|
|
10882
|
-
"UpdateCustomFieldValues": {
|
|
11148
|
+
"UpdateCustomFieldValues": {
|
|
11149
|
+
"type": "object",
|
|
11150
|
+
"properties": {
|
|
11151
|
+
"values": {
|
|
11152
|
+
"type": "object",
|
|
11153
|
+
"additionalProperties": {
|
|
11154
|
+
"type": "object",
|
|
11155
|
+
"maxProperties": 100,
|
|
11156
|
+
"minProperties": 1,
|
|
11157
|
+
"properties": {
|
|
11158
|
+
"value": {
|
|
11159
|
+
"$ref": "#/components/schemas/CustomFieldValue"
|
|
11160
|
+
}
|
|
11161
|
+
},
|
|
11162
|
+
"required": [
|
|
11163
|
+
"value"
|
|
11164
|
+
]
|
|
11165
|
+
}
|
|
11166
|
+
}
|
|
11167
|
+
},
|
|
11168
|
+
"required": [
|
|
11169
|
+
"values"
|
|
11170
|
+
]
|
|
11171
|
+
},
|
|
11172
|
+
"CustomFieldOptions": {
|
|
11173
|
+
"type": "array",
|
|
11174
|
+
"minItems": 1,
|
|
11175
|
+
"maxItems": 50,
|
|
11176
|
+
"items": {
|
|
11177
|
+
"type": "string",
|
|
11178
|
+
"minLength": 1,
|
|
11179
|
+
"maxLength": 40
|
|
11180
|
+
}
|
|
11181
|
+
},
|
|
11182
|
+
"CustomFieldPlaceholder": {
|
|
11183
|
+
"type": "string",
|
|
11184
|
+
"maxLength": 100
|
|
11185
|
+
},
|
|
11186
|
+
"CustomizationSettings": {
|
|
11187
|
+
"type": "object",
|
|
11188
|
+
"properties": {
|
|
11189
|
+
"inherit": {
|
|
11190
|
+
"type": "boolean",
|
|
11191
|
+
"description": "Inherit customization settings from the parent collection."
|
|
11192
|
+
},
|
|
11193
|
+
"title": {
|
|
11194
|
+
"type": "string",
|
|
11195
|
+
"description": "Title to use for the published content. If not defined, it'll fallback to the content title."
|
|
11196
|
+
},
|
|
11197
|
+
"styling": {
|
|
11198
|
+
"type": "object",
|
|
11199
|
+
"properties": {
|
|
11200
|
+
"primaryColor": {
|
|
11201
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11202
|
+
},
|
|
11203
|
+
"corners": {
|
|
11204
|
+
"$ref": "#/components/schemas/CustomizationCorners"
|
|
11205
|
+
},
|
|
11206
|
+
"font": {
|
|
11207
|
+
"$ref": "#/components/schemas/CustomizationFont"
|
|
11208
|
+
}
|
|
11209
|
+
},
|
|
11210
|
+
"required": [
|
|
11211
|
+
"primaryColor",
|
|
11212
|
+
"corners",
|
|
11213
|
+
"font"
|
|
11214
|
+
]
|
|
11215
|
+
},
|
|
11216
|
+
"internationalization": {
|
|
11217
|
+
"type": "object",
|
|
11218
|
+
"properties": {
|
|
11219
|
+
"locale": {
|
|
11220
|
+
"$ref": "#/components/schemas/CustomizationLocale"
|
|
11221
|
+
},
|
|
11222
|
+
"inherit": {
|
|
11223
|
+
"type": "boolean",
|
|
11224
|
+
"description": "Inherit locale from the parent collection."
|
|
11225
|
+
}
|
|
11226
|
+
},
|
|
11227
|
+
"required": [
|
|
11228
|
+
"locale",
|
|
11229
|
+
"inherit"
|
|
11230
|
+
]
|
|
11231
|
+
},
|
|
11232
|
+
"favicon": {
|
|
11233
|
+
"oneOf": [
|
|
11234
|
+
{
|
|
11235
|
+
"type": "object",
|
|
11236
|
+
"properties": {
|
|
11237
|
+
"icon": {
|
|
11238
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11239
|
+
}
|
|
11240
|
+
},
|
|
11241
|
+
"required": [
|
|
11242
|
+
"icon"
|
|
11243
|
+
]
|
|
11244
|
+
},
|
|
11245
|
+
{
|
|
11246
|
+
"type": "object",
|
|
11247
|
+
"properties": {
|
|
11248
|
+
"emoji": {
|
|
11249
|
+
"$ref": "#/components/schemas/Emoji"
|
|
11250
|
+
}
|
|
11251
|
+
},
|
|
11252
|
+
"required": [
|
|
11253
|
+
"emoji"
|
|
11254
|
+
]
|
|
11255
|
+
},
|
|
11256
|
+
{
|
|
11257
|
+
"type": "object",
|
|
11258
|
+
"properties": {},
|
|
11259
|
+
"additionalProperties": false
|
|
11260
|
+
}
|
|
11261
|
+
]
|
|
11262
|
+
},
|
|
11263
|
+
"header": {
|
|
11264
|
+
"type": "object",
|
|
11265
|
+
"properties": {
|
|
11266
|
+
"preset": {
|
|
11267
|
+
"$ref": "#/components/schemas/CustomizationHeaderPreset"
|
|
11268
|
+
},
|
|
11269
|
+
"logo": {
|
|
11270
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11271
|
+
},
|
|
11272
|
+
"backgroundColor": {
|
|
11273
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11274
|
+
},
|
|
11275
|
+
"linkColor": {
|
|
11276
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11277
|
+
},
|
|
11278
|
+
"links": {
|
|
11279
|
+
"type": "array",
|
|
11280
|
+
"items": {
|
|
11281
|
+
"$ref": "#/components/schemas/CustomizationHeaderLink"
|
|
11282
|
+
}
|
|
11283
|
+
}
|
|
11284
|
+
},
|
|
11285
|
+
"required": [
|
|
11286
|
+
"preset",
|
|
11287
|
+
"links"
|
|
11288
|
+
]
|
|
11289
|
+
},
|
|
11290
|
+
"footer": {
|
|
11291
|
+
"type": "object",
|
|
11292
|
+
"properties": {
|
|
11293
|
+
"logo": {
|
|
11294
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11295
|
+
},
|
|
11296
|
+
"groups": {
|
|
11297
|
+
"type": "array",
|
|
11298
|
+
"items": {
|
|
11299
|
+
"$ref": "#/components/schemas/CustomizationFooterGroup"
|
|
11300
|
+
}
|
|
11301
|
+
},
|
|
11302
|
+
"copyright": {
|
|
11303
|
+
"type": "string",
|
|
11304
|
+
"maxLength": 300
|
|
11305
|
+
}
|
|
11306
|
+
},
|
|
11307
|
+
"required": [
|
|
11308
|
+
"groups"
|
|
11309
|
+
]
|
|
11310
|
+
},
|
|
11311
|
+
"themes": {
|
|
11312
|
+
"type": "object",
|
|
11313
|
+
"properties": {
|
|
11314
|
+
"default": {
|
|
11315
|
+
"$ref": "#/components/schemas/CustomizationThemeMode"
|
|
11316
|
+
},
|
|
11317
|
+
"toggeable": {
|
|
11318
|
+
"description": "Should the reader be able to switch between dark and light mode",
|
|
11319
|
+
"type": "boolean"
|
|
11320
|
+
}
|
|
11321
|
+
},
|
|
11322
|
+
"required": [
|
|
11323
|
+
"default",
|
|
11324
|
+
"toggeable"
|
|
11325
|
+
]
|
|
11326
|
+
},
|
|
11327
|
+
"pdf": {
|
|
11328
|
+
"type": "object",
|
|
11329
|
+
"properties": {
|
|
11330
|
+
"enabled": {
|
|
11331
|
+
"type": "boolean",
|
|
11332
|
+
"description": "If true, PDF export is enabled for the published content."
|
|
11333
|
+
}
|
|
11334
|
+
},
|
|
11335
|
+
"required": [
|
|
11336
|
+
"enabled"
|
|
11337
|
+
]
|
|
11338
|
+
},
|
|
11339
|
+
"feedback": {
|
|
11340
|
+
"type": "object",
|
|
11341
|
+
"properties": {
|
|
11342
|
+
"enabled": {
|
|
11343
|
+
"type": "boolean",
|
|
11344
|
+
"description": "If true, feedback gathering is enabled"
|
|
11345
|
+
}
|
|
11346
|
+
},
|
|
11347
|
+
"required": [
|
|
11348
|
+
"enabled"
|
|
11349
|
+
]
|
|
11350
|
+
},
|
|
11351
|
+
"aiSearch": {
|
|
11352
|
+
"type": "object",
|
|
11353
|
+
"properties": {
|
|
11354
|
+
"enabled": {
|
|
11355
|
+
"type": "boolean",
|
|
11356
|
+
"description": "If true, AI search is enabled"
|
|
11357
|
+
}
|
|
11358
|
+
},
|
|
11359
|
+
"required": [
|
|
11360
|
+
"enabled"
|
|
11361
|
+
]
|
|
11362
|
+
},
|
|
11363
|
+
"git": {
|
|
11364
|
+
"type": "object",
|
|
11365
|
+
"properties": {
|
|
11366
|
+
"showEditLink": {
|
|
11367
|
+
"type": "boolean",
|
|
11368
|
+
"description": "Whether the public content should show a link to edit the content on the git provider set up in the GitSync"
|
|
11369
|
+
}
|
|
11370
|
+
},
|
|
11371
|
+
"required": [
|
|
11372
|
+
"showEditLink"
|
|
11373
|
+
]
|
|
11374
|
+
},
|
|
11375
|
+
"pagination": {
|
|
11376
|
+
"type": "object",
|
|
11377
|
+
"properties": {
|
|
11378
|
+
"enabled": {
|
|
11379
|
+
"type": "boolean",
|
|
11380
|
+
"description": "Whether the pagination navigation should be displayed on pages."
|
|
11381
|
+
}
|
|
11382
|
+
},
|
|
11383
|
+
"required": [
|
|
11384
|
+
"enabled"
|
|
11385
|
+
]
|
|
11386
|
+
},
|
|
11387
|
+
"trademark": {
|
|
11388
|
+
"type": "object",
|
|
11389
|
+
"properties": {
|
|
11390
|
+
"enabled": {
|
|
11391
|
+
"type": "boolean",
|
|
11392
|
+
"description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
|
|
11393
|
+
}
|
|
11394
|
+
},
|
|
11395
|
+
"required": [
|
|
11396
|
+
"enabled"
|
|
11397
|
+
]
|
|
11398
|
+
},
|
|
11399
|
+
"privacyPolicy": {
|
|
11400
|
+
"type": "object",
|
|
11401
|
+
"properties": {
|
|
11402
|
+
"url": {
|
|
11403
|
+
"$ref": "#/components/schemas/URL"
|
|
11404
|
+
}
|
|
11405
|
+
}
|
|
11406
|
+
},
|
|
11407
|
+
"socialPreview": {
|
|
11408
|
+
"type": "object",
|
|
11409
|
+
"properties": {
|
|
11410
|
+
"url": {
|
|
11411
|
+
"$ref": "#/components/schemas/URL"
|
|
11412
|
+
}
|
|
11413
|
+
}
|
|
11414
|
+
}
|
|
11415
|
+
},
|
|
11416
|
+
"required": [
|
|
11417
|
+
"inherit",
|
|
11418
|
+
"styling",
|
|
11419
|
+
"internationalization",
|
|
11420
|
+
"favicon",
|
|
11421
|
+
"header",
|
|
11422
|
+
"footer",
|
|
11423
|
+
"themes",
|
|
11424
|
+
"pdf",
|
|
11425
|
+
"feedback",
|
|
11426
|
+
"aiSearch",
|
|
11427
|
+
"trademark",
|
|
11428
|
+
"pagination",
|
|
11429
|
+
"git",
|
|
11430
|
+
"privacyPolicy",
|
|
11431
|
+
"socialPreview"
|
|
11432
|
+
]
|
|
11433
|
+
},
|
|
11434
|
+
"CustomizationCollectionSettings": {
|
|
11435
|
+
"allOf": [
|
|
11436
|
+
{
|
|
11437
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
11438
|
+
},
|
|
11439
|
+
{
|
|
11440
|
+
"type": "object",
|
|
11441
|
+
"properties": {
|
|
11442
|
+
"collection": {
|
|
11443
|
+
"type": "object",
|
|
11444
|
+
"properties": {
|
|
11445
|
+
"defaultSpace": {
|
|
11446
|
+
"type": "string",
|
|
11447
|
+
"description": "ID of the space used by default in the collection"
|
|
11448
|
+
}
|
|
11449
|
+
}
|
|
11450
|
+
}
|
|
11451
|
+
},
|
|
11452
|
+
"required": [
|
|
11453
|
+
"collection"
|
|
11454
|
+
]
|
|
11455
|
+
}
|
|
11456
|
+
]
|
|
11457
|
+
},
|
|
11458
|
+
"CustomizationLocale": {
|
|
11459
|
+
"type": "string",
|
|
11460
|
+
"description": "Language for the UI element",
|
|
11461
|
+
"enum": [
|
|
11462
|
+
"en",
|
|
11463
|
+
"fr",
|
|
11464
|
+
"es",
|
|
11465
|
+
"zh",
|
|
11466
|
+
"ja"
|
|
11467
|
+
]
|
|
11468
|
+
},
|
|
11469
|
+
"CustomizationFont": {
|
|
11470
|
+
"type": "string",
|
|
11471
|
+
"enum": [
|
|
11472
|
+
"Inter",
|
|
11473
|
+
"Roboto",
|
|
11474
|
+
"RobotoSlab",
|
|
11475
|
+
"OpenSans",
|
|
11476
|
+
"SourceSansPro",
|
|
11477
|
+
"Lato",
|
|
11478
|
+
"Ubuntu",
|
|
11479
|
+
"Raleway",
|
|
11480
|
+
"Merriweather",
|
|
11481
|
+
"Overpass",
|
|
11482
|
+
"NotoSans",
|
|
11483
|
+
"IBMPlexSerif",
|
|
11484
|
+
"Poppins",
|
|
11485
|
+
"FiraSans"
|
|
11486
|
+
]
|
|
11487
|
+
},
|
|
11488
|
+
"CustomizationHeaderPreset": {
|
|
11489
|
+
"type": "string",
|
|
11490
|
+
"enum": [
|
|
11491
|
+
"default",
|
|
11492
|
+
"bold",
|
|
11493
|
+
"contrast",
|
|
11494
|
+
"custom",
|
|
11495
|
+
"none"
|
|
11496
|
+
]
|
|
11497
|
+
},
|
|
11498
|
+
"CustomizationThemeMode": {
|
|
11499
|
+
"type": "string",
|
|
11500
|
+
"enum": [
|
|
11501
|
+
"light",
|
|
11502
|
+
"dark"
|
|
11503
|
+
]
|
|
11504
|
+
},
|
|
11505
|
+
"CustomizationHeaderLink": {
|
|
11506
|
+
"allOf": [
|
|
11507
|
+
{
|
|
11508
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
11509
|
+
},
|
|
11510
|
+
{
|
|
11511
|
+
"type": "object",
|
|
11512
|
+
"properties": {
|
|
11513
|
+
"links": {
|
|
11514
|
+
"type": "array",
|
|
11515
|
+
"items": {
|
|
11516
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
11517
|
+
}
|
|
11518
|
+
}
|
|
11519
|
+
}
|
|
11520
|
+
}
|
|
11521
|
+
]
|
|
11522
|
+
},
|
|
11523
|
+
"CustomizationContentLink": {
|
|
11524
|
+
"type": "object",
|
|
11525
|
+
"properties": {
|
|
11526
|
+
"title": {
|
|
11527
|
+
"type": "string"
|
|
11528
|
+
},
|
|
11529
|
+
"to": {
|
|
11530
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
11531
|
+
}
|
|
11532
|
+
},
|
|
11533
|
+
"required": [
|
|
11534
|
+
"title",
|
|
11535
|
+
"to"
|
|
11536
|
+
]
|
|
11537
|
+
},
|
|
11538
|
+
"CustomizationFooterGroup": {
|
|
10883
11539
|
"type": "object",
|
|
10884
11540
|
"properties": {
|
|
10885
|
-
"
|
|
10886
|
-
"type": "
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
"
|
|
10892
|
-
"value": {
|
|
10893
|
-
"$ref": "#/components/schemas/CustomFieldValue"
|
|
10894
|
-
}
|
|
10895
|
-
},
|
|
10896
|
-
"required": [
|
|
10897
|
-
"value"
|
|
10898
|
-
]
|
|
11541
|
+
"title": {
|
|
11542
|
+
"type": "string"
|
|
11543
|
+
},
|
|
11544
|
+
"links": {
|
|
11545
|
+
"type": "array",
|
|
11546
|
+
"items": {
|
|
11547
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
10899
11548
|
}
|
|
10900
11549
|
}
|
|
10901
11550
|
},
|
|
10902
11551
|
"required": [
|
|
10903
|
-
"
|
|
11552
|
+
"title",
|
|
11553
|
+
"links"
|
|
10904
11554
|
]
|
|
10905
11555
|
},
|
|
10906
|
-
"
|
|
10907
|
-
"type": "array",
|
|
10908
|
-
"minItems": 1,
|
|
10909
|
-
"maxItems": 50,
|
|
10910
|
-
"items": {
|
|
10911
|
-
"type": "string",
|
|
10912
|
-
"minLength": 1,
|
|
10913
|
-
"maxLength": 40
|
|
10914
|
-
}
|
|
10915
|
-
},
|
|
10916
|
-
"CustomFieldPlaceholder": {
|
|
11556
|
+
"CustomizationCorners": {
|
|
10917
11557
|
"type": "string",
|
|
10918
|
-
"
|
|
11558
|
+
"enum": [
|
|
11559
|
+
"straight",
|
|
11560
|
+
"rounded"
|
|
11561
|
+
]
|
|
11562
|
+
},
|
|
11563
|
+
"CustomizationThemedURL": {
|
|
11564
|
+
"type": "object",
|
|
11565
|
+
"properties": {
|
|
11566
|
+
"light": {
|
|
11567
|
+
"$ref": "#/components/schemas/URL"
|
|
11568
|
+
},
|
|
11569
|
+
"dark": {
|
|
11570
|
+
"$ref": "#/components/schemas/URL"
|
|
11571
|
+
}
|
|
11572
|
+
},
|
|
11573
|
+
"required": [
|
|
11574
|
+
"light",
|
|
11575
|
+
"dark"
|
|
11576
|
+
]
|
|
11577
|
+
},
|
|
11578
|
+
"CustomizationThemedColor": {
|
|
11579
|
+
"type": "object",
|
|
11580
|
+
"properties": {
|
|
11581
|
+
"light": {
|
|
11582
|
+
"$ref": "#/components/schemas/Color"
|
|
11583
|
+
},
|
|
11584
|
+
"dark": {
|
|
11585
|
+
"$ref": "#/components/schemas/Color"
|
|
11586
|
+
}
|
|
11587
|
+
},
|
|
11588
|
+
"required": [
|
|
11589
|
+
"light",
|
|
11590
|
+
"dark"
|
|
11591
|
+
]
|
|
10919
11592
|
}
|
|
10920
11593
|
},
|
|
10921
11594
|
"responses": {
|
|
@@ -14165,6 +14838,88 @@
|
|
|
14165
14838
|
}
|
|
14166
14839
|
}
|
|
14167
14840
|
},
|
|
14841
|
+
"/spaces/{spaceId}/publishing/customization": {
|
|
14842
|
+
"get": {
|
|
14843
|
+
"operationId": "getSpacePublishingCustomizationById",
|
|
14844
|
+
"summary": "Get the publishing customization configuration for a space.",
|
|
14845
|
+
"tags": [
|
|
14846
|
+
"spaces"
|
|
14847
|
+
],
|
|
14848
|
+
"security": [
|
|
14849
|
+
{
|
|
14850
|
+
"user": []
|
|
14851
|
+
}
|
|
14852
|
+
],
|
|
14853
|
+
"parameters": [
|
|
14854
|
+
{
|
|
14855
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14856
|
+
}
|
|
14857
|
+
],
|
|
14858
|
+
"responses": {
|
|
14859
|
+
"200": {
|
|
14860
|
+
"description": "OK",
|
|
14861
|
+
"content": {
|
|
14862
|
+
"application/json": {
|
|
14863
|
+
"schema": {
|
|
14864
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14865
|
+
}
|
|
14866
|
+
}
|
|
14867
|
+
}
|
|
14868
|
+
},
|
|
14869
|
+
"400": {
|
|
14870
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14871
|
+
},
|
|
14872
|
+
"default": {
|
|
14873
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14874
|
+
}
|
|
14875
|
+
}
|
|
14876
|
+
},
|
|
14877
|
+
"put": {
|
|
14878
|
+
"operationId": "updateSpacePublishingCustomizationById",
|
|
14879
|
+
"summary": "Update the publishing customization configuration for a space.",
|
|
14880
|
+
"tags": [
|
|
14881
|
+
"spaces"
|
|
14882
|
+
],
|
|
14883
|
+
"security": [
|
|
14884
|
+
{
|
|
14885
|
+
"user": []
|
|
14886
|
+
}
|
|
14887
|
+
],
|
|
14888
|
+
"parameters": [
|
|
14889
|
+
{
|
|
14890
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14891
|
+
}
|
|
14892
|
+
],
|
|
14893
|
+
"requestBody": {
|
|
14894
|
+
"required": true,
|
|
14895
|
+
"content": {
|
|
14896
|
+
"application/json": {
|
|
14897
|
+
"schema": {
|
|
14898
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14899
|
+
}
|
|
14900
|
+
}
|
|
14901
|
+
}
|
|
14902
|
+
},
|
|
14903
|
+
"responses": {
|
|
14904
|
+
"200": {
|
|
14905
|
+
"description": "OK",
|
|
14906
|
+
"content": {
|
|
14907
|
+
"application/json": {
|
|
14908
|
+
"schema": {
|
|
14909
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14910
|
+
}
|
|
14911
|
+
}
|
|
14912
|
+
}
|
|
14913
|
+
},
|
|
14914
|
+
"400": {
|
|
14915
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14916
|
+
},
|
|
14917
|
+
"default": {
|
|
14918
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14919
|
+
}
|
|
14920
|
+
}
|
|
14921
|
+
}
|
|
14922
|
+
},
|
|
14168
14923
|
"/spaces/{spaceId}/publishing/auth": {
|
|
14169
14924
|
"get": {
|
|
14170
14925
|
"operationId": "getSpacePublishingAuthById",
|
|
@@ -14636,6 +15391,88 @@
|
|
|
14636
15391
|
}
|
|
14637
15392
|
}
|
|
14638
15393
|
},
|
|
15394
|
+
"/collections/{collectionId}/publishing/customization": {
|
|
15395
|
+
"get": {
|
|
15396
|
+
"operationId": "getCollectionPublishingCustomizationById",
|
|
15397
|
+
"summary": "Get the publishing customization configuration for a collection.",
|
|
15398
|
+
"tags": [
|
|
15399
|
+
"collections"
|
|
15400
|
+
],
|
|
15401
|
+
"security": [
|
|
15402
|
+
{
|
|
15403
|
+
"user": []
|
|
15404
|
+
}
|
|
15405
|
+
],
|
|
15406
|
+
"parameters": [
|
|
15407
|
+
{
|
|
15408
|
+
"$ref": "#/components/parameters/collectionId"
|
|
15409
|
+
}
|
|
15410
|
+
],
|
|
15411
|
+
"responses": {
|
|
15412
|
+
"200": {
|
|
15413
|
+
"description": "OK",
|
|
15414
|
+
"content": {
|
|
15415
|
+
"application/json": {
|
|
15416
|
+
"schema": {
|
|
15417
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15418
|
+
}
|
|
15419
|
+
}
|
|
15420
|
+
}
|
|
15421
|
+
},
|
|
15422
|
+
"400": {
|
|
15423
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15424
|
+
},
|
|
15425
|
+
"default": {
|
|
15426
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15427
|
+
}
|
|
15428
|
+
}
|
|
15429
|
+
},
|
|
15430
|
+
"put": {
|
|
15431
|
+
"operationId": "updateCollectionPublishingCustomizationById",
|
|
15432
|
+
"summary": "Update the publishing customization configuration for a collection.",
|
|
15433
|
+
"tags": [
|
|
15434
|
+
"collections"
|
|
15435
|
+
],
|
|
15436
|
+
"security": [
|
|
15437
|
+
{
|
|
15438
|
+
"user": []
|
|
15439
|
+
}
|
|
15440
|
+
],
|
|
15441
|
+
"parameters": [
|
|
15442
|
+
{
|
|
15443
|
+
"$ref": "#/components/parameters/collectionId"
|
|
15444
|
+
}
|
|
15445
|
+
],
|
|
15446
|
+
"requestBody": {
|
|
15447
|
+
"required": true,
|
|
15448
|
+
"content": {
|
|
15449
|
+
"application/json": {
|
|
15450
|
+
"schema": {
|
|
15451
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15452
|
+
}
|
|
15453
|
+
}
|
|
15454
|
+
}
|
|
15455
|
+
},
|
|
15456
|
+
"responses": {
|
|
15457
|
+
"200": {
|
|
15458
|
+
"description": "OK",
|
|
15459
|
+
"content": {
|
|
15460
|
+
"application/json": {
|
|
15461
|
+
"schema": {
|
|
15462
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15463
|
+
}
|
|
15464
|
+
}
|
|
15465
|
+
}
|
|
15466
|
+
},
|
|
15467
|
+
"400": {
|
|
15468
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15469
|
+
},
|
|
15470
|
+
"default": {
|
|
15471
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15472
|
+
}
|
|
15473
|
+
}
|
|
15474
|
+
}
|
|
15475
|
+
},
|
|
14639
15476
|
"/integrations": {
|
|
14640
15477
|
"get": {
|
|
14641
15478
|
"operationId": "listIntegrations",
|
|
@@ -17320,6 +18157,65 @@
|
|
|
17320
18157
|
"$ref": "#/components/responses/UnexpectedError"
|
|
17321
18158
|
}
|
|
17322
18159
|
}
|
|
18160
|
+
},
|
|
18161
|
+
"post": {
|
|
18162
|
+
"operationId": "createCollection",
|
|
18163
|
+
"summary": "Create an organization collection",
|
|
18164
|
+
"tags": [
|
|
18165
|
+
"collections"
|
|
18166
|
+
],
|
|
18167
|
+
"security": [
|
|
18168
|
+
{
|
|
18169
|
+
"user": []
|
|
18170
|
+
}
|
|
18171
|
+
],
|
|
18172
|
+
"parameters": [
|
|
18173
|
+
{
|
|
18174
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18175
|
+
}
|
|
18176
|
+
],
|
|
18177
|
+
"requestBody": {
|
|
18178
|
+
"content": {
|
|
18179
|
+
"application/json": {
|
|
18180
|
+
"schema": {
|
|
18181
|
+
"type": "object",
|
|
18182
|
+
"properties": {
|
|
18183
|
+
"title": {
|
|
18184
|
+
"type": "string",
|
|
18185
|
+
"maxLength": 50
|
|
18186
|
+
},
|
|
18187
|
+
"parent": {
|
|
18188
|
+
"type": "string",
|
|
18189
|
+
"description": "ID of a parent collection"
|
|
18190
|
+
}
|
|
18191
|
+
}
|
|
18192
|
+
}
|
|
18193
|
+
}
|
|
18194
|
+
}
|
|
18195
|
+
},
|
|
18196
|
+
"responses": {
|
|
18197
|
+
"201": {
|
|
18198
|
+
"description": "Collection created",
|
|
18199
|
+
"headers": {
|
|
18200
|
+
"Location": {
|
|
18201
|
+
"description": "API URL for the newly created collection",
|
|
18202
|
+
"schema": {
|
|
18203
|
+
"type": "string"
|
|
18204
|
+
}
|
|
18205
|
+
}
|
|
18206
|
+
},
|
|
18207
|
+
"content": {
|
|
18208
|
+
"application/json": {
|
|
18209
|
+
"schema": {
|
|
18210
|
+
"$ref": "#/components/schemas/Collection"
|
|
18211
|
+
}
|
|
18212
|
+
}
|
|
18213
|
+
}
|
|
18214
|
+
},
|
|
18215
|
+
"default": {
|
|
18216
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18217
|
+
}
|
|
18218
|
+
}
|
|
17323
18219
|
}
|
|
17324
18220
|
},
|
|
17325
18221
|
"/orgs/{organizationId}/dsync": {
|