@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.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"
|
|
@@ -1368,7 +1372,15 @@
|
|
|
1368
1372
|
"$ref": "#/components/schemas/MarkdownDocument"
|
|
1369
1373
|
},
|
|
1370
1374
|
{
|
|
1371
|
-
"
|
|
1375
|
+
"type": "object",
|
|
1376
|
+
"properties": {
|
|
1377
|
+
"document": {
|
|
1378
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
"required": [
|
|
1382
|
+
"document"
|
|
1383
|
+
]
|
|
1372
1384
|
},
|
|
1373
1385
|
{
|
|
1374
1386
|
"type": "object",
|
|
@@ -1390,38 +1402,29 @@
|
|
|
1390
1402
|
]
|
|
1391
1403
|
},
|
|
1392
1404
|
"JSONDocument": {
|
|
1393
|
-
"type": "object",
|
|
1394
1405
|
"properties": {
|
|
1395
|
-
"
|
|
1396
|
-
"type": "
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"type": "string",
|
|
1400
|
-
"enum": [
|
|
1401
|
-
"document"
|
|
1402
|
-
]
|
|
1403
|
-
},
|
|
1404
|
-
"data": {
|
|
1405
|
-
"type": "object",
|
|
1406
|
-
"properties": {},
|
|
1407
|
-
"additionalProperties": false
|
|
1408
|
-
},
|
|
1409
|
-
"nodes": {
|
|
1410
|
-
"type": "array",
|
|
1411
|
-
"items": {
|
|
1412
|
-
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
},
|
|
1416
|
-
"required": [
|
|
1417
|
-
"object",
|
|
1418
|
-
"data",
|
|
1419
|
-
"nodes"
|
|
1406
|
+
"object": {
|
|
1407
|
+
"type": "string",
|
|
1408
|
+
"enum": [
|
|
1409
|
+
"document"
|
|
1420
1410
|
]
|
|
1411
|
+
},
|
|
1412
|
+
"data": {
|
|
1413
|
+
"type": "object",
|
|
1414
|
+
"properties": {},
|
|
1415
|
+
"additionalProperties": false
|
|
1416
|
+
},
|
|
1417
|
+
"nodes": {
|
|
1418
|
+
"type": "array",
|
|
1419
|
+
"items": {
|
|
1420
|
+
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
1421
|
+
}
|
|
1421
1422
|
}
|
|
1422
1423
|
},
|
|
1423
1424
|
"required": [
|
|
1424
|
-
"
|
|
1425
|
+
"object",
|
|
1426
|
+
"data",
|
|
1427
|
+
"nodes"
|
|
1425
1428
|
]
|
|
1426
1429
|
},
|
|
1427
1430
|
"DocumentBlocksEssentials": {
|
|
@@ -1574,129 +1577,161 @@
|
|
|
1574
1577
|
"marks"
|
|
1575
1578
|
]
|
|
1576
1579
|
},
|
|
1577
|
-
"
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1580
|
+
"DocumentMarkBold": {
|
|
1581
|
+
"type": "object",
|
|
1582
|
+
"properties": {
|
|
1583
|
+
"object": {
|
|
1584
|
+
"type": "string",
|
|
1585
|
+
"enum": [
|
|
1586
|
+
"mark"
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
|
+
"type": {
|
|
1590
|
+
"type": "string",
|
|
1591
|
+
"enum": [
|
|
1592
|
+
"bold"
|
|
1593
|
+
]
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
"required": [
|
|
1597
|
+
"object",
|
|
1598
|
+
"type"
|
|
1599
|
+
]
|
|
1600
|
+
},
|
|
1601
|
+
"DocumentMarkItalic": {
|
|
1602
|
+
"type": "object",
|
|
1603
|
+
"properties": {
|
|
1604
|
+
"object": {
|
|
1605
|
+
"type": "string",
|
|
1606
|
+
"enum": [
|
|
1607
|
+
"mark"
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"type": {
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"enum": [
|
|
1613
|
+
"italic"
|
|
1614
|
+
]
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
"required": [
|
|
1618
|
+
"object",
|
|
1619
|
+
"type"
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
"DocumentMarkCode": {
|
|
1623
|
+
"type": "object",
|
|
1624
|
+
"properties": {
|
|
1625
|
+
"object": {
|
|
1626
|
+
"type": "string",
|
|
1627
|
+
"enum": [
|
|
1628
|
+
"mark"
|
|
1629
|
+
]
|
|
1630
|
+
},
|
|
1631
|
+
"type": {
|
|
1632
|
+
"type": "string",
|
|
1633
|
+
"enum": [
|
|
1634
|
+
"code"
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
"required": [
|
|
1639
|
+
"object",
|
|
1640
|
+
"type"
|
|
1641
|
+
]
|
|
1642
|
+
},
|
|
1643
|
+
"DocumentMarkStrikethrough": {
|
|
1644
|
+
"type": "object",
|
|
1645
|
+
"properties": {
|
|
1646
|
+
"object": {
|
|
1647
|
+
"type": "string",
|
|
1648
|
+
"enum": [
|
|
1649
|
+
"mark"
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
"type": {
|
|
1653
|
+
"type": "string",
|
|
1654
|
+
"enum": [
|
|
1655
|
+
"strikethrough"
|
|
1656
|
+
]
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
"required": [
|
|
1660
|
+
"object",
|
|
1661
|
+
"type"
|
|
1662
|
+
]
|
|
1663
|
+
},
|
|
1664
|
+
"DocumentMarkColor": {
|
|
1665
|
+
"type": "object",
|
|
1666
|
+
"properties": {
|
|
1667
|
+
"object": {
|
|
1668
|
+
"type": "string",
|
|
1669
|
+
"enum": [
|
|
1670
|
+
"mark"
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1673
|
+
"type": {
|
|
1674
|
+
"type": "string",
|
|
1675
|
+
"enum": [
|
|
1676
|
+
"color"
|
|
1677
|
+
]
|
|
1678
|
+
},
|
|
1679
|
+
"data": {
|
|
1580
1680
|
"type": "object",
|
|
1581
1681
|
"properties": {
|
|
1582
|
-
"
|
|
1682
|
+
"text": {
|
|
1683
|
+
"type": "string",
|
|
1684
|
+
"enum": [
|
|
1685
|
+
"default",
|
|
1686
|
+
"green",
|
|
1687
|
+
"blue",
|
|
1688
|
+
"red",
|
|
1689
|
+
"orange",
|
|
1690
|
+
"yellow",
|
|
1691
|
+
"purple"
|
|
1692
|
+
]
|
|
1693
|
+
},
|
|
1694
|
+
"background": {
|
|
1583
1695
|
"type": "string",
|
|
1584
1696
|
"enum": [
|
|
1585
|
-
"
|
|
1697
|
+
"default",
|
|
1698
|
+
"green",
|
|
1699
|
+
"blue",
|
|
1700
|
+
"red",
|
|
1701
|
+
"orange",
|
|
1702
|
+
"yellow",
|
|
1703
|
+
"purple"
|
|
1586
1704
|
]
|
|
1587
1705
|
}
|
|
1588
1706
|
},
|
|
1589
1707
|
"required": [
|
|
1590
|
-
"
|
|
1708
|
+
"text",
|
|
1709
|
+
"background"
|
|
1591
1710
|
]
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"required": [
|
|
1714
|
+
"object",
|
|
1715
|
+
"type",
|
|
1716
|
+
"data"
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1719
|
+
"DocumentTextMark": {
|
|
1720
|
+
"oneOf": [
|
|
1721
|
+
{
|
|
1722
|
+
"$ref": "#/components/schemas/DocumentMarkBold"
|
|
1592
1723
|
},
|
|
1593
1724
|
{
|
|
1594
|
-
"
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
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
|
-
]
|
|
1725
|
+
"$ref": "#/components/schemas/DocumentMarkItalic"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"$ref": "#/components/schemas/DocumentMarkCode"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"$ref": "#/components/schemas/DocumentMarkStrikethrough"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"$ref": "#/components/schemas/DocumentMarkColor"
|
|
1700
1735
|
}
|
|
1701
1736
|
]
|
|
1702
1737
|
},
|
|
@@ -1724,6 +1759,9 @@
|
|
|
1724
1759
|
"oneOf": [
|
|
1725
1760
|
{
|
|
1726
1761
|
"$ref": "#/components/schemas/DocumentNodeText"
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"$ref": "#/components/schemas/DocumentInlineImage"
|
|
1727
1765
|
}
|
|
1728
1766
|
]
|
|
1729
1767
|
}
|
|
@@ -1738,6 +1776,12 @@
|
|
|
1738
1776
|
"required": [
|
|
1739
1777
|
"ref"
|
|
1740
1778
|
]
|
|
1779
|
+
},
|
|
1780
|
+
"isVoid": {
|
|
1781
|
+
"type": "boolean",
|
|
1782
|
+
"enum": [
|
|
1783
|
+
false
|
|
1784
|
+
]
|
|
1741
1785
|
}
|
|
1742
1786
|
},
|
|
1743
1787
|
"required": [
|
|
@@ -2008,17 +2052,51 @@
|
|
|
2008
2052
|
"enum": [
|
|
2009
2053
|
true
|
|
2010
2054
|
]
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2055
|
+
},
|
|
2056
|
+
"nodes": {
|
|
2057
|
+
"type": "array",
|
|
2058
|
+
"items": {
|
|
2059
|
+
"$ref": "#/components/schemas/DocumentNodeText"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"data": {
|
|
2063
|
+
"type": "object",
|
|
2064
|
+
"properties": {},
|
|
2065
|
+
"additionalProperties": false
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"required": [
|
|
2069
|
+
"object",
|
|
2070
|
+
"type",
|
|
2071
|
+
"fragments",
|
|
2072
|
+
"isVoid",
|
|
2073
|
+
"nodes"
|
|
2074
|
+
]
|
|
2075
|
+
},
|
|
2020
2076
|
"DocumentInlinesRich": {
|
|
2021
|
-
"
|
|
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
|
+
]
|
|
2022
2100
|
},
|
|
2023
2101
|
"DocumentBlockParagraph": {
|
|
2024
2102
|
"type": "object",
|
|
@@ -2041,8 +2119,19 @@
|
|
|
2041
2119
|
"nodes": {
|
|
2042
2120
|
"type": "array",
|
|
2043
2121
|
"items": {
|
|
2044
|
-
"$ref": "#/components/schemas/
|
|
2122
|
+
"$ref": "#/components/schemas/DocumentInlinesRich"
|
|
2045
2123
|
}
|
|
2124
|
+
},
|
|
2125
|
+
"isVoid": {
|
|
2126
|
+
"type": "boolean",
|
|
2127
|
+
"enum": [
|
|
2128
|
+
false
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
|
+
"data": {
|
|
2132
|
+
"type": "object",
|
|
2133
|
+
"properties": {},
|
|
2134
|
+
"additionalProperties": false
|
|
2046
2135
|
}
|
|
2047
2136
|
},
|
|
2048
2137
|
"required": [
|
|
@@ -2074,29 +2163,7 @@
|
|
|
2074
2163
|
"nodes": {
|
|
2075
2164
|
"type": "array",
|
|
2076
2165
|
"items": {
|
|
2077
|
-
"
|
|
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
|
-
]
|
|
2166
|
+
"$ref": "#/components/schemas/DocumentInlinesRich"
|
|
2100
2167
|
}
|
|
2101
2168
|
},
|
|
2102
2169
|
"data": {
|
|
@@ -2119,6 +2186,12 @@
|
|
|
2119
2186
|
"required": [
|
|
2120
2187
|
"id"
|
|
2121
2188
|
]
|
|
2189
|
+
},
|
|
2190
|
+
"isVoid": {
|
|
2191
|
+
"type": "boolean",
|
|
2192
|
+
"enum": [
|
|
2193
|
+
false
|
|
2194
|
+
]
|
|
2122
2195
|
}
|
|
2123
2196
|
},
|
|
2124
2197
|
"required": [
|
|
@@ -2140,7 +2213,7 @@
|
|
|
2140
2213
|
"type": {
|
|
2141
2214
|
"type": "string",
|
|
2142
2215
|
"enum": [
|
|
2143
|
-
"
|
|
2216
|
+
"blockquote"
|
|
2144
2217
|
]
|
|
2145
2218
|
},
|
|
2146
2219
|
"key": {
|
|
@@ -2158,6 +2231,17 @@
|
|
|
2158
2231
|
}
|
|
2159
2232
|
]
|
|
2160
2233
|
}
|
|
2234
|
+
},
|
|
2235
|
+
"isVoid": {
|
|
2236
|
+
"type": "boolean",
|
|
2237
|
+
"enum": [
|
|
2238
|
+
false
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
"data": {
|
|
2242
|
+
"type": "object",
|
|
2243
|
+
"properties": {},
|
|
2244
|
+
"additionalProperties": false
|
|
2161
2245
|
}
|
|
2162
2246
|
},
|
|
2163
2247
|
"required": [
|
|
@@ -2206,6 +2290,12 @@
|
|
|
2206
2290
|
"items": {
|
|
2207
2291
|
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
2208
2292
|
}
|
|
2293
|
+
},
|
|
2294
|
+
"isVoid": {
|
|
2295
|
+
"type": "boolean",
|
|
2296
|
+
"enum": [
|
|
2297
|
+
false
|
|
2298
|
+
]
|
|
2209
2299
|
}
|
|
2210
2300
|
},
|
|
2211
2301
|
"required": [
|
|
@@ -2242,6 +2332,16 @@
|
|
|
2242
2332
|
}
|
|
2243
2333
|
]
|
|
2244
2334
|
}
|
|
2335
|
+
},
|
|
2336
|
+
"data": {
|
|
2337
|
+
"type": "object",
|
|
2338
|
+
"additionalProperties": false
|
|
2339
|
+
},
|
|
2340
|
+
"isVoid": {
|
|
2341
|
+
"type": "boolean",
|
|
2342
|
+
"enum": [
|
|
2343
|
+
false
|
|
2344
|
+
]
|
|
2245
2345
|
}
|
|
2246
2346
|
},
|
|
2247
2347
|
"required": [
|
|
@@ -2286,6 +2386,12 @@
|
|
|
2286
2386
|
}
|
|
2287
2387
|
]
|
|
2288
2388
|
}
|
|
2389
|
+
},
|
|
2390
|
+
"isVoid": {
|
|
2391
|
+
"type": "boolean",
|
|
2392
|
+
"enum": [
|
|
2393
|
+
false
|
|
2394
|
+
]
|
|
2289
2395
|
}
|
|
2290
2396
|
},
|
|
2291
2397
|
"required": [
|
|
@@ -2322,6 +2428,17 @@
|
|
|
2322
2428
|
}
|
|
2323
2429
|
]
|
|
2324
2430
|
}
|
|
2431
|
+
},
|
|
2432
|
+
"isVoid": {
|
|
2433
|
+
"type": "boolean",
|
|
2434
|
+
"enum": [
|
|
2435
|
+
false
|
|
2436
|
+
]
|
|
2437
|
+
},
|
|
2438
|
+
"data": {
|
|
2439
|
+
"type": "object",
|
|
2440
|
+
"properties": {},
|
|
2441
|
+
"additionalProperties": false
|
|
2325
2442
|
}
|
|
2326
2443
|
},
|
|
2327
2444
|
"required": [
|
|
@@ -2357,6 +2474,17 @@
|
|
|
2357
2474
|
}
|
|
2358
2475
|
]
|
|
2359
2476
|
}
|
|
2477
|
+
},
|
|
2478
|
+
"isVoid": {
|
|
2479
|
+
"type": "boolean",
|
|
2480
|
+
"enum": [
|
|
2481
|
+
false
|
|
2482
|
+
]
|
|
2483
|
+
},
|
|
2484
|
+
"data": {
|
|
2485
|
+
"type": "object",
|
|
2486
|
+
"properties": {},
|
|
2487
|
+
"additionalProperties": false
|
|
2360
2488
|
}
|
|
2361
2489
|
},
|
|
2362
2490
|
"required": [
|
|
@@ -2748,6 +2876,12 @@
|
|
|
2748
2876
|
"items": {
|
|
2749
2877
|
"$ref": "#/components/schemas/DocumentBlockCodeLine"
|
|
2750
2878
|
}
|
|
2879
|
+
},
|
|
2880
|
+
"isVoid": {
|
|
2881
|
+
"type": "boolean",
|
|
2882
|
+
"enum": [
|
|
2883
|
+
false
|
|
2884
|
+
]
|
|
2751
2885
|
}
|
|
2752
2886
|
},
|
|
2753
2887
|
"required": [
|
|
@@ -2795,6 +2929,12 @@
|
|
|
2795
2929
|
"type": "boolean"
|
|
2796
2930
|
}
|
|
2797
2931
|
}
|
|
2932
|
+
},
|
|
2933
|
+
"isVoid": {
|
|
2934
|
+
"type": "boolean",
|
|
2935
|
+
"enum": [
|
|
2936
|
+
false
|
|
2937
|
+
]
|
|
2798
2938
|
}
|
|
2799
2939
|
},
|
|
2800
2940
|
"required": [
|
|
@@ -2871,6 +3011,11 @@
|
|
|
2871
3011
|
true
|
|
2872
3012
|
]
|
|
2873
3013
|
},
|
|
3014
|
+
"data": {
|
|
3015
|
+
"type": "object",
|
|
3016
|
+
"properties": {},
|
|
3017
|
+
"additionalProperties": false
|
|
3018
|
+
},
|
|
2874
3019
|
"fragments": {
|
|
2875
3020
|
"type": "array",
|
|
2876
3021
|
"items": {
|
|
@@ -2975,7 +3120,8 @@
|
|
|
2975
3120
|
"object",
|
|
2976
3121
|
"type",
|
|
2977
3122
|
"isVoid",
|
|
2978
|
-
"fragments"
|
|
3123
|
+
"fragments",
|
|
3124
|
+
"data"
|
|
2979
3125
|
]
|
|
2980
3126
|
},
|
|
2981
3127
|
"DocumentBlockTabs": {
|
|
@@ -3001,6 +3147,17 @@
|
|
|
3001
3147
|
"items": {
|
|
3002
3148
|
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
3003
3149
|
}
|
|
3150
|
+
},
|
|
3151
|
+
"isVoid": {
|
|
3152
|
+
"type": "boolean",
|
|
3153
|
+
"enum": [
|
|
3154
|
+
false
|
|
3155
|
+
]
|
|
3156
|
+
},
|
|
3157
|
+
"data": {
|
|
3158
|
+
"type": "object",
|
|
3159
|
+
"properties": {},
|
|
3160
|
+
"additionalProperties": false
|
|
3004
3161
|
}
|
|
3005
3162
|
},
|
|
3006
3163
|
"required": [
|
|
@@ -3612,6 +3769,12 @@
|
|
|
3612
3769
|
"required": [
|
|
3613
3770
|
"id"
|
|
3614
3771
|
]
|
|
3772
|
+
},
|
|
3773
|
+
"isVoid": {
|
|
3774
|
+
"type": "boolean",
|
|
3775
|
+
"enum": [
|
|
3776
|
+
false
|
|
3777
|
+
]
|
|
3615
3778
|
}
|
|
3616
3779
|
},
|
|
3617
3780
|
"required": [
|
|
@@ -3754,12 +3917,18 @@
|
|
|
3754
3917
|
"enum": [
|
|
3755
3918
|
true
|
|
3756
3919
|
]
|
|
3920
|
+
},
|
|
3921
|
+
"data": {
|
|
3922
|
+
"type": "object",
|
|
3923
|
+
"properties": {},
|
|
3924
|
+
"additionalProperties": false
|
|
3757
3925
|
}
|
|
3758
3926
|
},
|
|
3759
3927
|
"required": [
|
|
3760
3928
|
"object",
|
|
3761
3929
|
"type",
|
|
3762
|
-
"isVoid"
|
|
3930
|
+
"isVoid",
|
|
3931
|
+
"data"
|
|
3763
3932
|
]
|
|
3764
3933
|
},
|
|
3765
3934
|
"ContentRef": {
|
|
@@ -4040,31 +4209,8 @@
|
|
|
4040
4209
|
}
|
|
4041
4210
|
},
|
|
4042
4211
|
"git": {
|
|
4043
|
-
"type": "object",
|
|
4044
4212
|
"description": "Metadata about a potential associated git commit.",
|
|
4045
|
-
"
|
|
4046
|
-
"oid",
|
|
4047
|
-
"message",
|
|
4048
|
-
"createdByGitBook"
|
|
4049
|
-
],
|
|
4050
|
-
"properties": {
|
|
4051
|
-
"oid": {
|
|
4052
|
-
"type": "string",
|
|
4053
|
-
"description": "SHA of the Git commit."
|
|
4054
|
-
},
|
|
4055
|
-
"message": {
|
|
4056
|
-
"type": "string",
|
|
4057
|
-
"description": "Git commit message."
|
|
4058
|
-
},
|
|
4059
|
-
"createdByGitBook": {
|
|
4060
|
-
"type": "boolean",
|
|
4061
|
-
"description": "Whether not this commit was created by GitBook, while exporting the revision."
|
|
4062
|
-
},
|
|
4063
|
-
"url": {
|
|
4064
|
-
"type": "string",
|
|
4065
|
-
"description": "URL of the Git commit."
|
|
4066
|
-
}
|
|
4067
|
-
}
|
|
4213
|
+
"$ref": "#/components/schemas/GitSyncCommit"
|
|
4068
4214
|
},
|
|
4069
4215
|
"urls": {
|
|
4070
4216
|
"type": "object",
|
|
@@ -4237,6 +4383,14 @@
|
|
|
4237
4383
|
"description": "Title of the page",
|
|
4238
4384
|
"type": "string",
|
|
4239
4385
|
"maxLength": 100
|
|
4386
|
+
},
|
|
4387
|
+
"createdAt": {
|
|
4388
|
+
"description": "When the page was first created. Only present if page has been edited at least once.",
|
|
4389
|
+
"$ref": "#/components/schemas/Date"
|
|
4390
|
+
},
|
|
4391
|
+
"updatedAt": {
|
|
4392
|
+
"description": "When the page was last edited. Only present if page has been edited at least once.",
|
|
4393
|
+
"$ref": "#/components/schemas/Date"
|
|
4240
4394
|
}
|
|
4241
4395
|
},
|
|
4242
4396
|
"required": [
|
|
@@ -4291,6 +4445,9 @@
|
|
|
4291
4445
|
}
|
|
4292
4446
|
]
|
|
4293
4447
|
}
|
|
4448
|
+
},
|
|
4449
|
+
"git": {
|
|
4450
|
+
"$ref": "#/components/schemas/GitSyncBlob"
|
|
4294
4451
|
}
|
|
4295
4452
|
},
|
|
4296
4453
|
"required": [
|
|
@@ -4377,13 +4534,17 @@
|
|
|
4377
4534
|
"link"
|
|
4378
4535
|
]
|
|
4379
4536
|
},
|
|
4537
|
+
"target": {
|
|
4538
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
4539
|
+
},
|
|
4380
4540
|
"href": {
|
|
4381
4541
|
"type": "string"
|
|
4382
4542
|
}
|
|
4383
4543
|
},
|
|
4384
4544
|
"required": [
|
|
4385
4545
|
"kind",
|
|
4386
|
-
"type"
|
|
4546
|
+
"type",
|
|
4547
|
+
"target"
|
|
4387
4548
|
]
|
|
4388
4549
|
}
|
|
4389
4550
|
]
|
|
@@ -4402,13 +4563,36 @@
|
|
|
4402
4563
|
},
|
|
4403
4564
|
"downloadURL": {
|
|
4404
4565
|
"type": "string"
|
|
4566
|
+
},
|
|
4567
|
+
"size": {
|
|
4568
|
+
"type": "number"
|
|
4569
|
+
},
|
|
4570
|
+
"dimensions": {
|
|
4571
|
+
"type": "object",
|
|
4572
|
+
"description": "For images, it contains the dimensions of it.",
|
|
4573
|
+
"properties": {
|
|
4574
|
+
"width": {
|
|
4575
|
+
"type": "number"
|
|
4576
|
+
},
|
|
4577
|
+
"height": {
|
|
4578
|
+
"type": "number"
|
|
4579
|
+
}
|
|
4580
|
+
},
|
|
4581
|
+
"required": [
|
|
4582
|
+
"width",
|
|
4583
|
+
"height"
|
|
4584
|
+
]
|
|
4585
|
+
},
|
|
4586
|
+
"git": {
|
|
4587
|
+
"$ref": "#/components/schemas/GitSyncBlob"
|
|
4405
4588
|
}
|
|
4406
4589
|
},
|
|
4407
4590
|
"required": [
|
|
4408
4591
|
"id",
|
|
4409
4592
|
"name",
|
|
4410
4593
|
"contentType",
|
|
4411
|
-
"downloadURL"
|
|
4594
|
+
"downloadURL",
|
|
4595
|
+
"size"
|
|
4412
4596
|
]
|
|
4413
4597
|
},
|
|
4414
4598
|
"ImportContentSource": {
|
|
@@ -4480,6 +4664,53 @@
|
|
|
4480
4664
|
"success"
|
|
4481
4665
|
]
|
|
4482
4666
|
},
|
|
4667
|
+
"GitSyncCommit": {
|
|
4668
|
+
"type": "object",
|
|
4669
|
+
"properties": {
|
|
4670
|
+
"oid": {
|
|
4671
|
+
"type": "string",
|
|
4672
|
+
"description": "SHA for the commit"
|
|
4673
|
+
},
|
|
4674
|
+
"message": {
|
|
4675
|
+
"type": "string",
|
|
4676
|
+
"description": "Message describing the purpose of the commit"
|
|
4677
|
+
},
|
|
4678
|
+
"createdByGitBook": {
|
|
4679
|
+
"type": "boolean",
|
|
4680
|
+
"description": "If true, the Git commit was generated by an export from GitBook"
|
|
4681
|
+
},
|
|
4682
|
+
"url": {
|
|
4683
|
+
"type": "string",
|
|
4684
|
+
"description": "URL of the commit in the GitSync provider"
|
|
4685
|
+
},
|
|
4686
|
+
"ref": {
|
|
4687
|
+
"type": "string",
|
|
4688
|
+
"description": "Original name of the ref where the commit originated from"
|
|
4689
|
+
}
|
|
4690
|
+
},
|
|
4691
|
+
"required": [
|
|
4692
|
+
"oid",
|
|
4693
|
+
"message",
|
|
4694
|
+
"createdByGitBook"
|
|
4695
|
+
]
|
|
4696
|
+
},
|
|
4697
|
+
"GitSyncBlob": {
|
|
4698
|
+
"type": "object",
|
|
4699
|
+
"properties": {
|
|
4700
|
+
"oid": {
|
|
4701
|
+
"type": "string",
|
|
4702
|
+
"description": "SHA for the blob"
|
|
4703
|
+
},
|
|
4704
|
+
"path": {
|
|
4705
|
+
"type": "string",
|
|
4706
|
+
"description": "Path of the blob in the Git tree"
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4709
|
+
"required": [
|
|
4710
|
+
"oid",
|
|
4711
|
+
"path"
|
|
4712
|
+
]
|
|
4713
|
+
},
|
|
4483
4714
|
"Organization": {
|
|
4484
4715
|
"type": "object",
|
|
4485
4716
|
"properties": {
|
|
@@ -6031,7 +6262,7 @@
|
|
|
6031
6262
|
"type": "string",
|
|
6032
6263
|
"description": "Title of the collection",
|
|
6033
6264
|
"minLength": 0,
|
|
6034
|
-
"maxLength":
|
|
6265
|
+
"maxLength": 50
|
|
6035
6266
|
},
|
|
6036
6267
|
"path": {
|
|
6037
6268
|
"type": "string",
|
|
@@ -6046,32 +6277,59 @@
|
|
|
6046
6277
|
"variants"
|
|
6047
6278
|
]
|
|
6048
6279
|
},
|
|
6049
|
-
"
|
|
6280
|
+
"organization": {
|
|
6050
6281
|
"type": "string",
|
|
6051
|
-
"description": "ID of the
|
|
6282
|
+
"description": "ID of the organization owning this collection"
|
|
6052
6283
|
},
|
|
6053
|
-
"
|
|
6284
|
+
"parent": {
|
|
6054
6285
|
"type": "string",
|
|
6055
6286
|
"description": "ID of the parent collection, if any"
|
|
6056
|
-
}
|
|
6057
|
-
},
|
|
6058
|
-
"required": [
|
|
6059
|
-
"object",
|
|
6060
|
-
"id",
|
|
6061
|
-
"title",
|
|
6062
|
-
"visibility"
|
|
6063
|
-
]
|
|
6064
|
-
},
|
|
6065
|
-
"Integration": {
|
|
6066
|
-
"type": "object",
|
|
6067
|
-
"properties": {
|
|
6068
|
-
"object": {
|
|
6069
|
-
"type": "string",
|
|
6070
|
-
"enum": [
|
|
6071
|
-
"integration"
|
|
6072
|
-
]
|
|
6073
6287
|
},
|
|
6074
|
-
"
|
|
6288
|
+
"collection": {
|
|
6289
|
+
"type": "string",
|
|
6290
|
+
"deprecated": true,
|
|
6291
|
+
"description": "ID of the parent collection, if any"
|
|
6292
|
+
},
|
|
6293
|
+
"urls": {
|
|
6294
|
+
"type": "object",
|
|
6295
|
+
"description": "URLs associated with the object",
|
|
6296
|
+
"properties": {
|
|
6297
|
+
"location": {
|
|
6298
|
+
"type": "string",
|
|
6299
|
+
"description": "URL of the collection in the API",
|
|
6300
|
+
"format": "uri"
|
|
6301
|
+
},
|
|
6302
|
+
"app": {
|
|
6303
|
+
"type": "string",
|
|
6304
|
+
"description": "URL of the collection in the application",
|
|
6305
|
+
"format": "uri"
|
|
6306
|
+
}
|
|
6307
|
+
},
|
|
6308
|
+
"required": [
|
|
6309
|
+
"app",
|
|
6310
|
+
"location"
|
|
6311
|
+
]
|
|
6312
|
+
}
|
|
6313
|
+
},
|
|
6314
|
+
"required": [
|
|
6315
|
+
"object",
|
|
6316
|
+
"id",
|
|
6317
|
+
"title",
|
|
6318
|
+
"organization",
|
|
6319
|
+
"visibility",
|
|
6320
|
+
"urls"
|
|
6321
|
+
]
|
|
6322
|
+
},
|
|
6323
|
+
"Integration": {
|
|
6324
|
+
"type": "object",
|
|
6325
|
+
"properties": {
|
|
6326
|
+
"object": {
|
|
6327
|
+
"type": "string",
|
|
6328
|
+
"enum": [
|
|
6329
|
+
"integration"
|
|
6330
|
+
]
|
|
6331
|
+
},
|
|
6332
|
+
"name": {
|
|
6075
6333
|
"type": "string",
|
|
6076
6334
|
"description": "Unique named identifier for the integration"
|
|
6077
6335
|
},
|
|
@@ -8311,6 +8569,106 @@
|
|
|
8311
8569
|
"impersonatorId"
|
|
8312
8570
|
]
|
|
8313
8571
|
},
|
|
8572
|
+
"UserPermissions": {
|
|
8573
|
+
"type": "object",
|
|
8574
|
+
"description": "All the permissions of a user",
|
|
8575
|
+
"properties": {
|
|
8576
|
+
"updatedAt": {
|
|
8577
|
+
"$ref": "#/components/schemas/Date"
|
|
8578
|
+
},
|
|
8579
|
+
"searchKey": {
|
|
8580
|
+
"type": "string"
|
|
8581
|
+
},
|
|
8582
|
+
"organizations": {
|
|
8583
|
+
"type": "object",
|
|
8584
|
+
"additionalProperties": {
|
|
8585
|
+
"type": "object",
|
|
8586
|
+
"description": "The organizations permissions of a user",
|
|
8587
|
+
"properties": {
|
|
8588
|
+
"role": {
|
|
8589
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8590
|
+
},
|
|
8591
|
+
"teams": {
|
|
8592
|
+
"type": "object",
|
|
8593
|
+
"additionalProperties": {
|
|
8594
|
+
"type": "object",
|
|
8595
|
+
"description": "The teams permissions of a user",
|
|
8596
|
+
"properties": {
|
|
8597
|
+
"role": {
|
|
8598
|
+
"$ref": "#/components/schemas/TeamMemberRole"
|
|
8599
|
+
}
|
|
8600
|
+
},
|
|
8601
|
+
"required": [
|
|
8602
|
+
"role"
|
|
8603
|
+
]
|
|
8604
|
+
},
|
|
8605
|
+
"required": [
|
|
8606
|
+
"role"
|
|
8607
|
+
]
|
|
8608
|
+
},
|
|
8609
|
+
"disabled": {
|
|
8610
|
+
"type": "boolean"
|
|
8611
|
+
}
|
|
8612
|
+
},
|
|
8613
|
+
"required": [
|
|
8614
|
+
"role",
|
|
8615
|
+
"teams"
|
|
8616
|
+
]
|
|
8617
|
+
}
|
|
8618
|
+
},
|
|
8619
|
+
"collections": {
|
|
8620
|
+
"type": "object",
|
|
8621
|
+
"additionalProperties": {
|
|
8622
|
+
"type": "object",
|
|
8623
|
+
"description": "The collections permissions of a user",
|
|
8624
|
+
"properties": {
|
|
8625
|
+
"organization": {
|
|
8626
|
+
"type": "string"
|
|
8627
|
+
},
|
|
8628
|
+
"level": {
|
|
8629
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8630
|
+
},
|
|
8631
|
+
"collection": {
|
|
8632
|
+
"type": "string"
|
|
8633
|
+
}
|
|
8634
|
+
},
|
|
8635
|
+
"required": [
|
|
8636
|
+
"organization",
|
|
8637
|
+
"level"
|
|
8638
|
+
]
|
|
8639
|
+
}
|
|
8640
|
+
},
|
|
8641
|
+
"spaces": {
|
|
8642
|
+
"type": "object",
|
|
8643
|
+
"additionalProperties": {
|
|
8644
|
+
"type": "object",
|
|
8645
|
+
"description": "The spaces permissions of a user",
|
|
8646
|
+
"properties": {
|
|
8647
|
+
"organization": {
|
|
8648
|
+
"type": "string"
|
|
8649
|
+
},
|
|
8650
|
+
"level": {
|
|
8651
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
8652
|
+
},
|
|
8653
|
+
"collection": {
|
|
8654
|
+
"type": "string"
|
|
8655
|
+
}
|
|
8656
|
+
},
|
|
8657
|
+
"required": [
|
|
8658
|
+
"organization",
|
|
8659
|
+
"level"
|
|
8660
|
+
]
|
|
8661
|
+
}
|
|
8662
|
+
}
|
|
8663
|
+
},
|
|
8664
|
+
"required": [
|
|
8665
|
+
"updatedAt",
|
|
8666
|
+
"searchKey",
|
|
8667
|
+
"organizations",
|
|
8668
|
+
"collections",
|
|
8669
|
+
"spaces"
|
|
8670
|
+
]
|
|
8671
|
+
},
|
|
8314
8672
|
"UserRiskEvaluation": {
|
|
8315
8673
|
"type": "object",
|
|
8316
8674
|
"description": "The GitBook User risk evaluation.",
|
|
@@ -9826,6 +10184,9 @@
|
|
|
9826
10184
|
{
|
|
9827
10185
|
"$ref": "#/components/schemas/SpacePublishingAuthChannel"
|
|
9828
10186
|
},
|
|
10187
|
+
{
|
|
10188
|
+
"$ref": "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
10189
|
+
},
|
|
9829
10190
|
{
|
|
9830
10191
|
"$ref": "#/components/schemas/SpaceEntitiesChannel"
|
|
9831
10192
|
},
|
|
@@ -9850,6 +10211,9 @@
|
|
|
9850
10211
|
{
|
|
9851
10212
|
"$ref": "#/components/schemas/ChangeRequestReviewsChannel"
|
|
9852
10213
|
},
|
|
10214
|
+
{
|
|
10215
|
+
"$ref": "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
10216
|
+
},
|
|
9853
10217
|
{
|
|
9854
10218
|
"$ref": "#/components/schemas/OrganizationMembersChannel"
|
|
9855
10219
|
},
|
|
@@ -9871,6 +10235,9 @@
|
|
|
9871
10235
|
{
|
|
9872
10236
|
"$ref": "#/components/schemas/OrganizationSpacesChannel"
|
|
9873
10237
|
},
|
|
10238
|
+
{
|
|
10239
|
+
"$ref": "#/components/schemas/OrganizationCollectionsChannel"
|
|
10240
|
+
},
|
|
9874
10241
|
{
|
|
9875
10242
|
"$ref": "#/components/schemas/OrganizationEntitiesChannel"
|
|
9876
10243
|
},
|
|
@@ -10057,6 +10424,24 @@
|
|
|
10057
10424
|
"space"
|
|
10058
10425
|
]
|
|
10059
10426
|
},
|
|
10427
|
+
"SpacePublishingCustomizationChannel": {
|
|
10428
|
+
"type": "object",
|
|
10429
|
+
"properties": {
|
|
10430
|
+
"channel": {
|
|
10431
|
+
"type": "string",
|
|
10432
|
+
"enum": [
|
|
10433
|
+
"space-publishing-customization"
|
|
10434
|
+
]
|
|
10435
|
+
},
|
|
10436
|
+
"space": {
|
|
10437
|
+
"type": "string"
|
|
10438
|
+
}
|
|
10439
|
+
},
|
|
10440
|
+
"required": [
|
|
10441
|
+
"channel",
|
|
10442
|
+
"space"
|
|
10443
|
+
]
|
|
10444
|
+
},
|
|
10060
10445
|
"SpaceEntitiesChannel": {
|
|
10061
10446
|
"type": "object",
|
|
10062
10447
|
"properties": {
|
|
@@ -10165,6 +10550,24 @@
|
|
|
10165
10550
|
"user"
|
|
10166
10551
|
]
|
|
10167
10552
|
},
|
|
10553
|
+
"CollectionPublishingCustomizationChannel": {
|
|
10554
|
+
"type": "object",
|
|
10555
|
+
"properties": {
|
|
10556
|
+
"channel": {
|
|
10557
|
+
"type": "string",
|
|
10558
|
+
"enum": [
|
|
10559
|
+
"collection-publishing-customization"
|
|
10560
|
+
]
|
|
10561
|
+
},
|
|
10562
|
+
"collection": {
|
|
10563
|
+
"type": "string"
|
|
10564
|
+
}
|
|
10565
|
+
},
|
|
10566
|
+
"required": [
|
|
10567
|
+
"channel",
|
|
10568
|
+
"collection"
|
|
10569
|
+
]
|
|
10570
|
+
},
|
|
10168
10571
|
"ChangeRequestReviewsChannel": {
|
|
10169
10572
|
"type": "object",
|
|
10170
10573
|
"properties": {
|
|
@@ -10351,6 +10754,25 @@
|
|
|
10351
10754
|
"organization"
|
|
10352
10755
|
]
|
|
10353
10756
|
},
|
|
10757
|
+
"OrganizationCollectionsChannel": {
|
|
10758
|
+
"type": "object",
|
|
10759
|
+
"description": "Subscription channel for changes in collections in an organization.",
|
|
10760
|
+
"properties": {
|
|
10761
|
+
"channel": {
|
|
10762
|
+
"type": "string",
|
|
10763
|
+
"enum": [
|
|
10764
|
+
"organization-collections"
|
|
10765
|
+
]
|
|
10766
|
+
},
|
|
10767
|
+
"organization": {
|
|
10768
|
+
"type": "string"
|
|
10769
|
+
}
|
|
10770
|
+
},
|
|
10771
|
+
"required": [
|
|
10772
|
+
"channel",
|
|
10773
|
+
"organization"
|
|
10774
|
+
]
|
|
10775
|
+
},
|
|
10354
10776
|
"OrganizationEntitiesChannel": {
|
|
10355
10777
|
"type": "object",
|
|
10356
10778
|
"description": "Subscription channel for entities in an organization.",
|
|
@@ -10656,43 +11078,450 @@
|
|
|
10656
11078
|
]
|
|
10657
11079
|
}
|
|
10658
11080
|
},
|
|
10659
|
-
"UpdateCustomFieldValues": {
|
|
11081
|
+
"UpdateCustomFieldValues": {
|
|
11082
|
+
"type": "object",
|
|
11083
|
+
"properties": {
|
|
11084
|
+
"values": {
|
|
11085
|
+
"type": "object",
|
|
11086
|
+
"additionalProperties": {
|
|
11087
|
+
"type": "object",
|
|
11088
|
+
"maxProperties": 100,
|
|
11089
|
+
"minProperties": 1,
|
|
11090
|
+
"properties": {
|
|
11091
|
+
"value": {
|
|
11092
|
+
"$ref": "#/components/schemas/CustomFieldValue"
|
|
11093
|
+
}
|
|
11094
|
+
},
|
|
11095
|
+
"required": [
|
|
11096
|
+
"value"
|
|
11097
|
+
]
|
|
11098
|
+
}
|
|
11099
|
+
}
|
|
11100
|
+
},
|
|
11101
|
+
"required": [
|
|
11102
|
+
"values"
|
|
11103
|
+
]
|
|
11104
|
+
},
|
|
11105
|
+
"CustomFieldOptions": {
|
|
11106
|
+
"type": "array",
|
|
11107
|
+
"minItems": 1,
|
|
11108
|
+
"maxItems": 50,
|
|
11109
|
+
"items": {
|
|
11110
|
+
"type": "string",
|
|
11111
|
+
"minLength": 1,
|
|
11112
|
+
"maxLength": 40
|
|
11113
|
+
}
|
|
11114
|
+
},
|
|
11115
|
+
"CustomFieldPlaceholder": {
|
|
11116
|
+
"type": "string",
|
|
11117
|
+
"maxLength": 100
|
|
11118
|
+
},
|
|
11119
|
+
"CustomizationSettings": {
|
|
11120
|
+
"type": "object",
|
|
11121
|
+
"properties": {
|
|
11122
|
+
"inherit": {
|
|
11123
|
+
"type": "boolean",
|
|
11124
|
+
"description": "Inherit customization settings from the parent collection."
|
|
11125
|
+
},
|
|
11126
|
+
"title": {
|
|
11127
|
+
"type": "string",
|
|
11128
|
+
"description": "Title to use for the published content. If not defined, it'll fallback to the content title."
|
|
11129
|
+
},
|
|
11130
|
+
"styling": {
|
|
11131
|
+
"type": "object",
|
|
11132
|
+
"properties": {
|
|
11133
|
+
"primaryColor": {
|
|
11134
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11135
|
+
},
|
|
11136
|
+
"corners": {
|
|
11137
|
+
"$ref": "#/components/schemas/CustomizationCorners"
|
|
11138
|
+
},
|
|
11139
|
+
"font": {
|
|
11140
|
+
"$ref": "#/components/schemas/CustomizationFont"
|
|
11141
|
+
}
|
|
11142
|
+
},
|
|
11143
|
+
"required": [
|
|
11144
|
+
"primaryColor",
|
|
11145
|
+
"corners",
|
|
11146
|
+
"font"
|
|
11147
|
+
]
|
|
11148
|
+
},
|
|
11149
|
+
"internationalization": {
|
|
11150
|
+
"type": "object",
|
|
11151
|
+
"properties": {
|
|
11152
|
+
"locale": {
|
|
11153
|
+
"$ref": "#/components/schemas/CustomizationLocale"
|
|
11154
|
+
},
|
|
11155
|
+
"inherit": {
|
|
11156
|
+
"type": "boolean",
|
|
11157
|
+
"description": "Inherit locale from the parent collection."
|
|
11158
|
+
}
|
|
11159
|
+
},
|
|
11160
|
+
"required": [
|
|
11161
|
+
"locale",
|
|
11162
|
+
"inherit"
|
|
11163
|
+
]
|
|
11164
|
+
},
|
|
11165
|
+
"favicon": {
|
|
11166
|
+
"oneOf": [
|
|
11167
|
+
{
|
|
11168
|
+
"type": "object",
|
|
11169
|
+
"properties": {
|
|
11170
|
+
"icon": {
|
|
11171
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11172
|
+
}
|
|
11173
|
+
},
|
|
11174
|
+
"required": [
|
|
11175
|
+
"icon"
|
|
11176
|
+
]
|
|
11177
|
+
},
|
|
11178
|
+
{
|
|
11179
|
+
"type": "object",
|
|
11180
|
+
"properties": {
|
|
11181
|
+
"emoji": {
|
|
11182
|
+
"$ref": "#/components/schemas/Emoji"
|
|
11183
|
+
}
|
|
11184
|
+
},
|
|
11185
|
+
"required": [
|
|
11186
|
+
"emoji"
|
|
11187
|
+
]
|
|
11188
|
+
},
|
|
11189
|
+
{
|
|
11190
|
+
"type": "object",
|
|
11191
|
+
"properties": {},
|
|
11192
|
+
"additionalProperties": false
|
|
11193
|
+
}
|
|
11194
|
+
]
|
|
11195
|
+
},
|
|
11196
|
+
"header": {
|
|
11197
|
+
"type": "object",
|
|
11198
|
+
"properties": {
|
|
11199
|
+
"preset": {
|
|
11200
|
+
"$ref": "#/components/schemas/CustomizationHeaderPreset"
|
|
11201
|
+
},
|
|
11202
|
+
"logo": {
|
|
11203
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11204
|
+
},
|
|
11205
|
+
"backgroundColor": {
|
|
11206
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11207
|
+
},
|
|
11208
|
+
"linkColor": {
|
|
11209
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
11210
|
+
},
|
|
11211
|
+
"links": {
|
|
11212
|
+
"type": "array",
|
|
11213
|
+
"items": {
|
|
11214
|
+
"$ref": "#/components/schemas/CustomizationHeaderLink"
|
|
11215
|
+
}
|
|
11216
|
+
}
|
|
11217
|
+
},
|
|
11218
|
+
"required": [
|
|
11219
|
+
"preset",
|
|
11220
|
+
"links"
|
|
11221
|
+
]
|
|
11222
|
+
},
|
|
11223
|
+
"footer": {
|
|
11224
|
+
"type": "object",
|
|
11225
|
+
"properties": {
|
|
11226
|
+
"logo": {
|
|
11227
|
+
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
11228
|
+
},
|
|
11229
|
+
"groups": {
|
|
11230
|
+
"type": "array",
|
|
11231
|
+
"items": {
|
|
11232
|
+
"$ref": "#/components/schemas/CustomizationFooterGroup"
|
|
11233
|
+
}
|
|
11234
|
+
},
|
|
11235
|
+
"copyright": {
|
|
11236
|
+
"type": "string",
|
|
11237
|
+
"maxLength": 300
|
|
11238
|
+
}
|
|
11239
|
+
},
|
|
11240
|
+
"required": [
|
|
11241
|
+
"groups"
|
|
11242
|
+
]
|
|
11243
|
+
},
|
|
11244
|
+
"themes": {
|
|
11245
|
+
"type": "object",
|
|
11246
|
+
"properties": {
|
|
11247
|
+
"default": {
|
|
11248
|
+
"$ref": "#/components/schemas/CustomizationThemeMode"
|
|
11249
|
+
},
|
|
11250
|
+
"toggeable": {
|
|
11251
|
+
"description": "Should the reader be able to switch between dark and light mode",
|
|
11252
|
+
"type": "boolean"
|
|
11253
|
+
}
|
|
11254
|
+
},
|
|
11255
|
+
"required": [
|
|
11256
|
+
"default",
|
|
11257
|
+
"toggeable"
|
|
11258
|
+
]
|
|
11259
|
+
},
|
|
11260
|
+
"pdf": {
|
|
11261
|
+
"type": "object",
|
|
11262
|
+
"properties": {
|
|
11263
|
+
"enabled": {
|
|
11264
|
+
"type": "boolean",
|
|
11265
|
+
"description": "If true, PDF export is enabled for the published content."
|
|
11266
|
+
}
|
|
11267
|
+
},
|
|
11268
|
+
"required": [
|
|
11269
|
+
"enabled"
|
|
11270
|
+
]
|
|
11271
|
+
},
|
|
11272
|
+
"feedback": {
|
|
11273
|
+
"type": "object",
|
|
11274
|
+
"properties": {
|
|
11275
|
+
"enabled": {
|
|
11276
|
+
"type": "boolean",
|
|
11277
|
+
"description": "If true, feedback gathering is enabled"
|
|
11278
|
+
}
|
|
11279
|
+
},
|
|
11280
|
+
"required": [
|
|
11281
|
+
"enabled"
|
|
11282
|
+
]
|
|
11283
|
+
},
|
|
11284
|
+
"aiSearch": {
|
|
11285
|
+
"type": "object",
|
|
11286
|
+
"properties": {
|
|
11287
|
+
"enabled": {
|
|
11288
|
+
"type": "boolean",
|
|
11289
|
+
"description": "If true, AI search is enabled"
|
|
11290
|
+
}
|
|
11291
|
+
},
|
|
11292
|
+
"required": [
|
|
11293
|
+
"enabled"
|
|
11294
|
+
]
|
|
11295
|
+
},
|
|
11296
|
+
"git": {
|
|
11297
|
+
"type": "object",
|
|
11298
|
+
"properties": {
|
|
11299
|
+
"showEditLink": {
|
|
11300
|
+
"type": "boolean",
|
|
11301
|
+
"description": "Whether the public content should show a link to edit the content on the git provider set up in the GitSync"
|
|
11302
|
+
}
|
|
11303
|
+
},
|
|
11304
|
+
"required": [
|
|
11305
|
+
"showEditLink"
|
|
11306
|
+
]
|
|
11307
|
+
},
|
|
11308
|
+
"pagination": {
|
|
11309
|
+
"type": "object",
|
|
11310
|
+
"properties": {
|
|
11311
|
+
"enabled": {
|
|
11312
|
+
"type": "boolean",
|
|
11313
|
+
"description": "Whether the pagination navigation should be displayed on pages."
|
|
11314
|
+
}
|
|
11315
|
+
},
|
|
11316
|
+
"required": [
|
|
11317
|
+
"enabled"
|
|
11318
|
+
]
|
|
11319
|
+
},
|
|
11320
|
+
"trademark": {
|
|
11321
|
+
"type": "object",
|
|
11322
|
+
"properties": {
|
|
11323
|
+
"enabled": {
|
|
11324
|
+
"type": "boolean",
|
|
11325
|
+
"description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
|
|
11326
|
+
}
|
|
11327
|
+
},
|
|
11328
|
+
"required": [
|
|
11329
|
+
"enabled"
|
|
11330
|
+
]
|
|
11331
|
+
},
|
|
11332
|
+
"privacyPolicy": {
|
|
11333
|
+
"type": "object",
|
|
11334
|
+
"properties": {
|
|
11335
|
+
"url": {
|
|
11336
|
+
"$ref": "#/components/schemas/URL"
|
|
11337
|
+
}
|
|
11338
|
+
}
|
|
11339
|
+
},
|
|
11340
|
+
"socialPreview": {
|
|
11341
|
+
"type": "object",
|
|
11342
|
+
"properties": {
|
|
11343
|
+
"url": {
|
|
11344
|
+
"$ref": "#/components/schemas/URL"
|
|
11345
|
+
}
|
|
11346
|
+
}
|
|
11347
|
+
}
|
|
11348
|
+
},
|
|
11349
|
+
"required": [
|
|
11350
|
+
"inherit",
|
|
11351
|
+
"styling",
|
|
11352
|
+
"internationalization",
|
|
11353
|
+
"favicon",
|
|
11354
|
+
"header",
|
|
11355
|
+
"footer",
|
|
11356
|
+
"themes",
|
|
11357
|
+
"pdf",
|
|
11358
|
+
"feedback",
|
|
11359
|
+
"aiSearch",
|
|
11360
|
+
"trademark",
|
|
11361
|
+
"pagination",
|
|
11362
|
+
"git",
|
|
11363
|
+
"privacyPolicy",
|
|
11364
|
+
"socialPreview"
|
|
11365
|
+
]
|
|
11366
|
+
},
|
|
11367
|
+
"CustomizationCollectionSettings": {
|
|
11368
|
+
"allOf": [
|
|
11369
|
+
{
|
|
11370
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
11371
|
+
},
|
|
11372
|
+
{
|
|
11373
|
+
"type": "object",
|
|
11374
|
+
"properties": {
|
|
11375
|
+
"collection": {
|
|
11376
|
+
"type": "object",
|
|
11377
|
+
"properties": {
|
|
11378
|
+
"defaultSpace": {
|
|
11379
|
+
"type": "string",
|
|
11380
|
+
"description": "ID of the space used by default in the collection"
|
|
11381
|
+
}
|
|
11382
|
+
}
|
|
11383
|
+
}
|
|
11384
|
+
},
|
|
11385
|
+
"required": [
|
|
11386
|
+
"collection"
|
|
11387
|
+
]
|
|
11388
|
+
}
|
|
11389
|
+
]
|
|
11390
|
+
},
|
|
11391
|
+
"CustomizationLocale": {
|
|
11392
|
+
"type": "string",
|
|
11393
|
+
"description": "Language for the UI element",
|
|
11394
|
+
"enum": [
|
|
11395
|
+
"en",
|
|
11396
|
+
"fr",
|
|
11397
|
+
"es",
|
|
11398
|
+
"zh",
|
|
11399
|
+
"ja"
|
|
11400
|
+
]
|
|
11401
|
+
},
|
|
11402
|
+
"CustomizationFont": {
|
|
11403
|
+
"type": "string",
|
|
11404
|
+
"enum": [
|
|
11405
|
+
"Inter",
|
|
11406
|
+
"Roboto",
|
|
11407
|
+
"RobotoSlab",
|
|
11408
|
+
"OpenSans",
|
|
11409
|
+
"SourceSansPro",
|
|
11410
|
+
"Lato",
|
|
11411
|
+
"Ubuntu",
|
|
11412
|
+
"Raleway",
|
|
11413
|
+
"Merriweather",
|
|
11414
|
+
"Overpass",
|
|
11415
|
+
"NotoSans",
|
|
11416
|
+
"IBMPlexSerif",
|
|
11417
|
+
"Poppins",
|
|
11418
|
+
"FiraSans"
|
|
11419
|
+
]
|
|
11420
|
+
},
|
|
11421
|
+
"CustomizationHeaderPreset": {
|
|
11422
|
+
"type": "string",
|
|
11423
|
+
"enum": [
|
|
11424
|
+
"default",
|
|
11425
|
+
"bold",
|
|
11426
|
+
"contrast",
|
|
11427
|
+
"custom",
|
|
11428
|
+
"none"
|
|
11429
|
+
]
|
|
11430
|
+
},
|
|
11431
|
+
"CustomizationThemeMode": {
|
|
11432
|
+
"type": "string",
|
|
11433
|
+
"enum": [
|
|
11434
|
+
"light",
|
|
11435
|
+
"dark"
|
|
11436
|
+
]
|
|
11437
|
+
},
|
|
11438
|
+
"CustomizationHeaderLink": {
|
|
11439
|
+
"allOf": [
|
|
11440
|
+
{
|
|
11441
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
11442
|
+
},
|
|
11443
|
+
{
|
|
11444
|
+
"type": "object",
|
|
11445
|
+
"properties": {
|
|
11446
|
+
"links": {
|
|
11447
|
+
"type": "array",
|
|
11448
|
+
"items": {
|
|
11449
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
11450
|
+
}
|
|
11451
|
+
}
|
|
11452
|
+
}
|
|
11453
|
+
}
|
|
11454
|
+
]
|
|
11455
|
+
},
|
|
11456
|
+
"CustomizationContentLink": {
|
|
11457
|
+
"type": "object",
|
|
11458
|
+
"properties": {
|
|
11459
|
+
"title": {
|
|
11460
|
+
"type": "string"
|
|
11461
|
+
},
|
|
11462
|
+
"to": {
|
|
11463
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
11464
|
+
}
|
|
11465
|
+
},
|
|
11466
|
+
"required": [
|
|
11467
|
+
"title",
|
|
11468
|
+
"to"
|
|
11469
|
+
]
|
|
11470
|
+
},
|
|
11471
|
+
"CustomizationFooterGroup": {
|
|
10660
11472
|
"type": "object",
|
|
10661
11473
|
"properties": {
|
|
10662
|
-
"
|
|
10663
|
-
"type": "
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
"
|
|
10669
|
-
"value": {
|
|
10670
|
-
"$ref": "#/components/schemas/CustomFieldValue"
|
|
10671
|
-
}
|
|
10672
|
-
},
|
|
10673
|
-
"required": [
|
|
10674
|
-
"value"
|
|
10675
|
-
]
|
|
11474
|
+
"title": {
|
|
11475
|
+
"type": "string"
|
|
11476
|
+
},
|
|
11477
|
+
"links": {
|
|
11478
|
+
"type": "array",
|
|
11479
|
+
"items": {
|
|
11480
|
+
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
10676
11481
|
}
|
|
10677
11482
|
}
|
|
10678
11483
|
},
|
|
10679
11484
|
"required": [
|
|
10680
|
-
"
|
|
11485
|
+
"title",
|
|
11486
|
+
"links"
|
|
10681
11487
|
]
|
|
10682
11488
|
},
|
|
10683
|
-
"
|
|
10684
|
-
"type": "array",
|
|
10685
|
-
"minItems": 1,
|
|
10686
|
-
"maxItems": 50,
|
|
10687
|
-
"items": {
|
|
10688
|
-
"type": "string",
|
|
10689
|
-
"minLength": 1,
|
|
10690
|
-
"maxLength": 40
|
|
10691
|
-
}
|
|
10692
|
-
},
|
|
10693
|
-
"CustomFieldPlaceholder": {
|
|
11489
|
+
"CustomizationCorners": {
|
|
10694
11490
|
"type": "string",
|
|
10695
|
-
"
|
|
11491
|
+
"enum": [
|
|
11492
|
+
"straight",
|
|
11493
|
+
"rounded"
|
|
11494
|
+
]
|
|
11495
|
+
},
|
|
11496
|
+
"CustomizationThemedURL": {
|
|
11497
|
+
"type": "object",
|
|
11498
|
+
"properties": {
|
|
11499
|
+
"light": {
|
|
11500
|
+
"$ref": "#/components/schemas/URL"
|
|
11501
|
+
},
|
|
11502
|
+
"dark": {
|
|
11503
|
+
"$ref": "#/components/schemas/URL"
|
|
11504
|
+
}
|
|
11505
|
+
},
|
|
11506
|
+
"required": [
|
|
11507
|
+
"light",
|
|
11508
|
+
"dark"
|
|
11509
|
+
]
|
|
11510
|
+
},
|
|
11511
|
+
"CustomizationThemedColor": {
|
|
11512
|
+
"type": "object",
|
|
11513
|
+
"properties": {
|
|
11514
|
+
"light": {
|
|
11515
|
+
"$ref": "#/components/schemas/Color"
|
|
11516
|
+
},
|
|
11517
|
+
"dark": {
|
|
11518
|
+
"$ref": "#/components/schemas/Color"
|
|
11519
|
+
}
|
|
11520
|
+
},
|
|
11521
|
+
"required": [
|
|
11522
|
+
"light",
|
|
11523
|
+
"dark"
|
|
11524
|
+
]
|
|
10696
11525
|
}
|
|
10697
11526
|
},
|
|
10698
11527
|
"responses": {
|
|
@@ -13942,6 +14771,88 @@
|
|
|
13942
14771
|
}
|
|
13943
14772
|
}
|
|
13944
14773
|
},
|
|
14774
|
+
"/spaces/{spaceId}/publishing/customization": {
|
|
14775
|
+
"get": {
|
|
14776
|
+
"operationId": "getSpacePublishingCustomizationById",
|
|
14777
|
+
"summary": "Get the publishing customization configuration for a space.",
|
|
14778
|
+
"tags": [
|
|
14779
|
+
"spaces"
|
|
14780
|
+
],
|
|
14781
|
+
"security": [
|
|
14782
|
+
{
|
|
14783
|
+
"user": []
|
|
14784
|
+
}
|
|
14785
|
+
],
|
|
14786
|
+
"parameters": [
|
|
14787
|
+
{
|
|
14788
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14789
|
+
}
|
|
14790
|
+
],
|
|
14791
|
+
"responses": {
|
|
14792
|
+
"200": {
|
|
14793
|
+
"description": "OK",
|
|
14794
|
+
"content": {
|
|
14795
|
+
"application/json": {
|
|
14796
|
+
"schema": {
|
|
14797
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14798
|
+
}
|
|
14799
|
+
}
|
|
14800
|
+
}
|
|
14801
|
+
},
|
|
14802
|
+
"400": {
|
|
14803
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14804
|
+
},
|
|
14805
|
+
"default": {
|
|
14806
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14807
|
+
}
|
|
14808
|
+
}
|
|
14809
|
+
},
|
|
14810
|
+
"put": {
|
|
14811
|
+
"operationId": "updateSpacePublishingCustomizationById",
|
|
14812
|
+
"summary": "Update the publishing customization configuration for a space.",
|
|
14813
|
+
"tags": [
|
|
14814
|
+
"spaces"
|
|
14815
|
+
],
|
|
14816
|
+
"security": [
|
|
14817
|
+
{
|
|
14818
|
+
"user": []
|
|
14819
|
+
}
|
|
14820
|
+
],
|
|
14821
|
+
"parameters": [
|
|
14822
|
+
{
|
|
14823
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14824
|
+
}
|
|
14825
|
+
],
|
|
14826
|
+
"requestBody": {
|
|
14827
|
+
"required": true,
|
|
14828
|
+
"content": {
|
|
14829
|
+
"application/json": {
|
|
14830
|
+
"schema": {
|
|
14831
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14832
|
+
}
|
|
14833
|
+
}
|
|
14834
|
+
}
|
|
14835
|
+
},
|
|
14836
|
+
"responses": {
|
|
14837
|
+
"200": {
|
|
14838
|
+
"description": "OK",
|
|
14839
|
+
"content": {
|
|
14840
|
+
"application/json": {
|
|
14841
|
+
"schema": {
|
|
14842
|
+
"$ref": "#/components/schemas/CustomizationSettings"
|
|
14843
|
+
}
|
|
14844
|
+
}
|
|
14845
|
+
}
|
|
14846
|
+
},
|
|
14847
|
+
"400": {
|
|
14848
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14849
|
+
},
|
|
14850
|
+
"default": {
|
|
14851
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14852
|
+
}
|
|
14853
|
+
}
|
|
14854
|
+
}
|
|
14855
|
+
},
|
|
13945
14856
|
"/spaces/{spaceId}/publishing/auth": {
|
|
13946
14857
|
"get": {
|
|
13947
14858
|
"operationId": "getSpacePublishingAuthById",
|
|
@@ -14413,6 +15324,88 @@
|
|
|
14413
15324
|
}
|
|
14414
15325
|
}
|
|
14415
15326
|
},
|
|
15327
|
+
"/collections/{collectionId}/publishing/customization": {
|
|
15328
|
+
"get": {
|
|
15329
|
+
"operationId": "getCollectionPublishingCustomizationById",
|
|
15330
|
+
"summary": "Get the publishing customization configuration for a collection.",
|
|
15331
|
+
"tags": [
|
|
15332
|
+
"collections"
|
|
15333
|
+
],
|
|
15334
|
+
"security": [
|
|
15335
|
+
{
|
|
15336
|
+
"user": []
|
|
15337
|
+
}
|
|
15338
|
+
],
|
|
15339
|
+
"parameters": [
|
|
15340
|
+
{
|
|
15341
|
+
"$ref": "#/components/parameters/collectionId"
|
|
15342
|
+
}
|
|
15343
|
+
],
|
|
15344
|
+
"responses": {
|
|
15345
|
+
"200": {
|
|
15346
|
+
"description": "OK",
|
|
15347
|
+
"content": {
|
|
15348
|
+
"application/json": {
|
|
15349
|
+
"schema": {
|
|
15350
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15351
|
+
}
|
|
15352
|
+
}
|
|
15353
|
+
}
|
|
15354
|
+
},
|
|
15355
|
+
"400": {
|
|
15356
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15357
|
+
},
|
|
15358
|
+
"default": {
|
|
15359
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15360
|
+
}
|
|
15361
|
+
}
|
|
15362
|
+
},
|
|
15363
|
+
"put": {
|
|
15364
|
+
"operationId": "updateCollectionPublishingCustomizationById",
|
|
15365
|
+
"summary": "Update the publishing customization configuration for a collection.",
|
|
15366
|
+
"tags": [
|
|
15367
|
+
"collections"
|
|
15368
|
+
],
|
|
15369
|
+
"security": [
|
|
15370
|
+
{
|
|
15371
|
+
"user": []
|
|
15372
|
+
}
|
|
15373
|
+
],
|
|
15374
|
+
"parameters": [
|
|
15375
|
+
{
|
|
15376
|
+
"$ref": "#/components/parameters/collectionId"
|
|
15377
|
+
}
|
|
15378
|
+
],
|
|
15379
|
+
"requestBody": {
|
|
15380
|
+
"required": true,
|
|
15381
|
+
"content": {
|
|
15382
|
+
"application/json": {
|
|
15383
|
+
"schema": {
|
|
15384
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15385
|
+
}
|
|
15386
|
+
}
|
|
15387
|
+
}
|
|
15388
|
+
},
|
|
15389
|
+
"responses": {
|
|
15390
|
+
"200": {
|
|
15391
|
+
"description": "OK",
|
|
15392
|
+
"content": {
|
|
15393
|
+
"application/json": {
|
|
15394
|
+
"schema": {
|
|
15395
|
+
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
15396
|
+
}
|
|
15397
|
+
}
|
|
15398
|
+
}
|
|
15399
|
+
},
|
|
15400
|
+
"400": {
|
|
15401
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15402
|
+
},
|
|
15403
|
+
"default": {
|
|
15404
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15405
|
+
}
|
|
15406
|
+
}
|
|
15407
|
+
}
|
|
15408
|
+
},
|
|
14416
15409
|
"/integrations": {
|
|
14417
15410
|
"get": {
|
|
14418
15411
|
"operationId": "listIntegrations",
|
|
@@ -17097,6 +18090,65 @@
|
|
|
17097
18090
|
"$ref": "#/components/responses/UnexpectedError"
|
|
17098
18091
|
}
|
|
17099
18092
|
}
|
|
18093
|
+
},
|
|
18094
|
+
"post": {
|
|
18095
|
+
"operationId": "createCollection",
|
|
18096
|
+
"summary": "Create an organization collection",
|
|
18097
|
+
"tags": [
|
|
18098
|
+
"collections"
|
|
18099
|
+
],
|
|
18100
|
+
"security": [
|
|
18101
|
+
{
|
|
18102
|
+
"user": []
|
|
18103
|
+
}
|
|
18104
|
+
],
|
|
18105
|
+
"parameters": [
|
|
18106
|
+
{
|
|
18107
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18108
|
+
}
|
|
18109
|
+
],
|
|
18110
|
+
"requestBody": {
|
|
18111
|
+
"content": {
|
|
18112
|
+
"application/json": {
|
|
18113
|
+
"schema": {
|
|
18114
|
+
"type": "object",
|
|
18115
|
+
"properties": {
|
|
18116
|
+
"title": {
|
|
18117
|
+
"type": "string",
|
|
18118
|
+
"maxLength": 50
|
|
18119
|
+
},
|
|
18120
|
+
"parent": {
|
|
18121
|
+
"type": "string",
|
|
18122
|
+
"description": "ID of a parent collection"
|
|
18123
|
+
}
|
|
18124
|
+
}
|
|
18125
|
+
}
|
|
18126
|
+
}
|
|
18127
|
+
}
|
|
18128
|
+
},
|
|
18129
|
+
"responses": {
|
|
18130
|
+
"201": {
|
|
18131
|
+
"description": "Collection created",
|
|
18132
|
+
"headers": {
|
|
18133
|
+
"Location": {
|
|
18134
|
+
"description": "API URL for the newly created collection",
|
|
18135
|
+
"schema": {
|
|
18136
|
+
"type": "string"
|
|
18137
|
+
}
|
|
18138
|
+
}
|
|
18139
|
+
},
|
|
18140
|
+
"content": {
|
|
18141
|
+
"application/json": {
|
|
18142
|
+
"schema": {
|
|
18143
|
+
"$ref": "#/components/schemas/Collection"
|
|
18144
|
+
}
|
|
18145
|
+
}
|
|
18146
|
+
}
|
|
18147
|
+
},
|
|
18148
|
+
"default": {
|
|
18149
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18150
|
+
}
|
|
18151
|
+
}
|
|
17100
18152
|
}
|
|
17101
18153
|
},
|
|
17102
18154
|
"/orgs/{organizationId}/dsync": {
|