@gitbook/api 0.65.0 → 0.67.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 +199 -45
- package/dist/index.cjs +42 -5
- package/dist/index.js +41 -5
- package/package.json +1 -1
- package/spec/openapi.json +617 -168
- package/spec/openapi.yaml +402 -123
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
|
|
@@ -2219,6 +2250,40 @@ paths:
|
|
|
2219
2250
|
- url
|
|
2220
2251
|
default:
|
|
2221
2252
|
$ref: "#/components/responses/UnexpectedError"
|
|
2253
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/synced-blocks/{syncedBlockId}/content":
|
|
2254
|
+
get:
|
|
2255
|
+
operationId: getSyncedBlockContentInChangeRequest
|
|
2256
|
+
summary: Get the content of a synced block in the context of a change request.
|
|
2257
|
+
tags:
|
|
2258
|
+
- spaces
|
|
2259
|
+
security:
|
|
2260
|
+
- user: []
|
|
2261
|
+
parameters:
|
|
2262
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2263
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2264
|
+
- $ref: "#/components/parameters/syncedBlockId"
|
|
2265
|
+
responses:
|
|
2266
|
+
"200":
|
|
2267
|
+
description: OK
|
|
2268
|
+
content:
|
|
2269
|
+
application/json:
|
|
2270
|
+
schema:
|
|
2271
|
+
type: object
|
|
2272
|
+
properties:
|
|
2273
|
+
document:
|
|
2274
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
2275
|
+
files:
|
|
2276
|
+
type: array
|
|
2277
|
+
items:
|
|
2278
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
2279
|
+
required:
|
|
2280
|
+
- document
|
|
2281
|
+
- files
|
|
2282
|
+
"404":
|
|
2283
|
+
description: The space, change request, synced block or its content could not be found.
|
|
2284
|
+
$ref: "#/components/responses/NotFoundError"
|
|
2285
|
+
default:
|
|
2286
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
2222
2287
|
"/spaces/{spaceId}/revisions/{revisionId}":
|
|
2223
2288
|
get:
|
|
2224
2289
|
operationId: getRevisionById
|
|
@@ -4800,7 +4865,78 @@ paths:
|
|
|
4800
4865
|
properties: {}
|
|
4801
4866
|
default:
|
|
4802
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"
|
|
4803
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"
|
|
4804
4940
|
post:
|
|
4805
4941
|
operationId: createOrganizationInvite
|
|
4806
4942
|
summary: Create a new organization invite
|
|
@@ -4822,7 +4958,7 @@ paths:
|
|
|
4822
4958
|
content:
|
|
4823
4959
|
application/json:
|
|
4824
4960
|
schema:
|
|
4825
|
-
$ref: "#/components/schemas/
|
|
4961
|
+
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
4826
4962
|
default:
|
|
4827
4963
|
$ref: "#/components/responses/UnexpectedError"
|
|
4828
4964
|
"/orgs/{organizationId}/link-invites/{inviteId}":
|
|
@@ -4862,7 +4998,7 @@ paths:
|
|
|
4862
4998
|
content:
|
|
4863
4999
|
application/json:
|
|
4864
5000
|
schema:
|
|
4865
|
-
$ref: "#/components/schemas/
|
|
5001
|
+
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
4866
5002
|
default:
|
|
4867
5003
|
$ref: "#/components/responses/UnexpectedError"
|
|
4868
5004
|
delete:
|
|
@@ -5040,11 +5176,6 @@ paths:
|
|
|
5040
5176
|
- $ref: "#/components/parameters/organizationId"
|
|
5041
5177
|
- $ref: "#/components/parameters/listPage"
|
|
5042
5178
|
- $ref: "#/components/parameters/listLimit"
|
|
5043
|
-
- name: visibility
|
|
5044
|
-
in: query
|
|
5045
|
-
description: If defined, only content with this visibility will be returned.
|
|
5046
|
-
schema:
|
|
5047
|
-
$ref: "#/components/schemas/ContentVisibility"
|
|
5048
5179
|
responses:
|
|
5049
5180
|
"200":
|
|
5050
5181
|
description: OK
|
|
@@ -6403,7 +6534,7 @@ paths:
|
|
|
6403
6534
|
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/content":
|
|
6404
6535
|
get:
|
|
6405
6536
|
operationId: getSyncedBlockContent
|
|
6406
|
-
summary: Get a synced block
|
|
6537
|
+
summary: Get the content of a synced block.
|
|
6407
6538
|
tags:
|
|
6408
6539
|
- organizations
|
|
6409
6540
|
security:
|
|
@@ -6428,6 +6559,9 @@ paths:
|
|
|
6428
6559
|
required:
|
|
6429
6560
|
- document
|
|
6430
6561
|
- files
|
|
6562
|
+
"404":
|
|
6563
|
+
description: The synced block or its content could not be found.
|
|
6564
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6431
6565
|
default:
|
|
6432
6566
|
$ref: "#/components/responses/UnexpectedError"
|
|
6433
6567
|
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/backlinks":
|
|
@@ -8722,6 +8856,13 @@ components:
|
|
|
8722
8856
|
description: The unique id of the comment reply
|
|
8723
8857
|
schema:
|
|
8724
8858
|
type: string
|
|
8859
|
+
syncedBlockId:
|
|
8860
|
+
name: syncedBlockId
|
|
8861
|
+
in: path
|
|
8862
|
+
required: true
|
|
8863
|
+
description: The unique id of a synced block
|
|
8864
|
+
schema:
|
|
8865
|
+
type: string
|
|
8725
8866
|
revisionId:
|
|
8726
8867
|
name: revisionId
|
|
8727
8868
|
in: path
|
|
@@ -8841,13 +8982,6 @@ components:
|
|
|
8841
8982
|
schema:
|
|
8842
8983
|
type: string
|
|
8843
8984
|
format: date-time
|
|
8844
|
-
syncedBlockId:
|
|
8845
|
-
name: syncedBlockId
|
|
8846
|
-
in: path
|
|
8847
|
-
required: true
|
|
8848
|
-
description: The unique id of a synced block
|
|
8849
|
-
schema:
|
|
8850
|
-
type: string
|
|
8851
8985
|
siteCustomizationUnmasked:
|
|
8852
8986
|
name: unmasked
|
|
8853
8987
|
in: query
|
|
@@ -10574,12 +10708,12 @@ components:
|
|
|
10574
10708
|
- action
|
|
10575
10709
|
- returnValue
|
|
10576
10710
|
- type: object
|
|
10577
|
-
description: Action to
|
|
10711
|
+
description: Action to complete the current flow the user is in.
|
|
10578
10712
|
properties:
|
|
10579
10713
|
action:
|
|
10580
10714
|
type: string
|
|
10581
10715
|
enum:
|
|
10582
|
-
- "@ui.
|
|
10716
|
+
- "@ui.complete"
|
|
10583
10717
|
returnValue:
|
|
10584
10718
|
$ref: "#/components/schemas/PlainObject"
|
|
10585
10719
|
required:
|
|
@@ -13242,11 +13376,22 @@ components:
|
|
|
13242
13376
|
required:
|
|
13243
13377
|
- total
|
|
13244
13378
|
- broken
|
|
13379
|
+
ContentReferenceRelation:
|
|
13380
|
+
type: string
|
|
13381
|
+
enum:
|
|
13382
|
+
- reference
|
|
13383
|
+
- dependsOn
|
|
13384
|
+
description: |
|
|
13385
|
+
Indicator of the relationship with the content ref target.
|
|
13386
|
+
- `reference` - The content soft-references the ref target
|
|
13387
|
+
- `dependsOn` - The content depends on the ref target
|
|
13245
13388
|
ContentReferenceUsage:
|
|
13246
13389
|
type: object
|
|
13247
13390
|
properties:
|
|
13248
13391
|
status:
|
|
13249
13392
|
$ref: "#/components/schemas/ContentReferenceStatus"
|
|
13393
|
+
relation:
|
|
13394
|
+
$ref: "#/components/schemas/ContentReferenceRelation"
|
|
13250
13395
|
targetReference:
|
|
13251
13396
|
description: The reference target where a list of pages are pointing at
|
|
13252
13397
|
$ref: "#/components/schemas/ContentLocation"
|
|
@@ -13256,6 +13401,7 @@ components:
|
|
|
13256
13401
|
items:
|
|
13257
13402
|
$ref: "#/components/schemas/ContentLocation"
|
|
13258
13403
|
required:
|
|
13404
|
+
- relation
|
|
13259
13405
|
- status
|
|
13260
13406
|
- locationReferences
|
|
13261
13407
|
CreateChangeRequest:
|
|
@@ -13922,6 +14068,65 @@ components:
|
|
|
13922
14068
|
required:
|
|
13923
14069
|
- type
|
|
13924
14070
|
- customFields
|
|
14071
|
+
ChangedRevisionReusableContent:
|
|
14072
|
+
type: object
|
|
14073
|
+
properties:
|
|
14074
|
+
id:
|
|
14075
|
+
type: string
|
|
14076
|
+
title:
|
|
14077
|
+
type: string
|
|
14078
|
+
document:
|
|
14079
|
+
type: string
|
|
14080
|
+
required:
|
|
14081
|
+
- id
|
|
14082
|
+
- title
|
|
14083
|
+
RevisionSemanticChangeReusableContentCreated:
|
|
14084
|
+
type: object
|
|
14085
|
+
properties:
|
|
14086
|
+
type:
|
|
14087
|
+
type: string
|
|
14088
|
+
enum:
|
|
14089
|
+
- reusable_content_created
|
|
14090
|
+
reusableContent:
|
|
14091
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14092
|
+
required:
|
|
14093
|
+
- type
|
|
14094
|
+
- reusableContent
|
|
14095
|
+
RevisionSemanticChangeReusableContentDeleted:
|
|
14096
|
+
type: object
|
|
14097
|
+
properties:
|
|
14098
|
+
type:
|
|
14099
|
+
type: string
|
|
14100
|
+
enum:
|
|
14101
|
+
- reusable_content_deleted
|
|
14102
|
+
reusableContent:
|
|
14103
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14104
|
+
required:
|
|
14105
|
+
- type
|
|
14106
|
+
- reusableContent
|
|
14107
|
+
RevisionReusableContentChangeAttributes:
|
|
14108
|
+
type: object
|
|
14109
|
+
minProperties: 1
|
|
14110
|
+
properties:
|
|
14111
|
+
title:
|
|
14112
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14113
|
+
document:
|
|
14114
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14115
|
+
RevisionSemanticChangeReusableContentEdited:
|
|
14116
|
+
type: object
|
|
14117
|
+
properties:
|
|
14118
|
+
type:
|
|
14119
|
+
type: string
|
|
14120
|
+
enum:
|
|
14121
|
+
- reusable_content_edited
|
|
14122
|
+
reusableContent:
|
|
14123
|
+
$ref: "#/components/schemas/ChangedRevisionReusableContent"
|
|
14124
|
+
attributes:
|
|
14125
|
+
$ref: "#/components/schemas/RevisionReusableContentChangeAttributes"
|
|
14126
|
+
required:
|
|
14127
|
+
- type
|
|
14128
|
+
- reusableContent
|
|
14129
|
+
- attributes
|
|
13925
14130
|
RevisionSemanticChange:
|
|
13926
14131
|
oneOf:
|
|
13927
14132
|
- $ref: "#/components/schemas/RevisionSemanticChangePageCreated"
|
|
@@ -13932,6 +14137,9 @@ components:
|
|
|
13932
14137
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileEdited"
|
|
13933
14138
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileDeleted"
|
|
13934
14139
|
- $ref: "#/components/schemas/RevisionSemanticChangeCustomFieldsEdited"
|
|
14140
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
|
|
14141
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
|
|
14142
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
|
|
13935
14143
|
RevisionSemanticChanges:
|
|
13936
14144
|
type: object
|
|
13937
14145
|
properties:
|
|
@@ -15132,6 +15340,9 @@ components:
|
|
|
15132
15340
|
organizationId:
|
|
15133
15341
|
type: string
|
|
15134
15342
|
description: ID of the organization the content source installation configuration is in.
|
|
15343
|
+
spaceId:
|
|
15344
|
+
type: string
|
|
15345
|
+
description: Optional ID of the space the content source installation configuration is in.
|
|
15135
15346
|
required:
|
|
15136
15347
|
- type
|
|
15137
15348
|
- organizationId
|
|
@@ -16132,10 +16343,14 @@ components:
|
|
|
16132
16343
|
- $ref: "#/components/schemas/ContentKitConfiguration"
|
|
16133
16344
|
discriminator:
|
|
16134
16345
|
propertyName: type
|
|
16135
|
-
|
|
16346
|
+
ContentKitRenderOutputElement:
|
|
16136
16347
|
type: object
|
|
16137
|
-
description: Output of the
|
|
16348
|
+
description: Output of type element in the lifecycle of the component.
|
|
16138
16349
|
properties:
|
|
16350
|
+
type:
|
|
16351
|
+
type: string
|
|
16352
|
+
enum:
|
|
16353
|
+
- element
|
|
16139
16354
|
element:
|
|
16140
16355
|
$ref: "#/components/schemas/ContentKitRootElement"
|
|
16141
16356
|
state:
|
|
@@ -16146,6 +16361,24 @@ components:
|
|
|
16146
16361
|
- element
|
|
16147
16362
|
- state
|
|
16148
16363
|
- props
|
|
16364
|
+
ContentKitRenderOutputComplete:
|
|
16365
|
+
type: object
|
|
16366
|
+
description: Output of completed lifecycle of the component.
|
|
16367
|
+
properties:
|
|
16368
|
+
type:
|
|
16369
|
+
type: string
|
|
16370
|
+
enum:
|
|
16371
|
+
- complete
|
|
16372
|
+
returnValue:
|
|
16373
|
+
type: object
|
|
16374
|
+
required:
|
|
16375
|
+
- type
|
|
16376
|
+
ContentKitRenderOutput:
|
|
16377
|
+
type: object
|
|
16378
|
+
description: Output of the integration when rendering a UI.
|
|
16379
|
+
oneOf:
|
|
16380
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputElement"
|
|
16381
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputComplete"
|
|
16149
16382
|
RenderIntegrationUI:
|
|
16150
16383
|
type: object
|
|
16151
16384
|
properties:
|
|
@@ -16412,44 +16645,74 @@ components:
|
|
|
16412
16645
|
type: boolean
|
|
16413
16646
|
required:
|
|
16414
16647
|
- emails
|
|
16415
|
-
|
|
16648
|
+
InviteLinkToCollection:
|
|
16416
16649
|
type: object
|
|
16650
|
+
description: An invite link to a specific collection in an organization
|
|
16417
16651
|
properties:
|
|
16418
|
-
|
|
16652
|
+
object:
|
|
16653
|
+
type: string
|
|
16654
|
+
description: Type of Object, always equals to "invite"
|
|
16655
|
+
enum:
|
|
16656
|
+
- invite
|
|
16657
|
+
id:
|
|
16658
|
+
type: string
|
|
16659
|
+
description: Unique identifier for the invite link to the collection
|
|
16660
|
+
level:
|
|
16419
16661
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16420
|
-
description: The
|
|
16662
|
+
description: The level of the member in the target collection
|
|
16663
|
+
collection:
|
|
16664
|
+
$ref: "#/components/schemas/Collection"
|
|
16665
|
+
description: The collection the member has been invited to
|
|
16421
16666
|
required:
|
|
16422
|
-
-
|
|
16423
|
-
|
|
16667
|
+
- object
|
|
16668
|
+
- id
|
|
16669
|
+
- target
|
|
16670
|
+
- level
|
|
16671
|
+
- collection
|
|
16672
|
+
InviteLinkToSpace:
|
|
16424
16673
|
type: object
|
|
16674
|
+
description: An invite link to a specific space in an organization
|
|
16425
16675
|
properties:
|
|
16676
|
+
object:
|
|
16677
|
+
type: string
|
|
16678
|
+
description: Type of Object, always equals to "invite"
|
|
16679
|
+
enum:
|
|
16680
|
+
- invite
|
|
16681
|
+
id:
|
|
16682
|
+
type: string
|
|
16683
|
+
description: Unique identifier for the invite link to the space
|
|
16426
16684
|
level:
|
|
16427
16685
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16428
16686
|
description: The level of the member in the target space
|
|
16429
16687
|
space:
|
|
16430
|
-
|
|
16431
|
-
description: The
|
|
16688
|
+
$ref: "#/components/schemas/Space"
|
|
16689
|
+
description: The space the member has been invited to
|
|
16432
16690
|
required:
|
|
16691
|
+
- object
|
|
16692
|
+
- id
|
|
16693
|
+
- target
|
|
16433
16694
|
- level
|
|
16434
16695
|
- space
|
|
16435
|
-
|
|
16696
|
+
InviteLinkToOrganization:
|
|
16436
16697
|
type: object
|
|
16698
|
+
description: An invite link to an organization
|
|
16437
16699
|
properties:
|
|
16438
|
-
|
|
16439
|
-
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16440
|
-
description: The level of the member in the target collection
|
|
16441
|
-
collection:
|
|
16700
|
+
object:
|
|
16442
16701
|
type: string
|
|
16443
|
-
description:
|
|
16702
|
+
description: Type of Object, always equals to "invite"
|
|
16703
|
+
enum:
|
|
16704
|
+
- invite
|
|
16705
|
+
id:
|
|
16706
|
+
type: string
|
|
16707
|
+
description: Unique identifier for the invite link to the organization
|
|
16708
|
+
role:
|
|
16709
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16710
|
+
description: The role of the member in the organization
|
|
16444
16711
|
required:
|
|
16445
|
-
-
|
|
16446
|
-
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
- $ref: "#/components/schemas/CreateInviteToOrganization"
|
|
16450
|
-
- $ref: "#/components/schemas/CreateInviteToSpace"
|
|
16451
|
-
- $ref: "#/components/schemas/CreateInviteToCollection"
|
|
16452
|
-
InviteToOrganization:
|
|
16712
|
+
- object
|
|
16713
|
+
- id
|
|
16714
|
+
- role
|
|
16715
|
+
CreateInviteToOrganization:
|
|
16453
16716
|
type: object
|
|
16454
16717
|
properties:
|
|
16455
16718
|
role:
|
|
@@ -16457,49 +16720,42 @@ components:
|
|
|
16457
16720
|
description: The role of the member in the organization
|
|
16458
16721
|
required:
|
|
16459
16722
|
- role
|
|
16460
|
-
|
|
16723
|
+
CreateInviteToSpace:
|
|
16461
16724
|
type: object
|
|
16462
16725
|
properties:
|
|
16463
16726
|
level:
|
|
16464
16727
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16465
16728
|
description: The level of the member in the target space
|
|
16466
16729
|
space:
|
|
16467
|
-
|
|
16468
|
-
description: The space the member has been invited to
|
|
16730
|
+
type: string
|
|
16731
|
+
description: The ID of space the member has been invited to
|
|
16469
16732
|
required:
|
|
16470
16733
|
- level
|
|
16471
16734
|
- space
|
|
16472
|
-
|
|
16735
|
+
CreateInviteToCollection:
|
|
16473
16736
|
type: object
|
|
16474
16737
|
properties:
|
|
16475
16738
|
level:
|
|
16476
16739
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
16477
16740
|
description: The level of the member in the target collection
|
|
16478
16741
|
collection:
|
|
16479
|
-
|
|
16480
|
-
description: The collection the member has been invited to
|
|
16742
|
+
type: string
|
|
16743
|
+
description: The ID of collection the member has been invited to
|
|
16481
16744
|
required:
|
|
16482
16745
|
- level
|
|
16483
16746
|
- collection
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16494
|
-
|
|
16495
|
-
|
|
16496
|
-
required:
|
|
16497
|
-
- object
|
|
16498
|
-
- id
|
|
16499
|
-
- oneOf:
|
|
16500
|
-
- $ref: "#/components/schemas/InviteToOrganization"
|
|
16501
|
-
- $ref: "#/components/schemas/InviteToSpace"
|
|
16502
|
-
- $ref: "#/components/schemas/InviteToCollection"
|
|
16747
|
+
CreateOrganizationInvite:
|
|
16748
|
+
oneOf:
|
|
16749
|
+
- $ref: "#/components/schemas/CreateInviteToOrganization"
|
|
16750
|
+
- $ref: "#/components/schemas/CreateInviteToSpace"
|
|
16751
|
+
- $ref: "#/components/schemas/CreateInviteToCollection"
|
|
16752
|
+
OrganizationInviteLink:
|
|
16753
|
+
type: object
|
|
16754
|
+
description: An invite link created in an organization
|
|
16755
|
+
oneOf:
|
|
16756
|
+
- $ref: "#/components/schemas/InviteLinkToOrganization"
|
|
16757
|
+
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
16758
|
+
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
16503
16759
|
BillingPortal:
|
|
16504
16760
|
type: object
|
|
16505
16761
|
properties:
|
|
@@ -16833,11 +17089,15 @@ components:
|
|
|
16833
17089
|
ultimate:
|
|
16834
17090
|
description: Count of all ultimate sites
|
|
16835
17091
|
type: number
|
|
17092
|
+
sponsored:
|
|
17093
|
+
description: Count of all sponsored sites
|
|
17094
|
+
type: number
|
|
16836
17095
|
required:
|
|
16837
17096
|
- total
|
|
16838
17097
|
- basic
|
|
16839
17098
|
- premium
|
|
16840
17099
|
- ultimate
|
|
17100
|
+
- sponsored
|
|
16841
17101
|
OrganizationUsageTeams:
|
|
16842
17102
|
type: object
|
|
16843
17103
|
description: Team members usage metrics of an organization
|
|
@@ -17165,6 +17425,7 @@ components:
|
|
|
17165
17425
|
- basic
|
|
17166
17426
|
- premium
|
|
17167
17427
|
- ultimate
|
|
17428
|
+
- sponsored
|
|
17168
17429
|
- legacy-basic
|
|
17169
17430
|
- legacy-premium
|
|
17170
17431
|
SiteTitle:
|
|
@@ -18225,6 +18486,55 @@ components:
|
|
|
18225
18486
|
description: ID of the organization owning this site
|
|
18226
18487
|
required:
|
|
18227
18488
|
- organization
|
|
18489
|
+
PublishedSiteContent:
|
|
18490
|
+
type: object
|
|
18491
|
+
title: Site Content
|
|
18492
|
+
properties:
|
|
18493
|
+
site:
|
|
18494
|
+
type: string
|
|
18495
|
+
description: ID of the site matching.
|
|
18496
|
+
siteSection:
|
|
18497
|
+
type: string
|
|
18498
|
+
description: ID of the site-section matching.
|
|
18499
|
+
siteSpace:
|
|
18500
|
+
type: string
|
|
18501
|
+
description: ID of the site-space matching.
|
|
18502
|
+
space:
|
|
18503
|
+
type: string
|
|
18504
|
+
description: ID of the space matching.
|
|
18505
|
+
changeRequest:
|
|
18506
|
+
type: string
|
|
18507
|
+
description: Identifier of the change request being previewed in this URL.
|
|
18508
|
+
revision:
|
|
18509
|
+
type: string
|
|
18510
|
+
description: Identifier of the revision being previewed in this URL.
|
|
18511
|
+
pathname:
|
|
18512
|
+
type: string
|
|
18513
|
+
description: Path of the content relative to the space
|
|
18514
|
+
basePath:
|
|
18515
|
+
type: string
|
|
18516
|
+
description: Prefix of the path in the URL dedicated to the space
|
|
18517
|
+
apiToken:
|
|
18518
|
+
type: string
|
|
18519
|
+
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
18520
|
+
organization:
|
|
18521
|
+
type: string
|
|
18522
|
+
description: ID of the organization.
|
|
18523
|
+
shareKey:
|
|
18524
|
+
type: string
|
|
18525
|
+
description: Share link key of the site in case the site was published with share-links.
|
|
18526
|
+
complete:
|
|
18527
|
+
type: boolean
|
|
18528
|
+
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.
|
|
18529
|
+
required:
|
|
18530
|
+
- site
|
|
18531
|
+
- siteSpace
|
|
18532
|
+
- space
|
|
18533
|
+
- pathname
|
|
18534
|
+
- basePath
|
|
18535
|
+
- apiToken
|
|
18536
|
+
- organization
|
|
18537
|
+
- complete
|
|
18228
18538
|
PublishedSiteContentLookup:
|
|
18229
18539
|
oneOf:
|
|
18230
18540
|
- type: object
|
|
@@ -18242,51 +18552,7 @@ components:
|
|
|
18242
18552
|
required:
|
|
18243
18553
|
- target
|
|
18244
18554
|
- redirect
|
|
18245
|
-
-
|
|
18246
|
-
title: Content
|
|
18247
|
-
properties:
|
|
18248
|
-
site:
|
|
18249
|
-
type: string
|
|
18250
|
-
description: ID of the site matching.
|
|
18251
|
-
siteSpace:
|
|
18252
|
-
type: string
|
|
18253
|
-
description: ID of the site-space matching.
|
|
18254
|
-
space:
|
|
18255
|
-
type: string
|
|
18256
|
-
description: ID of the space matching.
|
|
18257
|
-
changeRequest:
|
|
18258
|
-
type: string
|
|
18259
|
-
description: Identifier of the change request being previewed in this URL.
|
|
18260
|
-
revision:
|
|
18261
|
-
type: string
|
|
18262
|
-
description: Identifier of the revision being previewed in this URL.
|
|
18263
|
-
pathname:
|
|
18264
|
-
type: string
|
|
18265
|
-
description: Path of the content relative to the space
|
|
18266
|
-
basePath:
|
|
18267
|
-
type: string
|
|
18268
|
-
description: Prefix of the path in the URL dedicated to the space
|
|
18269
|
-
apiToken:
|
|
18270
|
-
type: string
|
|
18271
|
-
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
18272
|
-
organization:
|
|
18273
|
-
type: string
|
|
18274
|
-
description: ID of the organization.
|
|
18275
|
-
shareKey:
|
|
18276
|
-
type: string
|
|
18277
|
-
description: Share link key of the site in case the site was published with share-links.
|
|
18278
|
-
complete:
|
|
18279
|
-
type: boolean
|
|
18280
|
-
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.
|
|
18281
|
-
required:
|
|
18282
|
-
- site
|
|
18283
|
-
- siteSpace
|
|
18284
|
-
- space
|
|
18285
|
-
- pathname
|
|
18286
|
-
- basePath
|
|
18287
|
-
- apiToken
|
|
18288
|
-
- organization
|
|
18289
|
-
- complete
|
|
18555
|
+
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
18290
18556
|
UpdateContentPublishingAuth:
|
|
18291
18557
|
type: object
|
|
18292
18558
|
properties:
|
|
@@ -18931,6 +19197,18 @@ components:
|
|
|
18931
19197
|
required:
|
|
18932
19198
|
- channel
|
|
18933
19199
|
- organization
|
|
19200
|
+
OrganizationInviteLinksChannel:
|
|
19201
|
+
type: object
|
|
19202
|
+
properties:
|
|
19203
|
+
channel:
|
|
19204
|
+
type: string
|
|
19205
|
+
enum:
|
|
19206
|
+
- organization-link-invites
|
|
19207
|
+
organization:
|
|
19208
|
+
type: string
|
|
19209
|
+
required:
|
|
19210
|
+
- channel
|
|
19211
|
+
- organization
|
|
18934
19212
|
OrganizationMembersChannel:
|
|
18935
19213
|
type: object
|
|
18936
19214
|
properties:
|
|
@@ -19486,6 +19764,7 @@ components:
|
|
|
19486
19764
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
19487
19765
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
19488
19766
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
19767
|
+
- $ref: "#/components/schemas/OrganizationInviteLinksChannel"
|
|
19489
19768
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
19490
19769
|
- $ref: "#/components/schemas/OrganizationMemberChannel"
|
|
19491
19770
|
- $ref: "#/components/schemas/OrganizationSAMLChannel"
|