@gitbook/api 0.66.0 → 0.68.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 +184 -46
- package/dist/index.cjs +31 -9
- package/dist/index.js +31 -9
- package/package.json +1 -1
- package/spec/openapi.json +703 -173
- package/spec/openapi.yaml +436 -114
package/spec/openapi.yaml
CHANGED
|
@@ -1118,25 +1118,20 @@ paths:
|
|
|
1118
1118
|
default:
|
|
1119
1119
|
$ref: "#/components/responses/UnexpectedError"
|
|
1120
1120
|
"/spaces/{spaceId}/content/computed/document":
|
|
1121
|
-
|
|
1122
|
-
operationId:
|
|
1121
|
+
get:
|
|
1122
|
+
operationId: getComputedDocument
|
|
1123
1123
|
summary: Get the document for a page in a computed content.
|
|
1124
1124
|
security:
|
|
1125
1125
|
- user: []
|
|
1126
1126
|
parameters:
|
|
1127
1127
|
- $ref: "#/components/parameters/spaceId"
|
|
1128
1128
|
- $ref: "#/components/parameters/documentFormat"
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
properties:
|
|
1136
|
-
source:
|
|
1137
|
-
$ref: "#/components/schemas/ComputedContentSource"
|
|
1138
|
-
required:
|
|
1139
|
-
- source
|
|
1129
|
+
- name: request
|
|
1130
|
+
in: query
|
|
1131
|
+
required: true
|
|
1132
|
+
description: LZ-string compressed JSON request
|
|
1133
|
+
schema:
|
|
1134
|
+
type: string
|
|
1140
1135
|
responses:
|
|
1141
1136
|
"200":
|
|
1142
1137
|
description: Document computed
|
|
@@ -1146,6 +1141,42 @@ paths:
|
|
|
1146
1141
|
$ref: "#/components/schemas/Document"
|
|
1147
1142
|
default:
|
|
1148
1143
|
$ref: "#/components/responses/UnexpectedError"
|
|
1144
|
+
"/spaces/{spaceId}/content/computed/page":
|
|
1145
|
+
get:
|
|
1146
|
+
operationId: getComputedPage
|
|
1147
|
+
summary: Get the computed pages for a page in a computed content.
|
|
1148
|
+
security:
|
|
1149
|
+
- user: []
|
|
1150
|
+
parameters:
|
|
1151
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1152
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
1153
|
+
- name: request
|
|
1154
|
+
in: query
|
|
1155
|
+
required: true
|
|
1156
|
+
description: LZ-string compressed JSON request
|
|
1157
|
+
schema:
|
|
1158
|
+
type: string
|
|
1159
|
+
responses:
|
|
1160
|
+
"200":
|
|
1161
|
+
description: Computed pages and their associated files
|
|
1162
|
+
content:
|
|
1163
|
+
application/json:
|
|
1164
|
+
schema:
|
|
1165
|
+
type: object
|
|
1166
|
+
properties:
|
|
1167
|
+
pages:
|
|
1168
|
+
type: array
|
|
1169
|
+
items:
|
|
1170
|
+
$ref: "#/components/schemas/RevisionPage"
|
|
1171
|
+
files:
|
|
1172
|
+
type: array
|
|
1173
|
+
items:
|
|
1174
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
1175
|
+
required:
|
|
1176
|
+
- pages
|
|
1177
|
+
- files
|
|
1178
|
+
default:
|
|
1179
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
1149
1180
|
"/spaces/{spaceId}/documents/{documentId}":
|
|
1150
1181
|
get:
|
|
1151
1182
|
operationId: getDocumentById
|
|
@@ -4834,7 +4865,78 @@ paths:
|
|
|
4834
4865
|
properties: {}
|
|
4835
4866
|
default:
|
|
4836
4867
|
$ref: "#/components/responses/UnexpectedError"
|
|
4868
|
+
"/orgs/{organizationId}/content-link-invites":
|
|
4869
|
+
get:
|
|
4870
|
+
operationId: listOrganizationContentInviteLinks
|
|
4871
|
+
summary: List invite links to content in an organization
|
|
4872
|
+
tags:
|
|
4873
|
+
- organizations
|
|
4874
|
+
security:
|
|
4875
|
+
- user-internal: []
|
|
4876
|
+
parameters:
|
|
4877
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4878
|
+
- $ref: "#/components/parameters/listPage"
|
|
4879
|
+
- $ref: "#/components/parameters/listLimit"
|
|
4880
|
+
- name: space
|
|
4881
|
+
in: query
|
|
4882
|
+
description: If specified, only return invite links that provide specific permissions on the given space.
|
|
4883
|
+
schema:
|
|
4884
|
+
type: string
|
|
4885
|
+
- name: collection
|
|
4886
|
+
in: query
|
|
4887
|
+
description: If specified, only return invite links that provide permissions on the given collection.
|
|
4888
|
+
schema:
|
|
4889
|
+
type: string
|
|
4890
|
+
responses:
|
|
4891
|
+
"200":
|
|
4892
|
+
description: List of invite links to content in the organization.
|
|
4893
|
+
content:
|
|
4894
|
+
application/json:
|
|
4895
|
+
schema:
|
|
4896
|
+
allOf:
|
|
4897
|
+
- $ref: "#/components/schemas/List"
|
|
4898
|
+
- type: object
|
|
4899
|
+
required:
|
|
4900
|
+
- items
|
|
4901
|
+
properties:
|
|
4902
|
+
items:
|
|
4903
|
+
type: array
|
|
4904
|
+
items:
|
|
4905
|
+
oneOf:
|
|
4906
|
+
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
4907
|
+
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
4908
|
+
default:
|
|
4909
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
4837
4910
|
"/orgs/{organizationId}/link-invites":
|
|
4911
|
+
get:
|
|
4912
|
+
operationId: listOrganizationInviteLinks
|
|
4913
|
+
summary: List invite links to an organization
|
|
4914
|
+
tags:
|
|
4915
|
+
- organizations
|
|
4916
|
+
security:
|
|
4917
|
+
- user: []
|
|
4918
|
+
parameters:
|
|
4919
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4920
|
+
- $ref: "#/components/parameters/listPage"
|
|
4921
|
+
- $ref: "#/components/parameters/listLimit"
|
|
4922
|
+
responses:
|
|
4923
|
+
"200":
|
|
4924
|
+
description: List of invite links in the organization.
|
|
4925
|
+
content:
|
|
4926
|
+
application/json:
|
|
4927
|
+
schema:
|
|
4928
|
+
allOf:
|
|
4929
|
+
- $ref: "#/components/schemas/List"
|
|
4930
|
+
- type: object
|
|
4931
|
+
required:
|
|
4932
|
+
- items
|
|
4933
|
+
properties:
|
|
4934
|
+
items:
|
|
4935
|
+
type: array
|
|
4936
|
+
items:
|
|
4937
|
+
$ref: "#/components/schemas/InviteLinkToOrganization"
|
|
4938
|
+
default:
|
|
4939
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
4838
4940
|
post:
|
|
4839
4941
|
operationId: createOrganizationInvite
|
|
4840
4942
|
summary: Create a new organization invite
|
|
@@ -4856,7 +4958,7 @@ paths:
|
|
|
4856
4958
|
content:
|
|
4857
4959
|
application/json:
|
|
4858
4960
|
schema:
|
|
4859
|
-
$ref: "#/components/schemas/
|
|
4961
|
+
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
4860
4962
|
default:
|
|
4861
4963
|
$ref: "#/components/responses/UnexpectedError"
|
|
4862
4964
|
"/orgs/{organizationId}/link-invites/{inviteId}":
|
|
@@ -4896,7 +4998,7 @@ paths:
|
|
|
4896
4998
|
content:
|
|
4897
4999
|
application/json:
|
|
4898
5000
|
schema:
|
|
4899
|
-
$ref: "#/components/schemas/
|
|
5001
|
+
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
4900
5002
|
default:
|
|
4901
5003
|
$ref: "#/components/responses/UnexpectedError"
|
|
4902
5004
|
delete:
|
|
@@ -5074,11 +5176,6 @@ paths:
|
|
|
5074
5176
|
- $ref: "#/components/parameters/organizationId"
|
|
5075
5177
|
- $ref: "#/components/parameters/listPage"
|
|
5076
5178
|
- $ref: "#/components/parameters/listLimit"
|
|
5077
|
-
- name: visibility
|
|
5078
|
-
in: query
|
|
5079
|
-
description: If defined, only content with this visibility will be returned.
|
|
5080
|
-
schema:
|
|
5081
|
-
$ref: "#/components/schemas/ContentVisibility"
|
|
5082
5179
|
responses:
|
|
5083
5180
|
"200":
|
|
5084
5181
|
description: OK
|
|
@@ -9349,6 +9446,18 @@ components:
|
|
|
9349
9446
|
required:
|
|
9350
9447
|
- kind
|
|
9351
9448
|
- syncedBlock
|
|
9449
|
+
ContentRefReusableContent:
|
|
9450
|
+
type: object
|
|
9451
|
+
properties:
|
|
9452
|
+
kind:
|
|
9453
|
+
type: string
|
|
9454
|
+
enum:
|
|
9455
|
+
- reusable-content
|
|
9456
|
+
reusableContent:
|
|
9457
|
+
type: string
|
|
9458
|
+
required:
|
|
9459
|
+
- kind
|
|
9460
|
+
- reusableContent
|
|
9352
9461
|
ContentRef:
|
|
9353
9462
|
description: A relative reference to content in GitBook.
|
|
9354
9463
|
oneOf:
|
|
@@ -9361,6 +9470,7 @@ components:
|
|
|
9361
9470
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
9362
9471
|
- $ref: "#/components/schemas/ContentRefSnippet"
|
|
9363
9472
|
- $ref: "#/components/schemas/ContentRefSyncedBlock"
|
|
9473
|
+
- $ref: "#/components/schemas/ContentRefReusableContent"
|
|
9364
9474
|
DocumentInlineLink:
|
|
9365
9475
|
type: object
|
|
9366
9476
|
properties:
|
|
@@ -10611,12 +10721,12 @@ components:
|
|
|
10611
10721
|
- action
|
|
10612
10722
|
- returnValue
|
|
10613
10723
|
- type: object
|
|
10614
|
-
description: Action to
|
|
10724
|
+
description: Action to complete the current flow the user is in.
|
|
10615
10725
|
properties:
|
|
10616
10726
|
action:
|
|
10617
10727
|
type: string
|
|
10618
10728
|
enum:
|
|
10619
|
-
- "@ui.
|
|
10729
|
+
- "@ui.complete"
|
|
10620
10730
|
returnValue:
|
|
10621
10731
|
$ref: "#/components/schemas/PlainObject"
|
|
10622
10732
|
required:
|
|
@@ -10882,6 +10992,106 @@ components:
|
|
|
10882
10992
|
- type
|
|
10883
10993
|
- data
|
|
10884
10994
|
- isVoid
|
|
10995
|
+
DocumentBlockReusableContent:
|
|
10996
|
+
type: object
|
|
10997
|
+
properties:
|
|
10998
|
+
object:
|
|
10999
|
+
type: string
|
|
11000
|
+
enum:
|
|
11001
|
+
- block
|
|
11002
|
+
type:
|
|
11003
|
+
type: string
|
|
11004
|
+
enum:
|
|
11005
|
+
- reusable-content
|
|
11006
|
+
key:
|
|
11007
|
+
type: string
|
|
11008
|
+
data:
|
|
11009
|
+
type: object
|
|
11010
|
+
properties:
|
|
11011
|
+
ref:
|
|
11012
|
+
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
11013
|
+
required:
|
|
11014
|
+
- ref
|
|
11015
|
+
isVoid:
|
|
11016
|
+
type: boolean
|
|
11017
|
+
enum:
|
|
11018
|
+
- true
|
|
11019
|
+
required:
|
|
11020
|
+
- object
|
|
11021
|
+
- type
|
|
11022
|
+
- data
|
|
11023
|
+
- isVoid
|
|
11024
|
+
DocumentBlockStepperStep:
|
|
11025
|
+
type: object
|
|
11026
|
+
properties:
|
|
11027
|
+
object:
|
|
11028
|
+
type: string
|
|
11029
|
+
enum:
|
|
11030
|
+
- block
|
|
11031
|
+
type:
|
|
11032
|
+
type: string
|
|
11033
|
+
enum:
|
|
11034
|
+
- stepper-step
|
|
11035
|
+
key:
|
|
11036
|
+
type: string
|
|
11037
|
+
nodes:
|
|
11038
|
+
type: array
|
|
11039
|
+
items:
|
|
11040
|
+
oneOf:
|
|
11041
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
11042
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
11043
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
11044
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
11045
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
11046
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
11047
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
11048
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
11049
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
11050
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
11051
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
11052
|
+
data:
|
|
11053
|
+
type: object
|
|
11054
|
+
properties:
|
|
11055
|
+
icon:
|
|
11056
|
+
type: string
|
|
11057
|
+
isVoid:
|
|
11058
|
+
type: boolean
|
|
11059
|
+
enum:
|
|
11060
|
+
- false
|
|
11061
|
+
required:
|
|
11062
|
+
- object
|
|
11063
|
+
- type
|
|
11064
|
+
- nodes
|
|
11065
|
+
- data
|
|
11066
|
+
DocumentBlockStepper:
|
|
11067
|
+
type: object
|
|
11068
|
+
properties:
|
|
11069
|
+
object:
|
|
11070
|
+
type: string
|
|
11071
|
+
enum:
|
|
11072
|
+
- block
|
|
11073
|
+
type:
|
|
11074
|
+
type: string
|
|
11075
|
+
enum:
|
|
11076
|
+
- stepper
|
|
11077
|
+
key:
|
|
11078
|
+
type: string
|
|
11079
|
+
nodes:
|
|
11080
|
+
type: array
|
|
11081
|
+
items:
|
|
11082
|
+
$ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
11083
|
+
isVoid:
|
|
11084
|
+
type: boolean
|
|
11085
|
+
enum:
|
|
11086
|
+
- false
|
|
11087
|
+
data:
|
|
11088
|
+
type: object
|
|
11089
|
+
properties: {}
|
|
11090
|
+
additionalProperties: false
|
|
11091
|
+
required:
|
|
11092
|
+
- object
|
|
11093
|
+
- type
|
|
11094
|
+
- nodes
|
|
10885
11095
|
DocumentBlocksTopLevels:
|
|
10886
11096
|
oneOf:
|
|
10887
11097
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
@@ -10900,6 +11110,8 @@ components:
|
|
|
10900
11110
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
10901
11111
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
10902
11112
|
- $ref: "#/components/schemas/DocumentBlockSyncedBlock"
|
|
11113
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
11114
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
10903
11115
|
JSONDocument:
|
|
10904
11116
|
type: object
|
|
10905
11117
|
properties:
|
|
@@ -12727,9 +12939,12 @@ components:
|
|
|
12727
12939
|
maxLength: 2048
|
|
12728
12940
|
IntegrationTarget:
|
|
12729
12941
|
type: string
|
|
12942
|
+
description: The target on which the integration can operate and needs to be configured for
|
|
12730
12943
|
enum:
|
|
12731
|
-
- organization
|
|
12732
12944
|
- all
|
|
12945
|
+
- site
|
|
12946
|
+
- space
|
|
12947
|
+
- organization
|
|
12733
12948
|
IntegrationVisibility:
|
|
12734
12949
|
type: string
|
|
12735
12950
|
enum:
|
|
@@ -13971,6 +14186,65 @@ components:
|
|
|
13971
14186
|
required:
|
|
13972
14187
|
- type
|
|
13973
14188
|
- customFields
|
|
14189
|
+
ChangedRevisionReusableContent:
|
|
14190
|
+
type: object
|
|
14191
|
+
properties:
|
|
14192
|
+
id:
|
|
14193
|
+
type: string
|
|
14194
|
+
title:
|
|
14195
|
+
type: string
|
|
14196
|
+
document:
|
|
14197
|
+
type: string
|
|
14198
|
+
required:
|
|
14199
|
+
- id
|
|
14200
|
+
- title
|
|
14201
|
+
RevisionSemanticChangeReusableContentCreated:
|
|
14202
|
+
type: object
|
|
14203
|
+
properties:
|
|
14204
|
+
type:
|
|
14205
|
+
type: string
|
|
14206
|
+
enum:
|
|
14207
|
+
- reusable_content_created
|
|
14208
|
+
reusableContent:
|
|
14209
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14210
|
+
required:
|
|
14211
|
+
- type
|
|
14212
|
+
- reusableContent
|
|
14213
|
+
RevisionSemanticChangeReusableContentDeleted:
|
|
14214
|
+
type: object
|
|
14215
|
+
properties:
|
|
14216
|
+
type:
|
|
14217
|
+
type: string
|
|
14218
|
+
enum:
|
|
14219
|
+
- reusable_content_deleted
|
|
14220
|
+
reusableContent:
|
|
14221
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14222
|
+
required:
|
|
14223
|
+
- type
|
|
14224
|
+
- reusableContent
|
|
14225
|
+
RevisionReusableContentChangeAttributes:
|
|
14226
|
+
type: object
|
|
14227
|
+
minProperties: 1
|
|
14228
|
+
properties:
|
|
14229
|
+
title:
|
|
14230
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14231
|
+
document:
|
|
14232
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14233
|
+
RevisionSemanticChangeReusableContentEdited:
|
|
14234
|
+
type: object
|
|
14235
|
+
properties:
|
|
14236
|
+
type:
|
|
14237
|
+
type: string
|
|
14238
|
+
enum:
|
|
14239
|
+
- reusable_content_edited
|
|
14240
|
+
reusableContent:
|
|
14241
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14242
|
+
attributes:
|
|
14243
|
+
$ref: "#/components/schemas/RevisionReusableContentChangeAttributes"
|
|
14244
|
+
required:
|
|
14245
|
+
- type
|
|
14246
|
+
- reusableContent
|
|
14247
|
+
- attributes
|
|
13974
14248
|
RevisionSemanticChange:
|
|
13975
14249
|
oneOf:
|
|
13976
14250
|
- $ref: "#/components/schemas/RevisionSemanticChangePageCreated"
|
|
@@ -13981,6 +14255,9 @@ components:
|
|
|
13981
14255
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileEdited"
|
|
13982
14256
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileDeleted"
|
|
13983
14257
|
- $ref: "#/components/schemas/RevisionSemanticChangeCustomFieldsEdited"
|
|
14258
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
|
|
14259
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
|
|
14260
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
|
|
13984
14261
|
RevisionSemanticChanges:
|
|
13985
14262
|
type: object
|
|
13986
14263
|
properties:
|
|
@@ -15181,6 +15458,9 @@ components:
|
|
|
15181
15458
|
organizationId:
|
|
15182
15459
|
type: string
|
|
15183
15460
|
description: ID of the organization the content source installation configuration is in.
|
|
15461
|
+
spaceId:
|
|
15462
|
+
type: string
|
|
15463
|
+
description: Optional ID of the space the content source installation configuration is in.
|
|
15184
15464
|
required:
|
|
15185
15465
|
- type
|
|
15186
15466
|
- organizationId
|
|
@@ -16483,44 +16763,74 @@ components:
|
|
|
16483
16763
|
type: boolean
|
|
16484
16764
|
required:
|
|
16485
16765
|
- emails
|
|
16486
|
-
|
|
16766
|
+
InviteLinkToCollection:
|
|
16487
16767
|
type: object
|
|
16768
|
+
description: An invite link to a specific collection in an organization
|
|
16488
16769
|
properties:
|
|
16489
|
-
|
|
16770
|
+
object:
|
|
16771
|
+
type: string
|
|
16772
|
+
description: Type of Object, always equals to "invite"
|
|
16773
|
+
enum:
|
|
16774
|
+
- invite
|
|
16775
|
+
id:
|
|
16776
|
+
type: string
|
|
16777
|
+
description: Unique identifier for the invite link to the collection
|
|
16778
|
+
level:
|
|
16490
16779
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16491
|
-
description: The
|
|
16780
|
+
description: The level of the member in the target collection
|
|
16781
|
+
collection:
|
|
16782
|
+
$ref: "#/components/schemas/Collection"
|
|
16783
|
+
description: The collection the member has been invited to
|
|
16492
16784
|
required:
|
|
16493
|
-
-
|
|
16494
|
-
|
|
16785
|
+
- object
|
|
16786
|
+
- id
|
|
16787
|
+
- target
|
|
16788
|
+
- level
|
|
16789
|
+
- collection
|
|
16790
|
+
InviteLinkToSpace:
|
|
16495
16791
|
type: object
|
|
16792
|
+
description: An invite link to a specific space in an organization
|
|
16496
16793
|
properties:
|
|
16794
|
+
object:
|
|
16795
|
+
type: string
|
|
16796
|
+
description: Type of Object, always equals to "invite"
|
|
16797
|
+
enum:
|
|
16798
|
+
- invite
|
|
16799
|
+
id:
|
|
16800
|
+
type: string
|
|
16801
|
+
description: Unique identifier for the invite link to the space
|
|
16497
16802
|
level:
|
|
16498
16803
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16499
16804
|
description: The level of the member in the target space
|
|
16500
16805
|
space:
|
|
16501
|
-
|
|
16502
|
-
description: The
|
|
16806
|
+
$ref: "#/components/schemas/Space"
|
|
16807
|
+
description: The space the member has been invited to
|
|
16503
16808
|
required:
|
|
16809
|
+
- object
|
|
16810
|
+
- id
|
|
16811
|
+
- target
|
|
16504
16812
|
- level
|
|
16505
16813
|
- space
|
|
16506
|
-
|
|
16814
|
+
InviteLinkToOrganization:
|
|
16507
16815
|
type: object
|
|
16816
|
+
description: An invite link to an organization
|
|
16508
16817
|
properties:
|
|
16509
|
-
|
|
16510
|
-
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16511
|
-
description: The level of the member in the target collection
|
|
16512
|
-
collection:
|
|
16818
|
+
object:
|
|
16513
16819
|
type: string
|
|
16514
|
-
description:
|
|
16820
|
+
description: Type of Object, always equals to "invite"
|
|
16821
|
+
enum:
|
|
16822
|
+
- invite
|
|
16823
|
+
id:
|
|
16824
|
+
type: string
|
|
16825
|
+
description: Unique identifier for the invite link to the organization
|
|
16826
|
+
role:
|
|
16827
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16828
|
+
description: The role of the member in the organization
|
|
16515
16829
|
required:
|
|
16516
|
-
-
|
|
16517
|
-
-
|
|
16518
|
-
|
|
16519
|
-
|
|
16520
|
-
- $ref: "#/components/schemas/CreateInviteToOrganization"
|
|
16521
|
-
- $ref: "#/components/schemas/CreateInviteToSpace"
|
|
16522
|
-
- $ref: "#/components/schemas/CreateInviteToCollection"
|
|
16523
|
-
InviteToOrganization:
|
|
16830
|
+
- object
|
|
16831
|
+
- id
|
|
16832
|
+
- role
|
|
16833
|
+
CreateInviteToOrganization:
|
|
16524
16834
|
type: object
|
|
16525
16835
|
properties:
|
|
16526
16836
|
role:
|
|
@@ -16528,49 +16838,42 @@ components:
|
|
|
16528
16838
|
description: The role of the member in the organization
|
|
16529
16839
|
required:
|
|
16530
16840
|
- role
|
|
16531
|
-
|
|
16841
|
+
CreateInviteToSpace:
|
|
16532
16842
|
type: object
|
|
16533
16843
|
properties:
|
|
16534
16844
|
level:
|
|
16535
16845
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16536
16846
|
description: The level of the member in the target space
|
|
16537
16847
|
space:
|
|
16538
|
-
|
|
16539
|
-
description: The space the member has been invited to
|
|
16848
|
+
type: string
|
|
16849
|
+
description: The ID of space the member has been invited to
|
|
16540
16850
|
required:
|
|
16541
16851
|
- level
|
|
16542
16852
|
- space
|
|
16543
|
-
|
|
16853
|
+
CreateInviteToCollection:
|
|
16544
16854
|
type: object
|
|
16545
16855
|
properties:
|
|
16546
16856
|
level:
|
|
16547
16857
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16548
16858
|
description: The level of the member in the target collection
|
|
16549
16859
|
collection:
|
|
16550
|
-
|
|
16551
|
-
description: The collection the member has been invited to
|
|
16860
|
+
type: string
|
|
16861
|
+
description: The ID of collection the member has been invited to
|
|
16552
16862
|
required:
|
|
16553
16863
|
- level
|
|
16554
16864
|
- collection
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
required:
|
|
16568
|
-
- object
|
|
16569
|
-
- id
|
|
16570
|
-
- oneOf:
|
|
16571
|
-
- $ref: "#/components/schemas/InviteToOrganization"
|
|
16572
|
-
- $ref: "#/components/schemas/InviteToSpace"
|
|
16573
|
-
- $ref: "#/components/schemas/InviteToCollection"
|
|
16865
|
+
CreateOrganizationInvite:
|
|
16866
|
+
oneOf:
|
|
16867
|
+
- $ref: "#/components/schemas/CreateInviteToOrganization"
|
|
16868
|
+
- $ref: "#/components/schemas/CreateInviteToSpace"
|
|
16869
|
+
- $ref: "#/components/schemas/CreateInviteToCollection"
|
|
16870
|
+
OrganizationInviteLink:
|
|
16871
|
+
type: object
|
|
16872
|
+
description: An invite link created in an organization
|
|
16873
|
+
oneOf:
|
|
16874
|
+
- $ref: "#/components/schemas/InviteLinkToOrganization"
|
|
16875
|
+
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
16876
|
+
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
16574
16877
|
BillingPortal:
|
|
16575
16878
|
type: object
|
|
16576
16879
|
properties:
|
|
@@ -18301,6 +18604,55 @@ components:
|
|
|
18301
18604
|
description: ID of the organization owning this site
|
|
18302
18605
|
required:
|
|
18303
18606
|
- organization
|
|
18607
|
+
PublishedSiteContent:
|
|
18608
|
+
type: object
|
|
18609
|
+
title: Site Content
|
|
18610
|
+
properties:
|
|
18611
|
+
site:
|
|
18612
|
+
type: string
|
|
18613
|
+
description: ID of the site matching.
|
|
18614
|
+
siteSection:
|
|
18615
|
+
type: string
|
|
18616
|
+
description: ID of the site-section matching.
|
|
18617
|
+
siteSpace:
|
|
18618
|
+
type: string
|
|
18619
|
+
description: ID of the site-space matching.
|
|
18620
|
+
space:
|
|
18621
|
+
type: string
|
|
18622
|
+
description: ID of the space matching.
|
|
18623
|
+
changeRequest:
|
|
18624
|
+
type: string
|
|
18625
|
+
description: Identifier of the change request being previewed in this URL.
|
|
18626
|
+
revision:
|
|
18627
|
+
type: string
|
|
18628
|
+
description: Identifier of the revision being previewed in this URL.
|
|
18629
|
+
pathname:
|
|
18630
|
+
type: string
|
|
18631
|
+
description: Path of the content relative to the space
|
|
18632
|
+
basePath:
|
|
18633
|
+
type: string
|
|
18634
|
+
description: Prefix of the path in the URL dedicated to the space
|
|
18635
|
+
apiToken:
|
|
18636
|
+
type: string
|
|
18637
|
+
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
18638
|
+
organization:
|
|
18639
|
+
type: string
|
|
18640
|
+
description: ID of the organization.
|
|
18641
|
+
shareKey:
|
|
18642
|
+
type: string
|
|
18643
|
+
description: Share link key of the site in case the site was published with share-links.
|
|
18644
|
+
complete:
|
|
18645
|
+
type: boolean
|
|
18646
|
+
description: Whether the resolved site URL is complete and at it's terminal point, meaning no more site path segments can be further expected before any page path segments.
|
|
18647
|
+
required:
|
|
18648
|
+
- site
|
|
18649
|
+
- siteSpace
|
|
18650
|
+
- space
|
|
18651
|
+
- pathname
|
|
18652
|
+
- basePath
|
|
18653
|
+
- apiToken
|
|
18654
|
+
- organization
|
|
18655
|
+
- complete
|
|
18304
18656
|
PublishedSiteContentLookup:
|
|
18305
18657
|
oneOf:
|
|
18306
18658
|
- type: object
|
|
@@ -18318,51 +18670,7 @@ components:
|
|
|
18318
18670
|
required:
|
|
18319
18671
|
- target
|
|
18320
18672
|
- redirect
|
|
18321
|
-
-
|
|
18322
|
-
title: Content
|
|
18323
|
-
properties:
|
|
18324
|
-
site:
|
|
18325
|
-
type: string
|
|
18326
|
-
description: ID of the site matching.
|
|
18327
|
-
siteSpace:
|
|
18328
|
-
type: string
|
|
18329
|
-
description: ID of the site-space matching.
|
|
18330
|
-
space:
|
|
18331
|
-
type: string
|
|
18332
|
-
description: ID of the space matching.
|
|
18333
|
-
changeRequest:
|
|
18334
|
-
type: string
|
|
18335
|
-
description: Identifier of the change request being previewed in this URL.
|
|
18336
|
-
revision:
|
|
18337
|
-
type: string
|
|
18338
|
-
description: Identifier of the revision being previewed in this URL.
|
|
18339
|
-
pathname:
|
|
18340
|
-
type: string
|
|
18341
|
-
description: Path of the content relative to the space
|
|
18342
|
-
basePath:
|
|
18343
|
-
type: string
|
|
18344
|
-
description: Prefix of the path in the URL dedicated to the space
|
|
18345
|
-
apiToken:
|
|
18346
|
-
type: string
|
|
18347
|
-
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
18348
|
-
organization:
|
|
18349
|
-
type: string
|
|
18350
|
-
description: ID of the organization.
|
|
18351
|
-
shareKey:
|
|
18352
|
-
type: string
|
|
18353
|
-
description: Share link key of the site in case the site was published with share-links.
|
|
18354
|
-
complete:
|
|
18355
|
-
type: boolean
|
|
18356
|
-
description: Whether the resolved site URL is complete and at it's terminal point, meaning no more site path segments can be further expected before any page path segments.
|
|
18357
|
-
required:
|
|
18358
|
-
- site
|
|
18359
|
-
- siteSpace
|
|
18360
|
-
- space
|
|
18361
|
-
- pathname
|
|
18362
|
-
- basePath
|
|
18363
|
-
- apiToken
|
|
18364
|
-
- organization
|
|
18365
|
-
- complete
|
|
18673
|
+
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
18366
18674
|
UpdateContentPublishingAuth:
|
|
18367
18675
|
type: object
|
|
18368
18676
|
properties:
|
|
@@ -18432,6 +18740,7 @@ components:
|
|
|
18432
18740
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
18433
18741
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
18434
18742
|
- $ref: "#/components/schemas/DocumentBlockSyncedBlock"
|
|
18743
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
18435
18744
|
InputPageBase:
|
|
18436
18745
|
allOf:
|
|
18437
18746
|
- type: object
|
|
@@ -19007,6 +19316,18 @@ components:
|
|
|
19007
19316
|
required:
|
|
19008
19317
|
- channel
|
|
19009
19318
|
- organization
|
|
19319
|
+
OrganizationInviteLinksChannel:
|
|
19320
|
+
type: object
|
|
19321
|
+
properties:
|
|
19322
|
+
channel:
|
|
19323
|
+
type: string
|
|
19324
|
+
enum:
|
|
19325
|
+
- organization-link-invites
|
|
19326
|
+
organization:
|
|
19327
|
+
type: string
|
|
19328
|
+
required:
|
|
19329
|
+
- channel
|
|
19330
|
+
- organization
|
|
19010
19331
|
OrganizationMembersChannel:
|
|
19011
19332
|
type: object
|
|
19012
19333
|
properties:
|
|
@@ -19562,6 +19883,7 @@ components:
|
|
|
19562
19883
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
19563
19884
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
19564
19885
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
19886
|
+
- $ref: "#/components/schemas/OrganizationInviteLinksChannel"
|
|
19565
19887
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
19566
19888
|
- $ref: "#/components/schemas/OrganizationMemberChannel"
|
|
19567
19889
|
- $ref: "#/components/schemas/OrganizationSAMLChannel"
|