@gitbook/api 0.70.0 → 0.72.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 +159 -30
- package/dist/index.cjs +34 -1
- package/dist/index.js +34 -1
- package/package.json +1 -1
- package/spec/openapi.json +477 -90
- package/spec/openapi.yaml +291 -64
package/spec/openapi.json
CHANGED
|
@@ -1988,6 +1988,46 @@
|
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
1990
|
},
|
|
1991
|
+
"/spaces/{spaceId}/content/reusable-contents/{reusableContentId}": {
|
|
1992
|
+
"get": {
|
|
1993
|
+
"summary": "Get a reusable content by its ID in the main revision of a space",
|
|
1994
|
+
"operationId": "getReusableContentById",
|
|
1995
|
+
"security": [
|
|
1996
|
+
{
|
|
1997
|
+
"user": []
|
|
1998
|
+
}
|
|
1999
|
+
],
|
|
2000
|
+
"parameters": [
|
|
2001
|
+
{
|
|
2002
|
+
"$ref": "#/components/parameters/spaceId"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"$ref": "#/components/parameters/reusableContentId"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
2012
|
+
}
|
|
2013
|
+
],
|
|
2014
|
+
"responses": {
|
|
2015
|
+
"200": {
|
|
2016
|
+
"description": "OK",
|
|
2017
|
+
"content": {
|
|
2018
|
+
"application/json": {
|
|
2019
|
+
"schema": {
|
|
2020
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
2025
|
+
"default": {
|
|
2026
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
1991
2031
|
"/spaces/{spaceId}/content/computed/document": {
|
|
1992
2032
|
"get": {
|
|
1993
2033
|
"operationId": "getComputedDocument",
|
|
@@ -3963,6 +4003,49 @@
|
|
|
3963
4003
|
}
|
|
3964
4004
|
}
|
|
3965
4005
|
},
|
|
4006
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}": {
|
|
4007
|
+
"get": {
|
|
4008
|
+
"summary": "Get a reusable content by its ID in the content of a change request",
|
|
4009
|
+
"operationId": "getReusableContentInChangeRequestById",
|
|
4010
|
+
"security": [
|
|
4011
|
+
{
|
|
4012
|
+
"user": []
|
|
4013
|
+
}
|
|
4014
|
+
],
|
|
4015
|
+
"parameters": [
|
|
4016
|
+
{
|
|
4017
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"$ref": "#/components/parameters/reusableContentId"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4030
|
+
}
|
|
4031
|
+
],
|
|
4032
|
+
"responses": {
|
|
4033
|
+
"200": {
|
|
4034
|
+
"description": "OK",
|
|
4035
|
+
"content": {
|
|
4036
|
+
"application/json": {
|
|
4037
|
+
"schema": {
|
|
4038
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
},
|
|
4043
|
+
"default": {
|
|
4044
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
},
|
|
3966
4049
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/touched-content": {
|
|
3967
4050
|
"post": {
|
|
3968
4051
|
"operationId": "touchContentInChangeRequest",
|
|
@@ -4499,6 +4582,49 @@
|
|
|
4499
4582
|
}
|
|
4500
4583
|
}
|
|
4501
4584
|
},
|
|
4585
|
+
"/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}": {
|
|
4586
|
+
"get": {
|
|
4587
|
+
"summary": "Get reusbale content in a revision by its ID",
|
|
4588
|
+
"operationId": "getReusableContentInRevisionById",
|
|
4589
|
+
"security": [
|
|
4590
|
+
{
|
|
4591
|
+
"user": []
|
|
4592
|
+
}
|
|
4593
|
+
],
|
|
4594
|
+
"parameters": [
|
|
4595
|
+
{
|
|
4596
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
"$ref": "#/components/parameters/revisionId"
|
|
4600
|
+
},
|
|
4601
|
+
{
|
|
4602
|
+
"$ref": "#/components/parameters/reusableContentId"
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
4606
|
+
},
|
|
4607
|
+
{
|
|
4608
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4609
|
+
}
|
|
4610
|
+
],
|
|
4611
|
+
"responses": {
|
|
4612
|
+
"200": {
|
|
4613
|
+
"description": "OK",
|
|
4614
|
+
"content": {
|
|
4615
|
+
"application/json": {
|
|
4616
|
+
"schema": {
|
|
4617
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
4618
|
+
}
|
|
4619
|
+
}
|
|
4620
|
+
}
|
|
4621
|
+
},
|
|
4622
|
+
"default": {
|
|
4623
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
4624
|
+
}
|
|
4625
|
+
}
|
|
4626
|
+
}
|
|
4627
|
+
},
|
|
4502
4628
|
"/spaces/{spaceId}/comments": {
|
|
4503
4629
|
"get": {
|
|
4504
4630
|
"operationId": "listCommentsInSpace",
|
|
@@ -12790,42 +12916,7 @@
|
|
|
12790
12916
|
"content": {
|
|
12791
12917
|
"application/json": {
|
|
12792
12918
|
"schema": {
|
|
12793
|
-
"
|
|
12794
|
-
{
|
|
12795
|
-
"type": "object",
|
|
12796
|
-
"properties": {
|
|
12797
|
-
"type": {
|
|
12798
|
-
"type": "string",
|
|
12799
|
-
"enum": [
|
|
12800
|
-
"sections"
|
|
12801
|
-
]
|
|
12802
|
-
},
|
|
12803
|
-
"structure": {
|
|
12804
|
-
"type": "array",
|
|
12805
|
-
"items": {
|
|
12806
|
-
"$ref": "#/components/schemas/SiteSection"
|
|
12807
|
-
}
|
|
12808
|
-
}
|
|
12809
|
-
}
|
|
12810
|
-
},
|
|
12811
|
-
{
|
|
12812
|
-
"type": "object",
|
|
12813
|
-
"properties": {
|
|
12814
|
-
"type": {
|
|
12815
|
-
"type": "string",
|
|
12816
|
-
"enum": [
|
|
12817
|
-
"siteSpaces"
|
|
12818
|
-
]
|
|
12819
|
-
},
|
|
12820
|
-
"structure": {
|
|
12821
|
-
"type": "array",
|
|
12822
|
-
"items": {
|
|
12823
|
-
"$ref": "#/components/schemas/SiteSpace"
|
|
12824
|
-
}
|
|
12825
|
-
}
|
|
12826
|
-
}
|
|
12827
|
-
}
|
|
12828
|
-
]
|
|
12919
|
+
"$ref": "#/components/schemas/SiteStructure"
|
|
12829
12920
|
}
|
|
12830
12921
|
}
|
|
12831
12922
|
}
|
|
@@ -13817,21 +13908,75 @@
|
|
|
13817
13908
|
"content": {
|
|
13818
13909
|
"application/json": {
|
|
13819
13910
|
"schema": {
|
|
13820
|
-
"
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
"
|
|
13911
|
+
"oneOf": [
|
|
13912
|
+
{
|
|
13913
|
+
"type": "object",
|
|
13914
|
+
"properties": {
|
|
13915
|
+
"mode": {
|
|
13916
|
+
"description": "Search only in the site spaces provided",
|
|
13917
|
+
"type": "string",
|
|
13918
|
+
"enum": [
|
|
13919
|
+
"specific"
|
|
13920
|
+
]
|
|
13921
|
+
},
|
|
13922
|
+
"siteSpaceIds": {
|
|
13923
|
+
"type": "array",
|
|
13924
|
+
"minLength": 1,
|
|
13925
|
+
"items": {
|
|
13926
|
+
"type": "string"
|
|
13927
|
+
}
|
|
13928
|
+
},
|
|
13929
|
+
"query": {
|
|
13930
|
+
"type": "string"
|
|
13931
|
+
}
|
|
13932
|
+
},
|
|
13933
|
+
"required": [
|
|
13934
|
+
"siteSpaceIds",
|
|
13935
|
+
"query"
|
|
13936
|
+
]
|
|
13824
13937
|
},
|
|
13825
|
-
|
|
13826
|
-
"type": "
|
|
13827
|
-
"
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
13938
|
+
{
|
|
13939
|
+
"type": "object",
|
|
13940
|
+
"properties": {
|
|
13941
|
+
"mode": {
|
|
13942
|
+
"description": "Search in the current site space and all section's defaults",
|
|
13943
|
+
"type": "string",
|
|
13944
|
+
"enum": [
|
|
13945
|
+
"current"
|
|
13946
|
+
]
|
|
13947
|
+
},
|
|
13948
|
+
"siteSpaceId": {
|
|
13949
|
+
"type": "string"
|
|
13950
|
+
},
|
|
13951
|
+
"query": {
|
|
13952
|
+
"type": "string"
|
|
13953
|
+
}
|
|
13954
|
+
},
|
|
13955
|
+
"required": [
|
|
13956
|
+
"mode",
|
|
13957
|
+
"siteSpaceId",
|
|
13958
|
+
"query"
|
|
13959
|
+
]
|
|
13960
|
+
},
|
|
13961
|
+
{
|
|
13962
|
+
"type": "object",
|
|
13963
|
+
"properties": {
|
|
13964
|
+
"mode": {
|
|
13965
|
+
"description": "search in all site-spaces",
|
|
13966
|
+
"type": "string",
|
|
13967
|
+
"enum": [
|
|
13968
|
+
"all"
|
|
13969
|
+
]
|
|
13970
|
+
},
|
|
13971
|
+
"query": {
|
|
13972
|
+
"type": "string"
|
|
13973
|
+
}
|
|
13974
|
+
},
|
|
13975
|
+
"required": [
|
|
13976
|
+
"mode",
|
|
13977
|
+
"query"
|
|
13978
|
+
]
|
|
13831
13979
|
}
|
|
13832
|
-
},
|
|
13833
|
-
"required": [
|
|
13834
|
-
"query"
|
|
13835
13980
|
]
|
|
13836
13981
|
}
|
|
13837
13982
|
}
|
|
@@ -14648,6 +14793,69 @@
|
|
|
14648
14793
|
}
|
|
14649
14794
|
}
|
|
14650
14795
|
},
|
|
14796
|
+
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move": {
|
|
14797
|
+
"post": {
|
|
14798
|
+
"operationId": "moveSiteSection",
|
|
14799
|
+
"summary": "Move a site section to a new position in the site.",
|
|
14800
|
+
"tags": [
|
|
14801
|
+
"sites"
|
|
14802
|
+
],
|
|
14803
|
+
"security": [
|
|
14804
|
+
{
|
|
14805
|
+
"user": []
|
|
14806
|
+
}
|
|
14807
|
+
],
|
|
14808
|
+
"parameters": [
|
|
14809
|
+
{
|
|
14810
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14811
|
+
},
|
|
14812
|
+
{
|
|
14813
|
+
"$ref": "#/components/parameters/siteId"
|
|
14814
|
+
},
|
|
14815
|
+
{
|
|
14816
|
+
"$ref": "#/components/parameters/siteSectionId"
|
|
14817
|
+
}
|
|
14818
|
+
],
|
|
14819
|
+
"requestBody": {
|
|
14820
|
+
"content": {
|
|
14821
|
+
"application/json": {
|
|
14822
|
+
"schema": {
|
|
14823
|
+
"type": "object",
|
|
14824
|
+
"properties": {
|
|
14825
|
+
"position": {
|
|
14826
|
+
"description": "The position where to move the site section. When not provided the site section is moved at the end of the site.",
|
|
14827
|
+
"$ref": "#/components/schemas/SiteSectionMovePosition"
|
|
14828
|
+
}
|
|
14829
|
+
}
|
|
14830
|
+
}
|
|
14831
|
+
}
|
|
14832
|
+
}
|
|
14833
|
+
},
|
|
14834
|
+
"responses": {
|
|
14835
|
+
"200": {
|
|
14836
|
+
"description": "Site section moved",
|
|
14837
|
+
"content": {
|
|
14838
|
+
"application/json": {
|
|
14839
|
+
"schema": {
|
|
14840
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
14841
|
+
}
|
|
14842
|
+
}
|
|
14843
|
+
}
|
|
14844
|
+
},
|
|
14845
|
+
"400": {
|
|
14846
|
+
"description": "Invalid move site section position provided",
|
|
14847
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14848
|
+
},
|
|
14849
|
+
"404": {
|
|
14850
|
+
"description": "No matching Site section found",
|
|
14851
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
14852
|
+
},
|
|
14853
|
+
"default": {
|
|
14854
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14855
|
+
}
|
|
14856
|
+
}
|
|
14857
|
+
}
|
|
14858
|
+
},
|
|
14651
14859
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move": {
|
|
14652
14860
|
"post": {
|
|
14653
14861
|
"operationId": "moveSiteSpace",
|
|
@@ -15712,6 +15920,15 @@
|
|
|
15712
15920
|
"type": "string"
|
|
15713
15921
|
}
|
|
15714
15922
|
},
|
|
15923
|
+
"reusableContentId": {
|
|
15924
|
+
"name": "reusableContentId",
|
|
15925
|
+
"in": "path",
|
|
15926
|
+
"required": true,
|
|
15927
|
+
"description": "The unique id of the reusable content",
|
|
15928
|
+
"schema": {
|
|
15929
|
+
"type": "string"
|
|
15930
|
+
}
|
|
15931
|
+
},
|
|
15715
15932
|
"documentSchema": {
|
|
15716
15933
|
"name": "schema",
|
|
15717
15934
|
"in": "query",
|
|
@@ -20695,6 +20912,50 @@
|
|
|
20695
20912
|
"yPos"
|
|
20696
20913
|
]
|
|
20697
20914
|
},
|
|
20915
|
+
"AnalyticsFeedbacksPageScore": {
|
|
20916
|
+
"type": "object",
|
|
20917
|
+
"description": "A score breakdown for a specific page.",
|
|
20918
|
+
"required": [
|
|
20919
|
+
"score",
|
|
20920
|
+
"total",
|
|
20921
|
+
"rating",
|
|
20922
|
+
"ponderedScore",
|
|
20923
|
+
"bad",
|
|
20924
|
+
"ok",
|
|
20925
|
+
"good"
|
|
20926
|
+
],
|
|
20927
|
+
"properties": {
|
|
20928
|
+
"score": {
|
|
20929
|
+
"type": "number",
|
|
20930
|
+
"description": "Score based on each rating (+1 for 'good', -0.5 for 'ok', -2 for 'bad')."
|
|
20931
|
+
},
|
|
20932
|
+
"total": {
|
|
20933
|
+
"type": "number",
|
|
20934
|
+
"description": "Total number of ratings done by end users."
|
|
20935
|
+
},
|
|
20936
|
+
"rating": {
|
|
20937
|
+
"type": "string",
|
|
20938
|
+
"deprecated": true,
|
|
20939
|
+
"description": "Summary of the rating based on the score ('good', 'ok', or 'bad')"
|
|
20940
|
+
},
|
|
20941
|
+
"ponderedScore": {
|
|
20942
|
+
"type": "number",
|
|
20943
|
+
"description": "Score multiplied by the number of ratings to give more importance to highly rated content."
|
|
20944
|
+
},
|
|
20945
|
+
"bad": {
|
|
20946
|
+
"type": "number",
|
|
20947
|
+
"description": "Number of 'bad' ratings."
|
|
20948
|
+
},
|
|
20949
|
+
"ok": {
|
|
20950
|
+
"type": "number",
|
|
20951
|
+
"description": "Number of 'ok' ratings."
|
|
20952
|
+
},
|
|
20953
|
+
"good": {
|
|
20954
|
+
"type": "number",
|
|
20955
|
+
"description": "Number of 'good' ratings."
|
|
20956
|
+
}
|
|
20957
|
+
}
|
|
20958
|
+
},
|
|
20698
20959
|
"AnalyticsContentPage": {
|
|
20699
20960
|
"type": "object",
|
|
20700
20961
|
"description": "Page entry in the content analytics.",
|
|
@@ -20710,47 +20971,7 @@
|
|
|
20710
20971
|
"type": "number"
|
|
20711
20972
|
},
|
|
20712
20973
|
"feedbacks": {
|
|
20713
|
-
"
|
|
20714
|
-
"required": [
|
|
20715
|
-
"score",
|
|
20716
|
-
"total",
|
|
20717
|
-
"rating",
|
|
20718
|
-
"ponderedScore",
|
|
20719
|
-
"bad",
|
|
20720
|
-
"ok",
|
|
20721
|
-
"good"
|
|
20722
|
-
],
|
|
20723
|
-
"properties": {
|
|
20724
|
-
"score": {
|
|
20725
|
-
"type": "number",
|
|
20726
|
-
"description": "Score based on each rating (+1 for 'good', -0.5 for 'ok', -2 for 'bad')."
|
|
20727
|
-
},
|
|
20728
|
-
"total": {
|
|
20729
|
-
"type": "number",
|
|
20730
|
-
"description": "Total number of ratings done by end users."
|
|
20731
|
-
},
|
|
20732
|
-
"rating": {
|
|
20733
|
-
"type": "string",
|
|
20734
|
-
"deprecated": true,
|
|
20735
|
-
"description": "Summary of the rating based on the score ('good', 'ok', or 'bad')"
|
|
20736
|
-
},
|
|
20737
|
-
"ponderedScore": {
|
|
20738
|
-
"type": "number",
|
|
20739
|
-
"description": "Score multiplied by the number of ratings to give more importance to highly rated content."
|
|
20740
|
-
},
|
|
20741
|
-
"bad": {
|
|
20742
|
-
"type": "number",
|
|
20743
|
-
"description": "Number of 'bad' ratings."
|
|
20744
|
-
},
|
|
20745
|
-
"ok": {
|
|
20746
|
-
"type": "number",
|
|
20747
|
-
"description": "Number of 'ok' ratings."
|
|
20748
|
-
},
|
|
20749
|
-
"good": {
|
|
20750
|
-
"type": "number",
|
|
20751
|
-
"description": "Number of 'good' ratings."
|
|
20752
|
-
}
|
|
20753
|
-
}
|
|
20974
|
+
"$ref": "#/components/schemas/AnalyticsFeedbacksPageScore"
|
|
20754
20975
|
}
|
|
20755
20976
|
}
|
|
20756
20977
|
},
|
|
@@ -21081,6 +21302,27 @@
|
|
|
21081
21302
|
"size"
|
|
21082
21303
|
]
|
|
21083
21304
|
},
|
|
21305
|
+
"RevisionReusableContent": {
|
|
21306
|
+
"type": "object",
|
|
21307
|
+
"properties": {
|
|
21308
|
+
"id": {
|
|
21309
|
+
"type": "string"
|
|
21310
|
+
},
|
|
21311
|
+
"title": {
|
|
21312
|
+
"type": "string"
|
|
21313
|
+
},
|
|
21314
|
+
"document": {
|
|
21315
|
+
"type": "string"
|
|
21316
|
+
},
|
|
21317
|
+
"git": {
|
|
21318
|
+
"$ref": "#/components/schemas/GitSyncBlob"
|
|
21319
|
+
}
|
|
21320
|
+
},
|
|
21321
|
+
"required": [
|
|
21322
|
+
"id",
|
|
21323
|
+
"title"
|
|
21324
|
+
]
|
|
21325
|
+
},
|
|
21084
21326
|
"GitSyncCommit": {
|
|
21085
21327
|
"type": "object",
|
|
21086
21328
|
"properties": {
|
|
@@ -21144,6 +21386,12 @@
|
|
|
21144
21386
|
"$ref": "#/components/schemas/RevisionFile"
|
|
21145
21387
|
}
|
|
21146
21388
|
},
|
|
21389
|
+
"reusableContents": {
|
|
21390
|
+
"type": "array",
|
|
21391
|
+
"items": {
|
|
21392
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
21393
|
+
}
|
|
21394
|
+
},
|
|
21147
21395
|
"createdAt": {
|
|
21148
21396
|
"description": "When the revision was created.",
|
|
21149
21397
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -21182,6 +21430,7 @@
|
|
|
21182
21430
|
"parents",
|
|
21183
21431
|
"pages",
|
|
21184
21432
|
"files",
|
|
21433
|
+
"reusableContents",
|
|
21185
21434
|
"urls",
|
|
21186
21435
|
"createdAt"
|
|
21187
21436
|
]
|
|
@@ -22703,6 +22952,42 @@
|
|
|
22703
22952
|
"syncedBlock"
|
|
22704
22953
|
]
|
|
22705
22954
|
},
|
|
22955
|
+
"ContentLocationReusableContent": {
|
|
22956
|
+
"type": "object",
|
|
22957
|
+
"properties": {
|
|
22958
|
+
"kind": {
|
|
22959
|
+
"type": "string",
|
|
22960
|
+
"enum": [
|
|
22961
|
+
"reusable-content"
|
|
22962
|
+
]
|
|
22963
|
+
},
|
|
22964
|
+
"organization": {
|
|
22965
|
+
"$ref": "#/components/schemas/Organization"
|
|
22966
|
+
},
|
|
22967
|
+
"space": {
|
|
22968
|
+
"$ref": "#/components/schemas/Space"
|
|
22969
|
+
},
|
|
22970
|
+
"versionContext": {
|
|
22971
|
+
"oneOf": [
|
|
22972
|
+
{
|
|
22973
|
+
"$ref": "#/components/schemas/ContentLocationRevisionContext"
|
|
22974
|
+
},
|
|
22975
|
+
{
|
|
22976
|
+
"$ref": "#/components/schemas/ContentLocationChangeRequestContext"
|
|
22977
|
+
}
|
|
22978
|
+
]
|
|
22979
|
+
},
|
|
22980
|
+
"reusableContent": {
|
|
22981
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
22982
|
+
}
|
|
22983
|
+
},
|
|
22984
|
+
"required": [
|
|
22985
|
+
"kind",
|
|
22986
|
+
"organization",
|
|
22987
|
+
"space",
|
|
22988
|
+
"reusableContent"
|
|
22989
|
+
]
|
|
22990
|
+
},
|
|
22706
22991
|
"ContentLocation": {
|
|
22707
22992
|
"description": "An absolute reference to content in GitBook.",
|
|
22708
22993
|
"oneOf": [
|
|
@@ -22729,6 +23014,9 @@
|
|
|
22729
23014
|
},
|
|
22730
23015
|
{
|
|
22731
23016
|
"$ref": "#/components/schemas/ContentLocationSyncedBlock"
|
|
23017
|
+
},
|
|
23018
|
+
{
|
|
23019
|
+
"$ref": "#/components/schemas/ContentLocationReusableContent"
|
|
22732
23020
|
}
|
|
22733
23021
|
],
|
|
22734
23022
|
"discriminator": {
|
|
@@ -29356,6 +29644,52 @@
|
|
|
29356
29644
|
"urls"
|
|
29357
29645
|
]
|
|
29358
29646
|
},
|
|
29647
|
+
"SiteStructure": {
|
|
29648
|
+
"oneOf": [
|
|
29649
|
+
{
|
|
29650
|
+
"type": "object",
|
|
29651
|
+
"properties": {
|
|
29652
|
+
"type": {
|
|
29653
|
+
"type": "string",
|
|
29654
|
+
"enum": [
|
|
29655
|
+
"sections"
|
|
29656
|
+
]
|
|
29657
|
+
},
|
|
29658
|
+
"structure": {
|
|
29659
|
+
"type": "array",
|
|
29660
|
+
"items": {
|
|
29661
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
29662
|
+
}
|
|
29663
|
+
}
|
|
29664
|
+
},
|
|
29665
|
+
"required": [
|
|
29666
|
+
"type",
|
|
29667
|
+
"structure"
|
|
29668
|
+
]
|
|
29669
|
+
},
|
|
29670
|
+
{
|
|
29671
|
+
"type": "object",
|
|
29672
|
+
"properties": {
|
|
29673
|
+
"type": {
|
|
29674
|
+
"type": "string",
|
|
29675
|
+
"enum": [
|
|
29676
|
+
"siteSpaces"
|
|
29677
|
+
]
|
|
29678
|
+
},
|
|
29679
|
+
"structure": {
|
|
29680
|
+
"type": "array",
|
|
29681
|
+
"items": {
|
|
29682
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
29683
|
+
}
|
|
29684
|
+
}
|
|
29685
|
+
},
|
|
29686
|
+
"required": [
|
|
29687
|
+
"type",
|
|
29688
|
+
"structure"
|
|
29689
|
+
]
|
|
29690
|
+
}
|
|
29691
|
+
]
|
|
29692
|
+
},
|
|
29359
29693
|
"SitePublishingAuth": {
|
|
29360
29694
|
"allOf": [
|
|
29361
29695
|
{
|
|
@@ -29713,6 +30047,37 @@
|
|
|
29713
30047
|
"cookies"
|
|
29714
30048
|
]
|
|
29715
30049
|
},
|
|
30050
|
+
"SiteSectionPointer": {
|
|
30051
|
+
"type": "object",
|
|
30052
|
+
"properties": {
|
|
30053
|
+
"type": {
|
|
30054
|
+
"type": "string",
|
|
30055
|
+
"enum": [
|
|
30056
|
+
"site-section"
|
|
30057
|
+
]
|
|
30058
|
+
},
|
|
30059
|
+
"siteSection": {
|
|
30060
|
+
"type": "string",
|
|
30061
|
+
"description": "Unique identifier for the site section"
|
|
30062
|
+
}
|
|
30063
|
+
},
|
|
30064
|
+
"required": [
|
|
30065
|
+
"type",
|
|
30066
|
+
"siteSection"
|
|
30067
|
+
]
|
|
30068
|
+
},
|
|
30069
|
+
"SiteSectionMovePosition": {
|
|
30070
|
+
"type": "object",
|
|
30071
|
+
"description": "Position at which to move the site section to.",
|
|
30072
|
+
"properties": {
|
|
30073
|
+
"before": {
|
|
30074
|
+
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
30075
|
+
},
|
|
30076
|
+
"after": {
|
|
30077
|
+
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
30078
|
+
}
|
|
30079
|
+
}
|
|
30080
|
+
},
|
|
29716
30081
|
"SiteSpacePointer": {
|
|
29717
30082
|
"type": "object",
|
|
29718
30083
|
"properties": {
|
|
@@ -32299,6 +32664,25 @@
|
|
|
32299
32664
|
"site"
|
|
32300
32665
|
]
|
|
32301
32666
|
},
|
|
32667
|
+
"SiteStructureChannel": {
|
|
32668
|
+
"type": "object",
|
|
32669
|
+
"description": "Subscription channel for changes in site structure in an organization.",
|
|
32670
|
+
"properties": {
|
|
32671
|
+
"channel": {
|
|
32672
|
+
"type": "string",
|
|
32673
|
+
"enum": [
|
|
32674
|
+
"site-structure"
|
|
32675
|
+
]
|
|
32676
|
+
},
|
|
32677
|
+
"site": {
|
|
32678
|
+
"type": "string"
|
|
32679
|
+
}
|
|
32680
|
+
},
|
|
32681
|
+
"required": [
|
|
32682
|
+
"channel",
|
|
32683
|
+
"site"
|
|
32684
|
+
]
|
|
32685
|
+
},
|
|
32302
32686
|
"SitePublishingAuthChannel": {
|
|
32303
32687
|
"type": "object",
|
|
32304
32688
|
"properties": {
|
|
@@ -32576,6 +32960,9 @@
|
|
|
32576
32960
|
{
|
|
32577
32961
|
"$ref": "#/components/schemas/SiteSpacesChannel"
|
|
32578
32962
|
},
|
|
32963
|
+
{
|
|
32964
|
+
"$ref": "#/components/schemas/SiteStructureChannel"
|
|
32965
|
+
},
|
|
32579
32966
|
{
|
|
32580
32967
|
"$ref": "#/components/schemas/SitePublishingAuthChannel"
|
|
32581
32968
|
},
|