@gitbook/api 0.25.0 → 0.27.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 +114 -52
- package/dist/index.cjs +23 -4
- package/dist/index.d.ts +9 -0
- package/dist/index.js +20 -2
- package/package.json +1 -1
- package/spec/openapi.json +243 -53
- package/spec/openapi.yaml +170 -49
package/spec/openapi.json
CHANGED
|
@@ -387,13 +387,13 @@
|
|
|
387
387
|
"type": "string",
|
|
388
388
|
"pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$"
|
|
389
389
|
},
|
|
390
|
-
"
|
|
390
|
+
"Timestamp": {
|
|
391
391
|
"type": "string",
|
|
392
|
-
"format": "date"
|
|
392
|
+
"format": "date-time"
|
|
393
393
|
},
|
|
394
394
|
"Emoji": {
|
|
395
395
|
"type": "string",
|
|
396
|
-
"maxLength":
|
|
396
|
+
"maxLength": 50,
|
|
397
397
|
"description": "Unicode codepoint or character of the emoji",
|
|
398
398
|
"example": "🎉"
|
|
399
399
|
},
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
"$ref": "#/components/schemas/User"
|
|
420
420
|
},
|
|
421
421
|
"reactedAt": {
|
|
422
|
-
"$ref": "#/components/schemas/
|
|
422
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
425
|
"required": [
|
|
@@ -687,6 +687,10 @@
|
|
|
687
687
|
"type": "string",
|
|
688
688
|
"description": "Path to a root directory for the project in the repository."
|
|
689
689
|
},
|
|
690
|
+
"timestamp": {
|
|
691
|
+
"description": "The timestamp of the event that triggered this import. It ensures that Git sync import and export operations are executed in the same order on GitBook and on the remote repository.\n",
|
|
692
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
693
|
+
},
|
|
690
694
|
"force": {
|
|
691
695
|
"type": "boolean"
|
|
692
696
|
},
|
|
@@ -735,6 +739,10 @@
|
|
|
735
739
|
"type": "string",
|
|
736
740
|
"description": "Path to a root directory for the project in the repository."
|
|
737
741
|
},
|
|
742
|
+
"timestamp": {
|
|
743
|
+
"description": "The timestamp of the event that triggered this export. It ensures that Git sync import and export operations are executed in the same order on GitBook and on the remote repository.\n",
|
|
744
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
745
|
+
},
|
|
738
746
|
"force": {
|
|
739
747
|
"type": "boolean"
|
|
740
748
|
},
|
|
@@ -996,7 +1004,7 @@
|
|
|
996
1004
|
"description": "The API token name."
|
|
997
1005
|
},
|
|
998
1006
|
"createdAt": {
|
|
999
|
-
"$ref": "#/components/schemas/
|
|
1007
|
+
"$ref": "#/components/schemas/Timestamp",
|
|
1000
1008
|
"description": "The API token creation date."
|
|
1001
1009
|
}
|
|
1002
1010
|
},
|
|
@@ -1063,7 +1071,7 @@
|
|
|
1063
1071
|
"description": "Contributor towards content.",
|
|
1064
1072
|
"properties": {
|
|
1065
1073
|
"updatedAt": {
|
|
1066
|
-
"$ref": "#/components/schemas/
|
|
1074
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1067
1075
|
},
|
|
1068
1076
|
"count": {
|
|
1069
1077
|
"type": "integer"
|
|
@@ -1210,11 +1218,11 @@
|
|
|
1210
1218
|
},
|
|
1211
1219
|
"postedAt": {
|
|
1212
1220
|
"description": "When the comment was posted.",
|
|
1213
|
-
"$ref": "#/components/schemas/
|
|
1221
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1214
1222
|
},
|
|
1215
1223
|
"editedAt": {
|
|
1216
1224
|
"description": "Date when the comment was edited, if it has been edited.",
|
|
1217
|
-
"$ref": "#/components/schemas/
|
|
1225
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1218
1226
|
},
|
|
1219
1227
|
"reactions": {
|
|
1220
1228
|
"description": "Any emoji reactions to the comment.",
|
|
@@ -1335,7 +1343,7 @@
|
|
|
1335
1343
|
},
|
|
1336
1344
|
"resolvedAt": {
|
|
1337
1345
|
"description": "If the comment has been resolved, the date at which it was resolved. If this field is not defined, the comment is not resolved.",
|
|
1338
|
-
"$ref": "#/components/schemas/
|
|
1346
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1339
1347
|
},
|
|
1340
1348
|
"resolvedBy": {
|
|
1341
1349
|
"description": "If the comment has been resolved, the user who resolved it. If this field is not defined, the comment is not resolved.",
|
|
@@ -1385,11 +1393,11 @@
|
|
|
1385
1393
|
"$ref": "#/components/schemas/User"
|
|
1386
1394
|
},
|
|
1387
1395
|
"postedAt": {
|
|
1388
|
-
"$ref": "#/components/schemas/
|
|
1396
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1389
1397
|
},
|
|
1390
1398
|
"editedAt": {
|
|
1391
1399
|
"description": "Date when the reply was edited, if it has been edited.",
|
|
1392
|
-
"$ref": "#/components/schemas/
|
|
1400
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
1393
1401
|
},
|
|
1394
1402
|
"reactions": {
|
|
1395
1403
|
"$ref": "#/components/schemas/EmojiReactions"
|
|
@@ -4139,6 +4147,9 @@
|
|
|
4139
4147
|
},
|
|
4140
4148
|
{
|
|
4141
4149
|
"$ref": "#/components/schemas/ContentRefSpace"
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
"$ref": "#/components/schemas/ContentRefSnippet"
|
|
4142
4153
|
}
|
|
4143
4154
|
]
|
|
4144
4155
|
},
|
|
@@ -4280,6 +4291,28 @@
|
|
|
4280
4291
|
"space"
|
|
4281
4292
|
]
|
|
4282
4293
|
},
|
|
4294
|
+
"ContentRefSnippet": {
|
|
4295
|
+
"type": "object",
|
|
4296
|
+
"properties": {
|
|
4297
|
+
"kind": {
|
|
4298
|
+
"type": "string",
|
|
4299
|
+
"enum": [
|
|
4300
|
+
"snippet"
|
|
4301
|
+
]
|
|
4302
|
+
},
|
|
4303
|
+
"snippet": {
|
|
4304
|
+
"type": "string"
|
|
4305
|
+
},
|
|
4306
|
+
"organization": {
|
|
4307
|
+
"type": "string"
|
|
4308
|
+
}
|
|
4309
|
+
},
|
|
4310
|
+
"required": [
|
|
4311
|
+
"kind",
|
|
4312
|
+
"snippet",
|
|
4313
|
+
"organization"
|
|
4314
|
+
]
|
|
4315
|
+
},
|
|
4283
4316
|
"Space": {
|
|
4284
4317
|
"type": "object",
|
|
4285
4318
|
"properties": {
|
|
@@ -4295,10 +4328,7 @@
|
|
|
4295
4328
|
"description": "Unique identifier for the space"
|
|
4296
4329
|
},
|
|
4297
4330
|
"title": {
|
|
4298
|
-
"
|
|
4299
|
-
"description": "Title of the space",
|
|
4300
|
-
"minLength": 0,
|
|
4301
|
-
"maxLength": 100
|
|
4331
|
+
"$ref": "#/components/schemas/SpaceTitle"
|
|
4302
4332
|
},
|
|
4303
4333
|
"emoji": {
|
|
4304
4334
|
"description": "An emoji for this space. It'll match the emoji shown in the GitBook app.",
|
|
@@ -4308,13 +4338,16 @@
|
|
|
4308
4338
|
"$ref": "#/components/schemas/ContentVisibility"
|
|
4309
4339
|
},
|
|
4310
4340
|
"createdAt": {
|
|
4311
|
-
"$ref": "#/components/schemas/
|
|
4341
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4312
4342
|
},
|
|
4313
4343
|
"updatedAt": {
|
|
4314
|
-
"$ref": "#/components/schemas/
|
|
4344
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4315
4345
|
},
|
|
4316
4346
|
"deletedAt": {
|
|
4317
|
-
"$ref": "#/components/schemas/
|
|
4347
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4348
|
+
},
|
|
4349
|
+
"editMode": {
|
|
4350
|
+
"$ref": "#/components/schemas/SpaceEditMode"
|
|
4318
4351
|
},
|
|
4319
4352
|
"urls": {
|
|
4320
4353
|
"type": "object",
|
|
@@ -4341,8 +4374,7 @@
|
|
|
4341
4374
|
"format": "uri"
|
|
4342
4375
|
},
|
|
4343
4376
|
"icon": {
|
|
4344
|
-
"
|
|
4345
|
-
"description": "URL of the icon of this space, if defined. Deprecated, prefer using emojis for spaces instead of icons.",
|
|
4377
|
+
"description": "URL of the icon of this space, if defined.",
|
|
4346
4378
|
"$ref": "#/components/schemas/URL"
|
|
4347
4379
|
}
|
|
4348
4380
|
},
|
|
@@ -4361,6 +4393,45 @@
|
|
|
4361
4393
|
},
|
|
4362
4394
|
"gitSync": {
|
|
4363
4395
|
"$ref": "#/components/schemas/GitSyncState"
|
|
4396
|
+
},
|
|
4397
|
+
"visitorAuth": {
|
|
4398
|
+
"oneOf": [
|
|
4399
|
+
{
|
|
4400
|
+
"type": "object",
|
|
4401
|
+
"properties": {
|
|
4402
|
+
"backend": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"description": "Custom backend for Visitor Authentication",
|
|
4405
|
+
"enum": [
|
|
4406
|
+
"custom"
|
|
4407
|
+
]
|
|
4408
|
+
}
|
|
4409
|
+
},
|
|
4410
|
+
"required": [
|
|
4411
|
+
"backend"
|
|
4412
|
+
]
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
"type": "object",
|
|
4416
|
+
"properties": {
|
|
4417
|
+
"backend": {
|
|
4418
|
+
"type": "string",
|
|
4419
|
+
"description": "Integration as backend for Visitor Authentication",
|
|
4420
|
+
"enum": [
|
|
4421
|
+
"integration"
|
|
4422
|
+
]
|
|
4423
|
+
},
|
|
4424
|
+
"integration": {
|
|
4425
|
+
"type": "string",
|
|
4426
|
+
"description": "Name of integration being used as the backend for Visitor Authentication"
|
|
4427
|
+
}
|
|
4428
|
+
},
|
|
4429
|
+
"required": [
|
|
4430
|
+
"backend",
|
|
4431
|
+
"integration"
|
|
4432
|
+
]
|
|
4433
|
+
}
|
|
4434
|
+
]
|
|
4364
4435
|
}
|
|
4365
4436
|
},
|
|
4366
4437
|
"required": [
|
|
@@ -4376,6 +4447,20 @@
|
|
|
4376
4447
|
"urls"
|
|
4377
4448
|
]
|
|
4378
4449
|
},
|
|
4450
|
+
"SpaceEditMode": {
|
|
4451
|
+
"type": "string",
|
|
4452
|
+
"description": "Determines how a Space can be edited.\n* `live`: Users can directly edit the space\n* `locked`: All edits are locked for this space.\n",
|
|
4453
|
+
"enum": [
|
|
4454
|
+
"live",
|
|
4455
|
+
"locked"
|
|
4456
|
+
]
|
|
4457
|
+
},
|
|
4458
|
+
"SpaceTitle": {
|
|
4459
|
+
"type": "string",
|
|
4460
|
+
"description": "Title of the space",
|
|
4461
|
+
"minLength": 1,
|
|
4462
|
+
"maxLength": 50
|
|
4463
|
+
},
|
|
4379
4464
|
"RevisionBase": {
|
|
4380
4465
|
"type": "object",
|
|
4381
4466
|
"properties": {
|
|
@@ -4409,6 +4494,10 @@
|
|
|
4409
4494
|
"$ref": "#/components/schemas/RevisionFile"
|
|
4410
4495
|
}
|
|
4411
4496
|
},
|
|
4497
|
+
"createdAt": {
|
|
4498
|
+
"description": "When the revision was created.",
|
|
4499
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4500
|
+
},
|
|
4412
4501
|
"git": {
|
|
4413
4502
|
"description": "Metadata about a potential associated git commit.",
|
|
4414
4503
|
"$ref": "#/components/schemas/GitSyncCommit"
|
|
@@ -4443,7 +4532,8 @@
|
|
|
4443
4532
|
"parents",
|
|
4444
4533
|
"pages",
|
|
4445
4534
|
"files",
|
|
4446
|
-
"urls"
|
|
4535
|
+
"urls",
|
|
4536
|
+
"createdAt"
|
|
4447
4537
|
]
|
|
4448
4538
|
},
|
|
4449
4539
|
"RevisionTypeMerge": {
|
|
@@ -4591,11 +4681,11 @@
|
|
|
4591
4681
|
},
|
|
4592
4682
|
"createdAt": {
|
|
4593
4683
|
"description": "When the page was first created. Only present if page has been edited at least once.",
|
|
4594
|
-
"$ref": "#/components/schemas/
|
|
4684
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4595
4685
|
},
|
|
4596
4686
|
"updatedAt": {
|
|
4597
4687
|
"description": "When the page was last edited. Only present if page has been edited at least once.",
|
|
4598
|
-
"$ref": "#/components/schemas/
|
|
4688
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
4599
4689
|
}
|
|
4600
4690
|
},
|
|
4601
4691
|
"required": [
|
|
@@ -5401,7 +5491,7 @@
|
|
|
5401
5491
|
},
|
|
5402
5492
|
"updatedAt": {
|
|
5403
5493
|
"description": "When the Git provider details were last updated",
|
|
5404
|
-
"$ref": "#/components/schemas/
|
|
5494
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5405
5495
|
}
|
|
5406
5496
|
}
|
|
5407
5497
|
},
|
|
@@ -5412,11 +5502,11 @@
|
|
|
5412
5502
|
"$ref": "#/components/schemas/GitSyncOperationState"
|
|
5413
5503
|
},
|
|
5414
5504
|
"startedAt": {
|
|
5415
|
-
"$ref": "#/components/schemas/
|
|
5505
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5416
5506
|
},
|
|
5417
5507
|
"completedAt": {
|
|
5418
5508
|
"description": "Date when the operation was successful (when state is `success`)",
|
|
5419
|
-
"$ref": "#/components/schemas/
|
|
5509
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5420
5510
|
},
|
|
5421
5511
|
"error": {
|
|
5422
5512
|
"type": "string",
|
|
@@ -5424,8 +5514,7 @@
|
|
|
5424
5514
|
}
|
|
5425
5515
|
},
|
|
5426
5516
|
"required": [
|
|
5427
|
-
"state"
|
|
5428
|
-
"startedAt"
|
|
5517
|
+
"state"
|
|
5429
5518
|
]
|
|
5430
5519
|
},
|
|
5431
5520
|
"GitSyncOperationState": {
|
|
@@ -5692,11 +5781,11 @@
|
|
|
5692
5781
|
},
|
|
5693
5782
|
"joinedAt": {
|
|
5694
5783
|
"description": "Date at which the user joined the organization.",
|
|
5695
|
-
"$ref": "#/components/schemas/
|
|
5784
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5696
5785
|
},
|
|
5697
5786
|
"lastSeenAt": {
|
|
5698
5787
|
"description": "Date at which the user was last seen active in the organization.",
|
|
5699
|
-
"$ref": "#/components/schemas/
|
|
5788
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5700
5789
|
},
|
|
5701
5790
|
"sso": {
|
|
5702
5791
|
"type": "boolean",
|
|
@@ -5748,7 +5837,7 @@
|
|
|
5748
5837
|
},
|
|
5749
5838
|
"createdAt": {
|
|
5750
5839
|
"description": "Date at which the team was created.",
|
|
5751
|
-
"$ref": "#/components/schemas/
|
|
5840
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5752
5841
|
}
|
|
5753
5842
|
},
|
|
5754
5843
|
"required": [
|
|
@@ -6192,6 +6281,10 @@
|
|
|
6192
6281
|
"type": "string",
|
|
6193
6282
|
"description": "Unique identifier for the snippet"
|
|
6194
6283
|
},
|
|
6284
|
+
"organization": {
|
|
6285
|
+
"type": "string",
|
|
6286
|
+
"description": "ID of the organization owning this snippet"
|
|
6287
|
+
},
|
|
6195
6288
|
"createdAt": {
|
|
6196
6289
|
"type": "string",
|
|
6197
6290
|
"format": "date-time"
|
|
@@ -6272,6 +6365,7 @@
|
|
|
6272
6365
|
},
|
|
6273
6366
|
"required": [
|
|
6274
6367
|
"id",
|
|
6368
|
+
"organization",
|
|
6275
6369
|
"source",
|
|
6276
6370
|
"createdAt",
|
|
6277
6371
|
"archived",
|
|
@@ -6322,7 +6416,7 @@
|
|
|
6322
6416
|
},
|
|
6323
6417
|
"createdAt": {
|
|
6324
6418
|
"description": "The date at which the relation was created",
|
|
6325
|
-
"$ref": "#/components/schemas/
|
|
6419
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6326
6420
|
}
|
|
6327
6421
|
},
|
|
6328
6422
|
"required": [
|
|
@@ -6425,10 +6519,10 @@
|
|
|
6425
6519
|
"$ref": "#/components/schemas/User"
|
|
6426
6520
|
},
|
|
6427
6521
|
"createdAt": {
|
|
6428
|
-
"$ref": "#/components/schemas/
|
|
6522
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6429
6523
|
},
|
|
6430
6524
|
"updatedAt": {
|
|
6431
|
-
"$ref": "#/components/schemas/
|
|
6525
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6432
6526
|
},
|
|
6433
6527
|
"urls": {
|
|
6434
6528
|
"type": "object",
|
|
@@ -6500,10 +6594,10 @@
|
|
|
6500
6594
|
"$ref": "#/components/schemas/Comment"
|
|
6501
6595
|
},
|
|
6502
6596
|
"createdAt": {
|
|
6503
|
-
"$ref": "#/components/schemas/
|
|
6597
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6504
6598
|
},
|
|
6505
6599
|
"updatedAt": {
|
|
6506
|
-
"$ref": "#/components/schemas/
|
|
6600
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6507
6601
|
}
|
|
6508
6602
|
},
|
|
6509
6603
|
"required": [
|
|
@@ -6546,7 +6640,7 @@
|
|
|
6546
6640
|
"$ref": "#/components/schemas/User"
|
|
6547
6641
|
},
|
|
6548
6642
|
"createdAt": {
|
|
6549
|
-
"$ref": "#/components/schemas/
|
|
6643
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6550
6644
|
}
|
|
6551
6645
|
},
|
|
6552
6646
|
"required": [
|
|
@@ -7458,7 +7552,8 @@
|
|
|
7458
7552
|
"space:metadata:write",
|
|
7459
7553
|
"space:script:inject",
|
|
7460
7554
|
"space:script:cookies",
|
|
7461
|
-
"space:git:sync"
|
|
7555
|
+
"space:git:sync",
|
|
7556
|
+
"space:visitor:auth"
|
|
7462
7557
|
]
|
|
7463
7558
|
},
|
|
7464
7559
|
"IntegrationCategories": {
|
|
@@ -7572,7 +7667,7 @@
|
|
|
7572
7667
|
"description": "Unique ID of the integration installation."
|
|
7573
7668
|
},
|
|
7574
7669
|
"createdAt": {
|
|
7575
|
-
"$ref": "#/components/schemas/
|
|
7670
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
7576
7671
|
},
|
|
7577
7672
|
"payload": {
|
|
7578
7673
|
"$ref": "#/components/schemas/Event"
|
|
@@ -7602,7 +7697,7 @@
|
|
|
7602
7697
|
"type": "string"
|
|
7603
7698
|
},
|
|
7604
7699
|
"timestamp": {
|
|
7605
|
-
"$ref": "#/components/schemas/
|
|
7700
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
7606
7701
|
},
|
|
7607
7702
|
"level": {
|
|
7608
7703
|
"description": "The level of the log entry.",
|
|
@@ -7826,10 +7921,10 @@
|
|
|
7826
7921
|
"$ref": "#/components/schemas/IntegrationInstallationConfiguration"
|
|
7827
7922
|
},
|
|
7828
7923
|
"createdAt": {
|
|
7829
|
-
"$ref": "#/components/schemas/
|
|
7924
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
7830
7925
|
},
|
|
7831
7926
|
"updatedAt": {
|
|
7832
|
-
"$ref": "#/components/schemas/
|
|
7927
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
7833
7928
|
},
|
|
7834
7929
|
"urls": {
|
|
7835
7930
|
"type": "object",
|
|
@@ -8601,6 +8696,9 @@
|
|
|
8601
8696
|
{
|
|
8602
8697
|
"$ref": "#/components/schemas/FetchPublishedScriptEvent"
|
|
8603
8698
|
},
|
|
8699
|
+
{
|
|
8700
|
+
"$ref": "#/components/schemas/FetchVisitorAuthenticationEvent"
|
|
8701
|
+
},
|
|
8604
8702
|
{
|
|
8605
8703
|
"$ref": "#/components/schemas/UIRenderEvent"
|
|
8606
8704
|
}
|
|
@@ -9081,6 +9179,31 @@
|
|
|
9081
9179
|
}
|
|
9082
9180
|
]
|
|
9083
9181
|
},
|
|
9182
|
+
"FetchVisitorAuthenticationEvent": {
|
|
9183
|
+
"allOf": [
|
|
9184
|
+
{
|
|
9185
|
+
"$ref": "#/components/schemas/SpaceEvent"
|
|
9186
|
+
},
|
|
9187
|
+
{
|
|
9188
|
+
"type": "object",
|
|
9189
|
+
"description": "Common properties for all events related to visitor authentication from an installation",
|
|
9190
|
+
"properties": {
|
|
9191
|
+
"type": {
|
|
9192
|
+
"type": "string",
|
|
9193
|
+
"enum": [
|
|
9194
|
+
"fetch_visitor_authentication"
|
|
9195
|
+
]
|
|
9196
|
+
},
|
|
9197
|
+
"location": {
|
|
9198
|
+
"type": "string"
|
|
9199
|
+
}
|
|
9200
|
+
},
|
|
9201
|
+
"required": [
|
|
9202
|
+
"type"
|
|
9203
|
+
]
|
|
9204
|
+
}
|
|
9205
|
+
]
|
|
9206
|
+
},
|
|
9084
9207
|
"UIRenderEvent": {
|
|
9085
9208
|
"allOf": [
|
|
9086
9209
|
{
|
|
@@ -9277,10 +9400,10 @@
|
|
|
9277
9400
|
"type": "number"
|
|
9278
9401
|
},
|
|
9279
9402
|
"periodStart": {
|
|
9280
|
-
"$ref": "#/components/schemas/
|
|
9403
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
9281
9404
|
},
|
|
9282
9405
|
"periodEnd": {
|
|
9283
|
-
"$ref": "#/components/schemas/
|
|
9406
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
9284
9407
|
}
|
|
9285
9408
|
},
|
|
9286
9409
|
"required": [
|
|
@@ -9570,7 +9693,7 @@
|
|
|
9570
9693
|
"description": "All the permissions of a user",
|
|
9571
9694
|
"properties": {
|
|
9572
9695
|
"updatedAt": {
|
|
9573
|
-
"$ref": "#/components/schemas/
|
|
9696
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
9574
9697
|
},
|
|
9575
9698
|
"searchKey": {
|
|
9576
9699
|
"type": "string"
|
|
@@ -12086,10 +12209,10 @@
|
|
|
12086
12209
|
"$ref": "#/components/schemas/CustomFieldOptions"
|
|
12087
12210
|
},
|
|
12088
12211
|
"createdAt": {
|
|
12089
|
-
"$ref": "#/components/schemas/
|
|
12212
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
12090
12213
|
},
|
|
12091
12214
|
"updatedAt": {
|
|
12092
|
-
"$ref": "#/components/schemas/
|
|
12215
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
12093
12216
|
},
|
|
12094
12217
|
"urls": {
|
|
12095
12218
|
"type": "object",
|
|
@@ -12644,7 +12767,7 @@
|
|
|
12644
12767
|
"$ref": "#/components/schemas/PageFeedbackRating"
|
|
12645
12768
|
},
|
|
12646
12769
|
"createdAt": {
|
|
12647
|
-
"$ref": "#/components/schemas/
|
|
12770
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
12648
12771
|
},
|
|
12649
12772
|
"revision": {
|
|
12650
12773
|
"type": "string",
|
|
@@ -13113,12 +13236,71 @@
|
|
|
13113
13236
|
"content": {
|
|
13114
13237
|
"application/json": {
|
|
13115
13238
|
"schema": {
|
|
13116
|
-
"
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
"
|
|
13239
|
+
"allOf": [
|
|
13240
|
+
{
|
|
13241
|
+
"type": "object",
|
|
13242
|
+
"properties": {
|
|
13243
|
+
"editMode": {
|
|
13244
|
+
"$ref": "#/components/schemas/SpaceEditMode"
|
|
13245
|
+
},
|
|
13246
|
+
"title": {
|
|
13247
|
+
"$ref": "#/components/schemas/SpaceTitle"
|
|
13248
|
+
},
|
|
13249
|
+
"visibility": {
|
|
13250
|
+
"$ref": "#/components/schemas/ContentVisibility"
|
|
13251
|
+
},
|
|
13252
|
+
"visitorAuth": {
|
|
13253
|
+
"$ref": "#/components/schemas/Space/properties/visitorAuth",
|
|
13254
|
+
"description": "The integration property, if set, is ignored."
|
|
13255
|
+
}
|
|
13256
|
+
}
|
|
13257
|
+
},
|
|
13258
|
+
{
|
|
13259
|
+
"oneOf": [
|
|
13260
|
+
{
|
|
13261
|
+
"type": "object",
|
|
13262
|
+
"properties": {
|
|
13263
|
+
"emoji": {
|
|
13264
|
+
"$ref": "#/components/schemas/Emoji"
|
|
13265
|
+
}
|
|
13266
|
+
},
|
|
13267
|
+
"required": [
|
|
13268
|
+
"emoji"
|
|
13269
|
+
]
|
|
13270
|
+
},
|
|
13271
|
+
{
|
|
13272
|
+
"type": "object",
|
|
13273
|
+
"properties": {
|
|
13274
|
+
"icon": {
|
|
13275
|
+
"$ref": "#/components/schemas/URL"
|
|
13276
|
+
}
|
|
13277
|
+
},
|
|
13278
|
+
"required": [
|
|
13279
|
+
"icon"
|
|
13280
|
+
]
|
|
13281
|
+
},
|
|
13282
|
+
{
|
|
13283
|
+
"type": "object",
|
|
13284
|
+
"properties": {
|
|
13285
|
+
"emoji": {
|
|
13286
|
+
"type": "string",
|
|
13287
|
+
"nullable": true,
|
|
13288
|
+
"enum": [
|
|
13289
|
+
null
|
|
13290
|
+
]
|
|
13291
|
+
},
|
|
13292
|
+
"icon": {
|
|
13293
|
+
"type": "string",
|
|
13294
|
+
"nullable": true,
|
|
13295
|
+
"enum": [
|
|
13296
|
+
null
|
|
13297
|
+
]
|
|
13298
|
+
}
|
|
13299
|
+
}
|
|
13300
|
+
}
|
|
13301
|
+
]
|
|
13120
13302
|
}
|
|
13121
|
-
|
|
13303
|
+
]
|
|
13122
13304
|
}
|
|
13123
13305
|
}
|
|
13124
13306
|
}
|
|
@@ -21662,6 +21844,14 @@
|
|
|
21662
21844
|
"schema": {
|
|
21663
21845
|
"type": "string"
|
|
21664
21846
|
}
|
|
21847
|
+
},
|
|
21848
|
+
{
|
|
21849
|
+
"name": "search",
|
|
21850
|
+
"in": "query",
|
|
21851
|
+
"description": "If specified, only locations matching the search query will be returned.",
|
|
21852
|
+
"schema": {
|
|
21853
|
+
"type": "string"
|
|
21854
|
+
}
|
|
21665
21855
|
}
|
|
21666
21856
|
],
|
|
21667
21857
|
"responses": {
|