@gitbook/api 0.77.0 → 0.79.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 +55 -142
- package/dist/index.cjs +1 -65
- package/dist/index.js +1 -65
- package/package.json +1 -1
- package/spec/openapi.json +179 -511
- package/spec/openapi.yaml +92 -264
package/spec/openapi.json
CHANGED
|
@@ -4998,6 +4998,7 @@
|
|
|
4998
4998
|
},
|
|
4999
4999
|
"/spaces/{spaceId}/publishing/customization": {
|
|
5000
5000
|
"get": {
|
|
5001
|
+
"deprecated": true,
|
|
5001
5002
|
"operationId": "getSpacePublishingCustomizationById",
|
|
5002
5003
|
"summary": "Get the publishing customization configuration for a space.",
|
|
5003
5004
|
"tags": [
|
|
@@ -5033,6 +5034,7 @@
|
|
|
5033
5034
|
}
|
|
5034
5035
|
},
|
|
5035
5036
|
"put": {
|
|
5037
|
+
"deprecated": true,
|
|
5036
5038
|
"operationId": "updateSpacePublishingCustomizationById",
|
|
5037
5039
|
"summary": "Update the publishing customization configuration for a space.",
|
|
5038
5040
|
"tags": [
|
|
@@ -5448,141 +5450,6 @@
|
|
|
5448
5450
|
}
|
|
5449
5451
|
}
|
|
5450
5452
|
},
|
|
5451
|
-
"/spaces/{spaceId}/share-links": {
|
|
5452
|
-
"post": {
|
|
5453
|
-
"operationId": "createSpaceShareLink",
|
|
5454
|
-
"summary": "Creates a new space share link",
|
|
5455
|
-
"tags": [
|
|
5456
|
-
"spaces"
|
|
5457
|
-
],
|
|
5458
|
-
"security": [
|
|
5459
|
-
{
|
|
5460
|
-
"user": []
|
|
5461
|
-
}
|
|
5462
|
-
],
|
|
5463
|
-
"parameters": [
|
|
5464
|
-
{
|
|
5465
|
-
"$ref": "#/components/parameters/spaceId"
|
|
5466
|
-
}
|
|
5467
|
-
],
|
|
5468
|
-
"requestBody": {
|
|
5469
|
-
"content": {
|
|
5470
|
-
"application/json": {
|
|
5471
|
-
"schema": {
|
|
5472
|
-
"type": "object",
|
|
5473
|
-
"properties": {
|
|
5474
|
-
"name": {
|
|
5475
|
-
"$ref": "#/components/schemas/ShareLinkName"
|
|
5476
|
-
}
|
|
5477
|
-
},
|
|
5478
|
-
"required": [
|
|
5479
|
-
"name"
|
|
5480
|
-
]
|
|
5481
|
-
}
|
|
5482
|
-
}
|
|
5483
|
-
}
|
|
5484
|
-
},
|
|
5485
|
-
"responses": {
|
|
5486
|
-
"201": {
|
|
5487
|
-
"description": "The space share link has been created",
|
|
5488
|
-
"content": {
|
|
5489
|
-
"application/json": {
|
|
5490
|
-
"schema": {
|
|
5491
|
-
"$ref": "#/components/schemas/ShareLink"
|
|
5492
|
-
}
|
|
5493
|
-
}
|
|
5494
|
-
}
|
|
5495
|
-
},
|
|
5496
|
-
"default": {
|
|
5497
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
5498
|
-
}
|
|
5499
|
-
}
|
|
5500
|
-
}
|
|
5501
|
-
},
|
|
5502
|
-
"/spaces/{spaceId}/share-links/{shareLinkId}": {
|
|
5503
|
-
"patch": {
|
|
5504
|
-
"operationId": "updateSpaceShareLinkById",
|
|
5505
|
-
"summary": "Update the details of a space share link",
|
|
5506
|
-
"tags": [
|
|
5507
|
-
"spaces"
|
|
5508
|
-
],
|
|
5509
|
-
"security": [
|
|
5510
|
-
{
|
|
5511
|
-
"user": []
|
|
5512
|
-
}
|
|
5513
|
-
],
|
|
5514
|
-
"parameters": [
|
|
5515
|
-
{
|
|
5516
|
-
"$ref": "#/components/parameters/spaceId"
|
|
5517
|
-
},
|
|
5518
|
-
{
|
|
5519
|
-
"$ref": "#/components/parameters/shareLinkId"
|
|
5520
|
-
}
|
|
5521
|
-
],
|
|
5522
|
-
"requestBody": {
|
|
5523
|
-
"required": true,
|
|
5524
|
-
"content": {
|
|
5525
|
-
"application/json": {
|
|
5526
|
-
"schema": {
|
|
5527
|
-
"type": "object",
|
|
5528
|
-
"minProperties": 1,
|
|
5529
|
-
"properties": {
|
|
5530
|
-
"active": {
|
|
5531
|
-
"type": "boolean"
|
|
5532
|
-
},
|
|
5533
|
-
"name": {
|
|
5534
|
-
"$ref": "#/components/schemas/ShareLinkName"
|
|
5535
|
-
}
|
|
5536
|
-
}
|
|
5537
|
-
}
|
|
5538
|
-
}
|
|
5539
|
-
}
|
|
5540
|
-
},
|
|
5541
|
-
"responses": {
|
|
5542
|
-
"200": {
|
|
5543
|
-
"description": "The space share link has been updated",
|
|
5544
|
-
"content": {
|
|
5545
|
-
"application/json": {
|
|
5546
|
-
"schema": {
|
|
5547
|
-
"$ref": "#/components/schemas/ShareLink"
|
|
5548
|
-
}
|
|
5549
|
-
}
|
|
5550
|
-
}
|
|
5551
|
-
},
|
|
5552
|
-
"default": {
|
|
5553
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
5554
|
-
}
|
|
5555
|
-
}
|
|
5556
|
-
},
|
|
5557
|
-
"delete": {
|
|
5558
|
-
"operationId": "deleteSpaceShareLinkById",
|
|
5559
|
-
"summary": "Deletes a space share link",
|
|
5560
|
-
"tags": [
|
|
5561
|
-
"spaces"
|
|
5562
|
-
],
|
|
5563
|
-
"security": [
|
|
5564
|
-
{
|
|
5565
|
-
"user": []
|
|
5566
|
-
}
|
|
5567
|
-
],
|
|
5568
|
-
"parameters": [
|
|
5569
|
-
{
|
|
5570
|
-
"$ref": "#/components/parameters/spaceId"
|
|
5571
|
-
},
|
|
5572
|
-
{
|
|
5573
|
-
"$ref": "#/components/parameters/shareLinkId"
|
|
5574
|
-
}
|
|
5575
|
-
],
|
|
5576
|
-
"responses": {
|
|
5577
|
-
"205": {
|
|
5578
|
-
"description": "Space share link has been deleted"
|
|
5579
|
-
},
|
|
5580
|
-
"default": {
|
|
5581
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
5582
|
-
}
|
|
5583
|
-
}
|
|
5584
|
-
}
|
|
5585
|
-
},
|
|
5586
5453
|
"/spaces/{spaceId}/links": {
|
|
5587
5454
|
"get": {
|
|
5588
5455
|
"operationId": "listSpaceLinks",
|
|
@@ -5950,276 +5817,23 @@
|
|
|
5950
5817
|
"description": "Transfer would not result in any update",
|
|
5951
5818
|
"$ref": "#/components/responses/ConflictError"
|
|
5952
5819
|
},
|
|
5953
|
-
"412": {
|
|
5954
|
-
"description": "The collection cannot be moved.",
|
|
5955
|
-
"$ref": "#/components/responses/PreconditionFailedError"
|
|
5956
|
-
},
|
|
5957
|
-
"default": {
|
|
5958
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
5959
|
-
}
|
|
5960
|
-
}
|
|
5961
|
-
}
|
|
5962
|
-
},
|
|
5963
|
-
"/collections/{collectionId}/permissions/aggregate": {
|
|
5964
|
-
"get": {
|
|
5965
|
-
"operationId": "listPermissionsAggregateInCollection",
|
|
5966
|
-
"summary": "List permissions for all users in a collection.",
|
|
5967
|
-
"tags": [
|
|
5968
|
-
"permissions",
|
|
5969
|
-
"spaces"
|
|
5970
|
-
],
|
|
5971
|
-
"security": [
|
|
5972
|
-
{
|
|
5973
|
-
"user": []
|
|
5974
|
-
}
|
|
5975
|
-
],
|
|
5976
|
-
"parameters": [
|
|
5977
|
-
{
|
|
5978
|
-
"$ref": "#/components/parameters/collectionId"
|
|
5979
|
-
},
|
|
5980
|
-
{
|
|
5981
|
-
"$ref": "#/components/parameters/listPage"
|
|
5982
|
-
},
|
|
5983
|
-
{
|
|
5984
|
-
"$ref": "#/components/parameters/listLimit"
|
|
5985
|
-
},
|
|
5986
|
-
{
|
|
5987
|
-
"name": "role",
|
|
5988
|
-
"in": "query",
|
|
5989
|
-
"description": "If defined, only members with this role will be returned.",
|
|
5990
|
-
"schema": {
|
|
5991
|
-
"$ref": "#/components/schemas/MemberRole"
|
|
5992
|
-
}
|
|
5993
|
-
}
|
|
5994
|
-
],
|
|
5995
|
-
"responses": {
|
|
5996
|
-
"200": {
|
|
5997
|
-
"description": "Listing of users who can access the collections.",
|
|
5998
|
-
"content": {
|
|
5999
|
-
"application/json": {
|
|
6000
|
-
"schema": {
|
|
6001
|
-
"allOf": [
|
|
6002
|
-
{
|
|
6003
|
-
"$ref": "#/components/schemas/List"
|
|
6004
|
-
},
|
|
6005
|
-
{
|
|
6006
|
-
"type": "object",
|
|
6007
|
-
"required": [
|
|
6008
|
-
"items"
|
|
6009
|
-
],
|
|
6010
|
-
"properties": {
|
|
6011
|
-
"items": {
|
|
6012
|
-
"type": "array",
|
|
6013
|
-
"items": {
|
|
6014
|
-
"$ref": "#/components/schemas/UserContentPermission"
|
|
6015
|
-
}
|
|
6016
|
-
}
|
|
6017
|
-
}
|
|
6018
|
-
}
|
|
6019
|
-
]
|
|
6020
|
-
}
|
|
6021
|
-
}
|
|
6022
|
-
}
|
|
6023
|
-
},
|
|
6024
|
-
"default": {
|
|
6025
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
6026
|
-
}
|
|
6027
|
-
}
|
|
6028
|
-
}
|
|
6029
|
-
},
|
|
6030
|
-
"/collections/{collectionId}/publishing/customization": {
|
|
6031
|
-
"get": {
|
|
6032
|
-
"operationId": "getCollectionPublishingCustomizationById",
|
|
6033
|
-
"summary": "Get the publishing customization configuration for a collection.",
|
|
6034
|
-
"tags": [
|
|
6035
|
-
"collections"
|
|
6036
|
-
],
|
|
6037
|
-
"security": [
|
|
6038
|
-
{
|
|
6039
|
-
"user": []
|
|
6040
|
-
}
|
|
6041
|
-
],
|
|
6042
|
-
"parameters": [
|
|
6043
|
-
{
|
|
6044
|
-
"$ref": "#/components/parameters/collectionId"
|
|
6045
|
-
}
|
|
6046
|
-
],
|
|
6047
|
-
"responses": {
|
|
6048
|
-
"200": {
|
|
6049
|
-
"description": "OK",
|
|
6050
|
-
"content": {
|
|
6051
|
-
"application/json": {
|
|
6052
|
-
"schema": {
|
|
6053
|
-
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
6054
|
-
}
|
|
6055
|
-
}
|
|
6056
|
-
}
|
|
6057
|
-
},
|
|
6058
|
-
"400": {
|
|
6059
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
6060
|
-
},
|
|
6061
|
-
"default": {
|
|
6062
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
6063
|
-
}
|
|
6064
|
-
}
|
|
6065
|
-
},
|
|
6066
|
-
"put": {
|
|
6067
|
-
"operationId": "updateCollectionPublishingCustomizationById",
|
|
6068
|
-
"summary": "Update the publishing customization configuration for a collection.",
|
|
6069
|
-
"tags": [
|
|
6070
|
-
"collections"
|
|
6071
|
-
],
|
|
6072
|
-
"security": [
|
|
6073
|
-
{
|
|
6074
|
-
"user": []
|
|
6075
|
-
}
|
|
6076
|
-
],
|
|
6077
|
-
"parameters": [
|
|
6078
|
-
{
|
|
6079
|
-
"$ref": "#/components/parameters/collectionId"
|
|
6080
|
-
}
|
|
6081
|
-
],
|
|
6082
|
-
"requestBody": {
|
|
6083
|
-
"required": true,
|
|
6084
|
-
"content": {
|
|
6085
|
-
"application/json": {
|
|
6086
|
-
"schema": {
|
|
6087
|
-
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
6088
|
-
}
|
|
6089
|
-
}
|
|
6090
|
-
}
|
|
6091
|
-
},
|
|
6092
|
-
"responses": {
|
|
6093
|
-
"200": {
|
|
6094
|
-
"description": "OK",
|
|
6095
|
-
"content": {
|
|
6096
|
-
"application/json": {
|
|
6097
|
-
"schema": {
|
|
6098
|
-
"$ref": "#/components/schemas/CustomizationCollectionSettings"
|
|
6099
|
-
}
|
|
6100
|
-
}
|
|
6101
|
-
}
|
|
6102
|
-
},
|
|
6103
|
-
"400": {
|
|
6104
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
6105
|
-
},
|
|
6106
|
-
"default": {
|
|
6107
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
6108
|
-
}
|
|
6109
|
-
}
|
|
6110
|
-
}
|
|
6111
|
-
},
|
|
6112
|
-
"/collections/{collectionId}/share-links": {
|
|
6113
|
-
"post": {
|
|
6114
|
-
"operationId": "createCollectionShareLink",
|
|
6115
|
-
"summary": "Creates a new collection share link",
|
|
6116
|
-
"tags": [
|
|
6117
|
-
"collections"
|
|
6118
|
-
],
|
|
6119
|
-
"security": [
|
|
6120
|
-
{
|
|
6121
|
-
"user": []
|
|
6122
|
-
}
|
|
6123
|
-
],
|
|
6124
|
-
"parameters": [
|
|
6125
|
-
{
|
|
6126
|
-
"$ref": "#/components/parameters/collectionId"
|
|
6127
|
-
}
|
|
6128
|
-
],
|
|
6129
|
-
"requestBody": {
|
|
6130
|
-
"content": {
|
|
6131
|
-
"application/json": {
|
|
6132
|
-
"schema": {
|
|
6133
|
-
"type": "object",
|
|
6134
|
-
"properties": {
|
|
6135
|
-
"name": {
|
|
6136
|
-
"$ref": "#/components/schemas/ShareLinkName"
|
|
6137
|
-
}
|
|
6138
|
-
},
|
|
6139
|
-
"required": [
|
|
6140
|
-
"name"
|
|
6141
|
-
]
|
|
6142
|
-
}
|
|
6143
|
-
}
|
|
6144
|
-
}
|
|
6145
|
-
},
|
|
6146
|
-
"responses": {
|
|
6147
|
-
"201": {
|
|
6148
|
-
"description": "The collection share link has been created",
|
|
6149
|
-
"content": {
|
|
6150
|
-
"application/json": {
|
|
6151
|
-
"schema": {
|
|
6152
|
-
"$ref": "#/components/schemas/ShareLink"
|
|
6153
|
-
}
|
|
6154
|
-
}
|
|
6155
|
-
}
|
|
6156
|
-
},
|
|
6157
|
-
"default": {
|
|
6158
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
6159
|
-
}
|
|
6160
|
-
}
|
|
6161
|
-
}
|
|
6162
|
-
},
|
|
6163
|
-
"/collections/{collectionId}/share-links/{shareLinkId}": {
|
|
6164
|
-
"patch": {
|
|
6165
|
-
"operationId": "updateCollectionShareLinkById",
|
|
6166
|
-
"summary": "Update the details of a collection share link",
|
|
6167
|
-
"tags": [
|
|
6168
|
-
"collections"
|
|
6169
|
-
],
|
|
6170
|
-
"security": [
|
|
6171
|
-
{
|
|
6172
|
-
"user": []
|
|
6173
|
-
}
|
|
6174
|
-
],
|
|
6175
|
-
"parameters": [
|
|
6176
|
-
{
|
|
6177
|
-
"$ref": "#/components/parameters/collectionId"
|
|
6178
|
-
},
|
|
6179
|
-
{
|
|
6180
|
-
"$ref": "#/components/parameters/shareLinkId"
|
|
6181
|
-
}
|
|
6182
|
-
],
|
|
6183
|
-
"requestBody": {
|
|
6184
|
-
"required": true,
|
|
6185
|
-
"content": {
|
|
6186
|
-
"application/json": {
|
|
6187
|
-
"schema": {
|
|
6188
|
-
"type": "object",
|
|
6189
|
-
"minProperties": 1,
|
|
6190
|
-
"properties": {
|
|
6191
|
-
"active": {
|
|
6192
|
-
"type": "boolean"
|
|
6193
|
-
},
|
|
6194
|
-
"name": {
|
|
6195
|
-
"$ref": "#/components/schemas/ShareLinkName"
|
|
6196
|
-
}
|
|
6197
|
-
}
|
|
6198
|
-
}
|
|
6199
|
-
}
|
|
6200
|
-
}
|
|
6201
|
-
},
|
|
6202
|
-
"responses": {
|
|
6203
|
-
"200": {
|
|
6204
|
-
"description": "The collection share link has been updated",
|
|
6205
|
-
"content": {
|
|
6206
|
-
"application/json": {
|
|
6207
|
-
"schema": {
|
|
6208
|
-
"$ref": "#/components/schemas/ShareLink"
|
|
6209
|
-
}
|
|
6210
|
-
}
|
|
6211
|
-
}
|
|
5820
|
+
"412": {
|
|
5821
|
+
"description": "The collection cannot be moved.",
|
|
5822
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
6212
5823
|
},
|
|
6213
5824
|
"default": {
|
|
6214
5825
|
"$ref": "#/components/responses/UnexpectedError"
|
|
6215
5826
|
}
|
|
6216
5827
|
}
|
|
6217
|
-
}
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
5828
|
+
}
|
|
5829
|
+
},
|
|
5830
|
+
"/collections/{collectionId}/permissions/aggregate": {
|
|
5831
|
+
"get": {
|
|
5832
|
+
"operationId": "listPermissionsAggregateInCollection",
|
|
5833
|
+
"summary": "List permissions for all users in a collection.",
|
|
6221
5834
|
"tags": [
|
|
6222
|
-
"
|
|
5835
|
+
"permissions",
|
|
5836
|
+
"spaces"
|
|
6223
5837
|
],
|
|
6224
5838
|
"security": [
|
|
6225
5839
|
{
|
|
@@ -6231,12 +5845,48 @@
|
|
|
6231
5845
|
"$ref": "#/components/parameters/collectionId"
|
|
6232
5846
|
},
|
|
6233
5847
|
{
|
|
6234
|
-
"$ref": "#/components/parameters/
|
|
5848
|
+
"$ref": "#/components/parameters/listPage"
|
|
5849
|
+
},
|
|
5850
|
+
{
|
|
5851
|
+
"$ref": "#/components/parameters/listLimit"
|
|
5852
|
+
},
|
|
5853
|
+
{
|
|
5854
|
+
"name": "role",
|
|
5855
|
+
"in": "query",
|
|
5856
|
+
"description": "If defined, only members with this role will be returned.",
|
|
5857
|
+
"schema": {
|
|
5858
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
5859
|
+
}
|
|
6235
5860
|
}
|
|
6236
5861
|
],
|
|
6237
5862
|
"responses": {
|
|
6238
|
-
"
|
|
6239
|
-
"description": "
|
|
5863
|
+
"200": {
|
|
5864
|
+
"description": "Listing of users who can access the collections.",
|
|
5865
|
+
"content": {
|
|
5866
|
+
"application/json": {
|
|
5867
|
+
"schema": {
|
|
5868
|
+
"allOf": [
|
|
5869
|
+
{
|
|
5870
|
+
"$ref": "#/components/schemas/List"
|
|
5871
|
+
},
|
|
5872
|
+
{
|
|
5873
|
+
"type": "object",
|
|
5874
|
+
"required": [
|
|
5875
|
+
"items"
|
|
5876
|
+
],
|
|
5877
|
+
"properties": {
|
|
5878
|
+
"items": {
|
|
5879
|
+
"type": "array",
|
|
5880
|
+
"items": {
|
|
5881
|
+
"$ref": "#/components/schemas/UserContentPermission"
|
|
5882
|
+
}
|
|
5883
|
+
}
|
|
5884
|
+
}
|
|
5885
|
+
}
|
|
5886
|
+
]
|
|
5887
|
+
}
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
6240
5890
|
},
|
|
6241
5891
|
"default": {
|
|
6242
5892
|
"$ref": "#/components/responses/UnexpectedError"
|
|
@@ -13421,6 +13071,20 @@
|
|
|
13421
13071
|
"defaultSiteSpace": {
|
|
13422
13072
|
"type": "string",
|
|
13423
13073
|
"description": "ID of the site-space to be used as the default in this section."
|
|
13074
|
+
},
|
|
13075
|
+
"icon": {
|
|
13076
|
+
"oneOf": [
|
|
13077
|
+
{
|
|
13078
|
+
"$ref": "#/components/schemas/Icon"
|
|
13079
|
+
},
|
|
13080
|
+
{
|
|
13081
|
+
"type": "string",
|
|
13082
|
+
"nullable": true,
|
|
13083
|
+
"enum": [
|
|
13084
|
+
null
|
|
13085
|
+
]
|
|
13086
|
+
}
|
|
13087
|
+
]
|
|
13424
13088
|
}
|
|
13425
13089
|
}
|
|
13426
13090
|
}
|
|
@@ -15138,7 +14802,7 @@
|
|
|
15138
14802
|
},
|
|
15139
14803
|
"post": {
|
|
15140
14804
|
"operationId": "setupCustomHostname",
|
|
15141
|
-
"summary": "Setup a custom hostname on a
|
|
14805
|
+
"summary": "Setup a custom hostname on a site or an organization. Any previously set custom hostname will continue pointing to the target but marked as available for use with another target.",
|
|
15142
14806
|
"tags": [
|
|
15143
14807
|
"custom-hostnames"
|
|
15144
14808
|
],
|
|
@@ -15163,12 +14827,6 @@
|
|
|
15163
14827
|
{
|
|
15164
14828
|
"$ref": "#/components/schemas/OrganizationPointer"
|
|
15165
14829
|
},
|
|
15166
|
-
{
|
|
15167
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
15168
|
-
},
|
|
15169
|
-
{
|
|
15170
|
-
"$ref": "#/components/schemas/CollectionPointer"
|
|
15171
|
-
},
|
|
15172
14830
|
{
|
|
15173
14831
|
"$ref": "#/components/schemas/SitePointer"
|
|
15174
14832
|
}
|
|
@@ -15276,7 +14934,7 @@
|
|
|
15276
14934
|
"/custom-hostnames/{hostname}/test": {
|
|
15277
14935
|
"post": {
|
|
15278
14936
|
"operationId": "testCustomHostname",
|
|
15279
|
-
"summary": "Test if a custom hostname can be used for a
|
|
14937
|
+
"summary": "Test if a custom hostname can be used for a site or organization.",
|
|
15280
14938
|
"tags": [
|
|
15281
14939
|
"custom-hostnames"
|
|
15282
14940
|
],
|
|
@@ -15301,12 +14959,6 @@
|
|
|
15301
14959
|
{
|
|
15302
14960
|
"$ref": "#/components/schemas/OrganizationPointer"
|
|
15303
14961
|
},
|
|
15304
|
-
{
|
|
15305
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
15306
|
-
},
|
|
15307
|
-
{
|
|
15308
|
-
"$ref": "#/components/schemas/CollectionPointer"
|
|
15309
|
-
},
|
|
15310
14962
|
{
|
|
15311
14963
|
"$ref": "#/components/schemas/SitePointer"
|
|
15312
14964
|
}
|
|
@@ -15970,15 +15622,6 @@
|
|
|
15970
15622
|
"type": "string"
|
|
15971
15623
|
}
|
|
15972
15624
|
},
|
|
15973
|
-
"shareLinkId": {
|
|
15974
|
-
"name": "shareLinkId",
|
|
15975
|
-
"in": "path",
|
|
15976
|
-
"required": true,
|
|
15977
|
-
"description": "The unique id of the share link",
|
|
15978
|
-
"schema": {
|
|
15979
|
-
"type": "string"
|
|
15980
|
-
}
|
|
15981
|
-
},
|
|
15982
15625
|
"collectionId": {
|
|
15983
15626
|
"name": "collectionId",
|
|
15984
15627
|
"in": "path",
|
|
@@ -16096,6 +15739,15 @@
|
|
|
16096
15739
|
"format": "date-time"
|
|
16097
15740
|
}
|
|
16098
15741
|
},
|
|
15742
|
+
"shareLinkId": {
|
|
15743
|
+
"name": "shareLinkId",
|
|
15744
|
+
"in": "path",
|
|
15745
|
+
"required": true,
|
|
15746
|
+
"description": "The unique id of the share link",
|
|
15747
|
+
"schema": {
|
|
15748
|
+
"type": "string"
|
|
15749
|
+
}
|
|
15750
|
+
},
|
|
16099
15751
|
"siteCustomizationUnmasked": {
|
|
16100
15752
|
"name": "unmasked",
|
|
16101
15753
|
"in": "query",
|
|
@@ -19751,6 +19403,7 @@
|
|
|
19751
19403
|
"Emoji": {
|
|
19752
19404
|
"type": "string",
|
|
19753
19405
|
"maxLength": 50,
|
|
19406
|
+
"format": "emoji",
|
|
19754
19407
|
"description": "Unicode codepoint or character of the emoji",
|
|
19755
19408
|
"example": "🎉"
|
|
19756
19409
|
},
|
|
@@ -20018,6 +19671,24 @@
|
|
|
20018
19671
|
},
|
|
20019
19672
|
"defaultLevel": {
|
|
20020
19673
|
"$ref": "#/components/schemas/DefaultLevel"
|
|
19674
|
+
},
|
|
19675
|
+
"permissions": {
|
|
19676
|
+
"type": "object",
|
|
19677
|
+
"description": "The set of permissions for the space",
|
|
19678
|
+
"properties": {
|
|
19679
|
+
"admin": {
|
|
19680
|
+
"type": "boolean",
|
|
19681
|
+
"description": "Can the user edit the title, install integrations, and manage the space."
|
|
19682
|
+
},
|
|
19683
|
+
"edit": {
|
|
19684
|
+
"type": "boolean",
|
|
19685
|
+
"description": "Can the user edit the content of the space by creating a change request."
|
|
19686
|
+
}
|
|
19687
|
+
},
|
|
19688
|
+
"required": [
|
|
19689
|
+
"admin",
|
|
19690
|
+
"edit"
|
|
19691
|
+
]
|
|
20021
19692
|
}
|
|
20022
19693
|
},
|
|
20023
19694
|
"required": [
|
|
@@ -20032,7 +19703,8 @@
|
|
|
20032
19703
|
"createdAt",
|
|
20033
19704
|
"updatedAt",
|
|
20034
19705
|
"urls",
|
|
20035
|
-
"defaultLevel"
|
|
19706
|
+
"defaultLevel",
|
|
19707
|
+
"permissions"
|
|
20036
19708
|
]
|
|
20037
19709
|
},
|
|
20038
19710
|
"SpacePointer": {
|
|
@@ -20390,6 +20062,7 @@
|
|
|
20390
20062
|
"Icon": {
|
|
20391
20063
|
"type": "string",
|
|
20392
20064
|
"maxLength": 50,
|
|
20065
|
+
"format": "icon",
|
|
20393
20066
|
"description": "Name of the icon",
|
|
20394
20067
|
"example": "gear"
|
|
20395
20068
|
},
|
|
@@ -21602,12 +21275,6 @@
|
|
|
21602
21275
|
"OrganizationDefaultContent": {
|
|
21603
21276
|
"description": "The default content for the organization",
|
|
21604
21277
|
"oneOf": [
|
|
21605
|
-
{
|
|
21606
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
21607
|
-
},
|
|
21608
|
-
{
|
|
21609
|
-
"$ref": "#/components/schemas/CollectionPointer"
|
|
21610
|
-
},
|
|
21611
21278
|
{
|
|
21612
21279
|
"$ref": "#/components/schemas/SitePointer"
|
|
21613
21280
|
}
|
|
@@ -24673,78 +24340,6 @@
|
|
|
24673
24340
|
"urls"
|
|
24674
24341
|
]
|
|
24675
24342
|
},
|
|
24676
|
-
"ShareLinkName": {
|
|
24677
|
-
"type": "string",
|
|
24678
|
-
"description": "Name of the share link",
|
|
24679
|
-
"minLength": 0,
|
|
24680
|
-
"maxLength": 50
|
|
24681
|
-
},
|
|
24682
|
-
"ShareLink": {
|
|
24683
|
-
"type": "object",
|
|
24684
|
-
"properties": {
|
|
24685
|
-
"object": {
|
|
24686
|
-
"type": "string",
|
|
24687
|
-
"description": "Type of Object, always equals to \"share-link\"",
|
|
24688
|
-
"enum": [
|
|
24689
|
-
"share-link"
|
|
24690
|
-
]
|
|
24691
|
-
},
|
|
24692
|
-
"id": {
|
|
24693
|
-
"type": "string",
|
|
24694
|
-
"description": "Unique identifier for the share-link"
|
|
24695
|
-
},
|
|
24696
|
-
"createdAt": {
|
|
24697
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
24698
|
-
},
|
|
24699
|
-
"name": {
|
|
24700
|
-
"$ref": "#/components/schemas/ShareLinkName"
|
|
24701
|
-
},
|
|
24702
|
-
"active": {
|
|
24703
|
-
"type": "boolean"
|
|
24704
|
-
},
|
|
24705
|
-
"urls": {
|
|
24706
|
-
"type": "object",
|
|
24707
|
-
"description": "URLs associated with the object",
|
|
24708
|
-
"properties": {
|
|
24709
|
-
"published": {
|
|
24710
|
-
"type": "string",
|
|
24711
|
-
"description": "URL of the published version of the share-link.",
|
|
24712
|
-
"format": "uri"
|
|
24713
|
-
}
|
|
24714
|
-
}
|
|
24715
|
-
}
|
|
24716
|
-
},
|
|
24717
|
-
"required": [
|
|
24718
|
-
"object",
|
|
24719
|
-
"id",
|
|
24720
|
-
"createdAt",
|
|
24721
|
-
"urls"
|
|
24722
|
-
]
|
|
24723
|
-
},
|
|
24724
|
-
"CustomizationCollectionSettings": {
|
|
24725
|
-
"allOf": [
|
|
24726
|
-
{
|
|
24727
|
-
"$ref": "#/components/schemas/CustomizationSettings"
|
|
24728
|
-
},
|
|
24729
|
-
{
|
|
24730
|
-
"type": "object",
|
|
24731
|
-
"properties": {
|
|
24732
|
-
"collection": {
|
|
24733
|
-
"type": "object",
|
|
24734
|
-
"properties": {
|
|
24735
|
-
"defaultSpace": {
|
|
24736
|
-
"type": "string",
|
|
24737
|
-
"description": "ID of the space used by default in the collection"
|
|
24738
|
-
}
|
|
24739
|
-
}
|
|
24740
|
-
}
|
|
24741
|
-
},
|
|
24742
|
-
"required": [
|
|
24743
|
-
"collection"
|
|
24744
|
-
]
|
|
24745
|
-
}
|
|
24746
|
-
]
|
|
24747
|
-
},
|
|
24748
24343
|
"IntegrationSecrets": {
|
|
24749
24344
|
"type": "object",
|
|
24750
24345
|
"description": "Secrets stored on the integration and passed at runtime.",
|
|
@@ -27921,6 +27516,9 @@
|
|
|
27921
27516
|
"required": [
|
|
27922
27517
|
"location"
|
|
27923
27518
|
]
|
|
27519
|
+
},
|
|
27520
|
+
"icon": {
|
|
27521
|
+
"$ref": "#/components/schemas/Icon"
|
|
27924
27522
|
}
|
|
27925
27523
|
},
|
|
27926
27524
|
"required": [
|
|
@@ -29843,6 +29441,54 @@
|
|
|
29843
29441
|
"scripts"
|
|
29844
29442
|
]
|
|
29845
29443
|
},
|
|
29444
|
+
"ShareLinkName": {
|
|
29445
|
+
"type": "string",
|
|
29446
|
+
"description": "Name of the share link",
|
|
29447
|
+
"minLength": 0,
|
|
29448
|
+
"maxLength": 50
|
|
29449
|
+
},
|
|
29450
|
+
"ShareLink": {
|
|
29451
|
+
"type": "object",
|
|
29452
|
+
"properties": {
|
|
29453
|
+
"object": {
|
|
29454
|
+
"type": "string",
|
|
29455
|
+
"description": "Type of Object, always equals to \"share-link\"",
|
|
29456
|
+
"enum": [
|
|
29457
|
+
"share-link"
|
|
29458
|
+
]
|
|
29459
|
+
},
|
|
29460
|
+
"id": {
|
|
29461
|
+
"type": "string",
|
|
29462
|
+
"description": "Unique identifier for the share-link"
|
|
29463
|
+
},
|
|
29464
|
+
"createdAt": {
|
|
29465
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
29466
|
+
},
|
|
29467
|
+
"name": {
|
|
29468
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
29469
|
+
},
|
|
29470
|
+
"active": {
|
|
29471
|
+
"type": "boolean"
|
|
29472
|
+
},
|
|
29473
|
+
"urls": {
|
|
29474
|
+
"type": "object",
|
|
29475
|
+
"description": "URLs associated with the object",
|
|
29476
|
+
"properties": {
|
|
29477
|
+
"published": {
|
|
29478
|
+
"type": "string",
|
|
29479
|
+
"description": "URL of the published version of the share-link.",
|
|
29480
|
+
"format": "uri"
|
|
29481
|
+
}
|
|
29482
|
+
}
|
|
29483
|
+
}
|
|
29484
|
+
},
|
|
29485
|
+
"required": [
|
|
29486
|
+
"object",
|
|
29487
|
+
"id",
|
|
29488
|
+
"createdAt",
|
|
29489
|
+
"urls"
|
|
29490
|
+
]
|
|
29491
|
+
},
|
|
29846
29492
|
"SitePublishingAuth": {
|
|
29847
29493
|
"allOf": [
|
|
29848
29494
|
{
|
|
@@ -30167,6 +29813,24 @@
|
|
|
30167
29813
|
}
|
|
30168
29814
|
}
|
|
30169
29815
|
},
|
|
29816
|
+
"AnalyticsAsk": {
|
|
29817
|
+
"type": "object",
|
|
29818
|
+
"description": "Analytics entry for an ask.",
|
|
29819
|
+
"required": [
|
|
29820
|
+
"ask",
|
|
29821
|
+
"count"
|
|
29822
|
+
],
|
|
29823
|
+
"properties": {
|
|
29824
|
+
"ask": {
|
|
29825
|
+
"description": "The question that was asked.",
|
|
29826
|
+
"type": "string"
|
|
29827
|
+
},
|
|
29828
|
+
"count": {
|
|
29829
|
+
"description": "Number of times this question was asked.",
|
|
29830
|
+
"type": "number"
|
|
29831
|
+
}
|
|
29832
|
+
}
|
|
29833
|
+
},
|
|
30170
29834
|
"SiteRedirectSourcePath": {
|
|
30171
29835
|
"type": "string",
|
|
30172
29836
|
"description": "The source path to redirect from.",
|
|
@@ -30333,12 +29997,6 @@
|
|
|
30333
29997
|
{
|
|
30334
29998
|
"$ref": "#/components/schemas/OrganizationPointer"
|
|
30335
29999
|
},
|
|
30336
|
-
{
|
|
30337
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
30338
|
-
},
|
|
30339
|
-
{
|
|
30340
|
-
"$ref": "#/components/schemas/CollectionPointer"
|
|
30341
|
-
},
|
|
30342
30000
|
{
|
|
30343
30001
|
"$ref": "#/components/schemas/SitePointer"
|
|
30344
30002
|
}
|
|
@@ -30914,6 +30572,10 @@
|
|
|
30914
30572
|
"complete": {
|
|
30915
30573
|
"type": "boolean",
|
|
30916
30574
|
"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."
|
|
30575
|
+
},
|
|
30576
|
+
"contextId": {
|
|
30577
|
+
"type": "string",
|
|
30578
|
+
"description": "Context returned only for a visitor authentication session to track changes in the visitor session context that affect content rendering (used for cache invalidation)."
|
|
30917
30579
|
}
|
|
30918
30580
|
},
|
|
30919
30581
|
"required": [
|
|
@@ -31578,6 +31240,11 @@
|
|
|
31578
31240
|
},
|
|
31579
31241
|
"description": "List of spaces that the token is allowed to access."
|
|
31580
31242
|
},
|
|
31243
|
+
"claims": {
|
|
31244
|
+
"type": "object",
|
|
31245
|
+
"description": "Attributes or assertions that provide specific details about the visitor for which the token was generated.",
|
|
31246
|
+
"additionalProperties": true
|
|
31247
|
+
},
|
|
31581
31248
|
"rateLimitMultiplier": {
|
|
31582
31249
|
"type": "number",
|
|
31583
31250
|
"description": "Multiplier for the rate limit applied to the token."
|
|
@@ -31585,7 +31252,8 @@
|
|
|
31585
31252
|
},
|
|
31586
31253
|
"required": [
|
|
31587
31254
|
"organization",
|
|
31588
|
-
"spaces"
|
|
31255
|
+
"spaces",
|
|
31256
|
+
"claims"
|
|
31589
31257
|
]
|
|
31590
31258
|
},
|
|
31591
31259
|
"SpaceAPIToken": {
|