@gitbook/api 0.72.0 → 0.73.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 +18 -285
- package/dist/index.cjs +1 -86
- package/dist/index.js +1 -86
- package/package.json +1 -1
- package/spec/openapi.json +97 -1009
- package/spec/openapi.yaml +22 -571
package/spec/openapi.yaml
CHANGED
|
@@ -639,27 +639,6 @@ paths:
|
|
|
639
639
|
application/json:
|
|
640
640
|
schema:
|
|
641
641
|
$ref: "#/components/schemas/ExportToGitRepository"
|
|
642
|
-
"/spaces/{spaceId}/git/sync":
|
|
643
|
-
post:
|
|
644
|
-
operationId: syncGitRepository
|
|
645
|
-
summary: Synchronize a Git repository with the space content.
|
|
646
|
-
tags:
|
|
647
|
-
- spaces
|
|
648
|
-
security:
|
|
649
|
-
- user: []
|
|
650
|
-
parameters:
|
|
651
|
-
- $ref: "#/components/parameters/spaceId"
|
|
652
|
-
responses:
|
|
653
|
-
"204":
|
|
654
|
-
description: Operation to synchronize the repository has been started.
|
|
655
|
-
default:
|
|
656
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
657
|
-
requestBody:
|
|
658
|
-
required: true
|
|
659
|
-
content:
|
|
660
|
-
application/json:
|
|
661
|
-
schema:
|
|
662
|
-
$ref: "#/components/schemas/SyncGitRepository"
|
|
663
642
|
"/spaces/{spaceId}/git/info":
|
|
664
643
|
get:
|
|
665
644
|
operationId: getSpaceGitInfo
|
|
@@ -2213,48 +2192,6 @@ paths:
|
|
|
2213
2192
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2214
2193
|
default:
|
|
2215
2194
|
$ref: "#/components/responses/UnexpectedError"
|
|
2216
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/touched-content":
|
|
2217
|
-
post:
|
|
2218
|
-
operationId: touchContentInChangeRequest
|
|
2219
|
-
summary: Touch Hive content, marking it as modified as part of this change request.
|
|
2220
|
-
tags:
|
|
2221
|
-
- spaces
|
|
2222
|
-
security:
|
|
2223
|
-
- user: []
|
|
2224
|
-
parameters:
|
|
2225
|
-
- $ref: "#/components/parameters/spaceId"
|
|
2226
|
-
- $ref: "#/components/parameters/changeRequestId"
|
|
2227
|
-
responses:
|
|
2228
|
-
"200":
|
|
2229
|
-
description: Content marked as touched.
|
|
2230
|
-
content:
|
|
2231
|
-
application/json:
|
|
2232
|
-
schema:
|
|
2233
|
-
$ref: "#/components/schemas/ChangeRequest"
|
|
2234
|
-
default:
|
|
2235
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
2236
|
-
requestBody:
|
|
2237
|
-
required: true
|
|
2238
|
-
content:
|
|
2239
|
-
application/json:
|
|
2240
|
-
schema:
|
|
2241
|
-
type: object
|
|
2242
|
-
properties:
|
|
2243
|
-
contentId:
|
|
2244
|
-
type: string
|
|
2245
|
-
description: The content id of the touched content.
|
|
2246
|
-
branchId:
|
|
2247
|
-
type: string
|
|
2248
|
-
description: The branch id of the touched content.
|
|
2249
|
-
relation:
|
|
2250
|
-
type: string
|
|
2251
|
-
description: The relation of the touched content to the change request.
|
|
2252
|
-
enum:
|
|
2253
|
-
- synced-block
|
|
2254
|
-
required:
|
|
2255
|
-
- contentId
|
|
2256
|
-
- branchId
|
|
2257
|
-
- relation
|
|
2258
2195
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/pdf":
|
|
2259
2196
|
get:
|
|
2260
2197
|
operationId: getChangeRequestPDF
|
|
@@ -2291,40 +2228,6 @@ paths:
|
|
|
2291
2228
|
- url
|
|
2292
2229
|
default:
|
|
2293
2230
|
$ref: "#/components/responses/UnexpectedError"
|
|
2294
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/synced-blocks/{syncedBlockId}/content":
|
|
2295
|
-
get:
|
|
2296
|
-
operationId: getSyncedBlockContentInChangeRequest
|
|
2297
|
-
summary: Get the content of a synced block in the context of a change request.
|
|
2298
|
-
tags:
|
|
2299
|
-
- spaces
|
|
2300
|
-
security:
|
|
2301
|
-
- user: []
|
|
2302
|
-
parameters:
|
|
2303
|
-
- $ref: "#/components/parameters/spaceId"
|
|
2304
|
-
- $ref: "#/components/parameters/changeRequestId"
|
|
2305
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
2306
|
-
responses:
|
|
2307
|
-
"200":
|
|
2308
|
-
description: OK
|
|
2309
|
-
content:
|
|
2310
|
-
application/json:
|
|
2311
|
-
schema:
|
|
2312
|
-
type: object
|
|
2313
|
-
properties:
|
|
2314
|
-
document:
|
|
2315
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
2316
|
-
files:
|
|
2317
|
-
type: array
|
|
2318
|
-
items:
|
|
2319
|
-
$ref: "#/components/schemas/RevisionFile"
|
|
2320
|
-
required:
|
|
2321
|
-
- document
|
|
2322
|
-
- files
|
|
2323
|
-
"404":
|
|
2324
|
-
description: The space, change request, synced block or its content could not be found.
|
|
2325
|
-
$ref: "#/components/responses/NotFoundError"
|
|
2326
|
-
default:
|
|
2327
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
2328
2231
|
"/spaces/{spaceId}/revisions/{revisionId}":
|
|
2329
2232
|
get:
|
|
2330
2233
|
operationId: getRevisionById
|
|
@@ -6459,245 +6362,6 @@ paths:
|
|
|
6459
6362
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
6460
6363
|
default:
|
|
6461
6364
|
$ref: "#/components/responses/UnexpectedError"
|
|
6462
|
-
"/orgs/{organizationId}/synced-blocks":
|
|
6463
|
-
get:
|
|
6464
|
-
operationId: listSyncedBlocks
|
|
6465
|
-
summary: List all the synced blocks created in an organization
|
|
6466
|
-
tags:
|
|
6467
|
-
- organizations
|
|
6468
|
-
security:
|
|
6469
|
-
- user: []
|
|
6470
|
-
parameters:
|
|
6471
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6472
|
-
- $ref: "#/components/parameters/listPage"
|
|
6473
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6474
|
-
- name: ids
|
|
6475
|
-
in: query
|
|
6476
|
-
description: A list of IDs to filter the synced blocks.
|
|
6477
|
-
required: false
|
|
6478
|
-
schema:
|
|
6479
|
-
type: array
|
|
6480
|
-
items:
|
|
6481
|
-
type: string
|
|
6482
|
-
responses:
|
|
6483
|
-
"200":
|
|
6484
|
-
description: OK
|
|
6485
|
-
content:
|
|
6486
|
-
application/json:
|
|
6487
|
-
schema:
|
|
6488
|
-
allOf:
|
|
6489
|
-
- $ref: "#/components/schemas/List"
|
|
6490
|
-
- type: object
|
|
6491
|
-
required:
|
|
6492
|
-
- items
|
|
6493
|
-
properties:
|
|
6494
|
-
items:
|
|
6495
|
-
type: array
|
|
6496
|
-
items:
|
|
6497
|
-
$ref: "#/components/schemas/SyncedBlock"
|
|
6498
|
-
default:
|
|
6499
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6500
|
-
post:
|
|
6501
|
-
operationId: createSyncedBlock
|
|
6502
|
-
summary: Create a new synced block
|
|
6503
|
-
tags:
|
|
6504
|
-
- organizations
|
|
6505
|
-
security:
|
|
6506
|
-
- user: []
|
|
6507
|
-
parameters:
|
|
6508
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6509
|
-
requestBody:
|
|
6510
|
-
required: true
|
|
6511
|
-
content:
|
|
6512
|
-
application/json:
|
|
6513
|
-
schema:
|
|
6514
|
-
type: object
|
|
6515
|
-
properties:
|
|
6516
|
-
title:
|
|
6517
|
-
type: string
|
|
6518
|
-
description: Title of synced block
|
|
6519
|
-
responses:
|
|
6520
|
-
"201":
|
|
6521
|
-
description: Synced block created
|
|
6522
|
-
headers:
|
|
6523
|
-
Location:
|
|
6524
|
-
description: API URL for the newly created synced block
|
|
6525
|
-
schema:
|
|
6526
|
-
type: string
|
|
6527
|
-
content:
|
|
6528
|
-
application/json:
|
|
6529
|
-
schema:
|
|
6530
|
-
$ref: "#/components/schemas/SyncedBlock"
|
|
6531
|
-
default:
|
|
6532
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6533
|
-
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}":
|
|
6534
|
-
get:
|
|
6535
|
-
operationId: getSyncedBlock
|
|
6536
|
-
summary: Get a synced block by its ID
|
|
6537
|
-
tags:
|
|
6538
|
-
- organizations
|
|
6539
|
-
security:
|
|
6540
|
-
- user: []
|
|
6541
|
-
parameters:
|
|
6542
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6543
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6544
|
-
responses:
|
|
6545
|
-
"200":
|
|
6546
|
-
description: OK
|
|
6547
|
-
content:
|
|
6548
|
-
application/json:
|
|
6549
|
-
schema:
|
|
6550
|
-
$ref: "#/components/schemas/SyncedBlock"
|
|
6551
|
-
default:
|
|
6552
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6553
|
-
patch:
|
|
6554
|
-
operationId: updateSyncedBlock
|
|
6555
|
-
summary: Update an existing synced block.
|
|
6556
|
-
tags:
|
|
6557
|
-
- organizations
|
|
6558
|
-
security:
|
|
6559
|
-
- user: []
|
|
6560
|
-
parameters:
|
|
6561
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6562
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6563
|
-
requestBody:
|
|
6564
|
-
required: true
|
|
6565
|
-
content:
|
|
6566
|
-
application/json:
|
|
6567
|
-
schema:
|
|
6568
|
-
type: object
|
|
6569
|
-
properties:
|
|
6570
|
-
title:
|
|
6571
|
-
type: string
|
|
6572
|
-
description: A new title for the Synced Block.
|
|
6573
|
-
description:
|
|
6574
|
-
type: string
|
|
6575
|
-
description: A new description for the Synced Block.
|
|
6576
|
-
responses:
|
|
6577
|
-
"200":
|
|
6578
|
-
description: OK
|
|
6579
|
-
default:
|
|
6580
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6581
|
-
delete:
|
|
6582
|
-
operationId: deleteSyncedBlock
|
|
6583
|
-
summary: Delete a synced block by its ID
|
|
6584
|
-
tags:
|
|
6585
|
-
- organizations
|
|
6586
|
-
security:
|
|
6587
|
-
- user: []
|
|
6588
|
-
parameters:
|
|
6589
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6590
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6591
|
-
responses:
|
|
6592
|
-
"204":
|
|
6593
|
-
description: OK
|
|
6594
|
-
default:
|
|
6595
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6596
|
-
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/content":
|
|
6597
|
-
get:
|
|
6598
|
-
operationId: getSyncedBlockContent
|
|
6599
|
-
summary: Get the content of a synced block.
|
|
6600
|
-
tags:
|
|
6601
|
-
- organizations
|
|
6602
|
-
security:
|
|
6603
|
-
- user: []
|
|
6604
|
-
parameters:
|
|
6605
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6606
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6607
|
-
responses:
|
|
6608
|
-
"200":
|
|
6609
|
-
description: OK
|
|
6610
|
-
content:
|
|
6611
|
-
application/json:
|
|
6612
|
-
schema:
|
|
6613
|
-
type: object
|
|
6614
|
-
properties:
|
|
6615
|
-
document:
|
|
6616
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
6617
|
-
files:
|
|
6618
|
-
type: array
|
|
6619
|
-
items:
|
|
6620
|
-
$ref: "#/components/schemas/RevisionFile"
|
|
6621
|
-
required:
|
|
6622
|
-
- document
|
|
6623
|
-
- files
|
|
6624
|
-
"404":
|
|
6625
|
-
description: The synced block or its content could not be found.
|
|
6626
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6627
|
-
default:
|
|
6628
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6629
|
-
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/backlinks":
|
|
6630
|
-
get:
|
|
6631
|
-
operationId: listSyncedBlockBacklinks
|
|
6632
|
-
summary: Get a list of pages that reference this synced block.
|
|
6633
|
-
tags:
|
|
6634
|
-
- organizations
|
|
6635
|
-
security:
|
|
6636
|
-
- user: []
|
|
6637
|
-
parameters:
|
|
6638
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6639
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6640
|
-
- $ref: "#/components/parameters/listPage"
|
|
6641
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6642
|
-
- name: changeRequestId
|
|
6643
|
-
in: query
|
|
6644
|
-
description: Filter backlinks relative to a change request.
|
|
6645
|
-
schema:
|
|
6646
|
-
type: string
|
|
6647
|
-
- name: spaceId
|
|
6648
|
-
in: query
|
|
6649
|
-
description: Filter backlinks relative to a space.
|
|
6650
|
-
schema:
|
|
6651
|
-
type: string
|
|
6652
|
-
responses:
|
|
6653
|
-
"200":
|
|
6654
|
-
description: OK
|
|
6655
|
-
content:
|
|
6656
|
-
application/json:
|
|
6657
|
-
schema:
|
|
6658
|
-
allOf:
|
|
6659
|
-
- $ref: "#/components/schemas/List"
|
|
6660
|
-
- type: object
|
|
6661
|
-
required:
|
|
6662
|
-
- items
|
|
6663
|
-
properties:
|
|
6664
|
-
items:
|
|
6665
|
-
type: array
|
|
6666
|
-
items:
|
|
6667
|
-
$ref: "#/components/schemas/ContentLocationPage"
|
|
6668
|
-
default:
|
|
6669
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6670
|
-
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/usage/spaces":
|
|
6671
|
-
get:
|
|
6672
|
-
operationId: listSyncedBlockSpaces
|
|
6673
|
-
summary: Get a list of spaces that reference this synced block.
|
|
6674
|
-
tags:
|
|
6675
|
-
- organizations
|
|
6676
|
-
security:
|
|
6677
|
-
- user: []
|
|
6678
|
-
parameters:
|
|
6679
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6680
|
-
- $ref: "#/components/parameters/syncedBlockId"
|
|
6681
|
-
- $ref: "#/components/parameters/listPage"
|
|
6682
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6683
|
-
responses:
|
|
6684
|
-
"200":
|
|
6685
|
-
description: OK
|
|
6686
|
-
content:
|
|
6687
|
-
application/json:
|
|
6688
|
-
schema:
|
|
6689
|
-
allOf:
|
|
6690
|
-
- $ref: "#/components/schemas/List"
|
|
6691
|
-
- type: object
|
|
6692
|
-
required:
|
|
6693
|
-
- items
|
|
6694
|
-
properties:
|
|
6695
|
-
items:
|
|
6696
|
-
type: array
|
|
6697
|
-
items:
|
|
6698
|
-
$ref: "#/components/schemas/Space"
|
|
6699
|
-
default:
|
|
6700
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6701
6365
|
"/orgs/{organizationId}/ask":
|
|
6702
6366
|
post:
|
|
6703
6367
|
operationId: askInOrganization
|
|
@@ -8975,13 +8639,6 @@ components:
|
|
|
8975
8639
|
description: The unique id of the comment reply
|
|
8976
8640
|
schema:
|
|
8977
8641
|
type: string
|
|
8978
|
-
syncedBlockId:
|
|
8979
|
-
name: syncedBlockId
|
|
8980
|
-
in: path
|
|
8981
|
-
required: true
|
|
8982
|
-
description: The unique id of a synced block
|
|
8983
|
-
schema:
|
|
8984
|
-
type: string
|
|
8985
8642
|
revisionId:
|
|
8986
8643
|
name: revisionId
|
|
8987
8644
|
in: path
|
|
@@ -9553,18 +9210,6 @@ components:
|
|
|
9553
9210
|
- kind
|
|
9554
9211
|
- snippet
|
|
9555
9212
|
- organization
|
|
9556
|
-
ContentRefSyncedBlock:
|
|
9557
|
-
type: object
|
|
9558
|
-
properties:
|
|
9559
|
-
kind:
|
|
9560
|
-
type: string
|
|
9561
|
-
enum:
|
|
9562
|
-
- synced-block
|
|
9563
|
-
syncedBlock:
|
|
9564
|
-
type: string
|
|
9565
|
-
required:
|
|
9566
|
-
- kind
|
|
9567
|
-
- syncedBlock
|
|
9568
9213
|
ContentRefReusableContent:
|
|
9569
9214
|
type: object
|
|
9570
9215
|
properties:
|
|
@@ -9588,7 +9233,6 @@ components:
|
|
|
9588
9233
|
- $ref: "#/components/schemas/ContentRefCollection"
|
|
9589
9234
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
9590
9235
|
- $ref: "#/components/schemas/ContentRefSnippet"
|
|
9591
|
-
- $ref: "#/components/schemas/ContentRefSyncedBlock"
|
|
9592
9236
|
- $ref: "#/components/schemas/ContentRefReusableContent"
|
|
9593
9237
|
DocumentInlineLink:
|
|
9594
9238
|
type: object
|
|
@@ -11074,43 +10718,6 @@ components:
|
|
|
11074
10718
|
- type
|
|
11075
10719
|
- data
|
|
11076
10720
|
- isVoid
|
|
11077
|
-
DocumentBlockSyncedBlock:
|
|
11078
|
-
type: object
|
|
11079
|
-
properties:
|
|
11080
|
-
object:
|
|
11081
|
-
type: string
|
|
11082
|
-
enum:
|
|
11083
|
-
- block
|
|
11084
|
-
type:
|
|
11085
|
-
type: string
|
|
11086
|
-
enum:
|
|
11087
|
-
- synced-block
|
|
11088
|
-
key:
|
|
11089
|
-
type: string
|
|
11090
|
-
data:
|
|
11091
|
-
type: object
|
|
11092
|
-
properties:
|
|
11093
|
-
ref:
|
|
11094
|
-
$ref: "#/components/schemas/ContentRefSyncedBlock"
|
|
11095
|
-
required:
|
|
11096
|
-
- ref
|
|
11097
|
-
meta:
|
|
11098
|
-
type: object
|
|
11099
|
-
properties:
|
|
11100
|
-
apiToken:
|
|
11101
|
-
description: API Token to use to fetch the synced block from the API.
|
|
11102
|
-
type: string
|
|
11103
|
-
required:
|
|
11104
|
-
- apiToken
|
|
11105
|
-
isVoid:
|
|
11106
|
-
type: boolean
|
|
11107
|
-
enum:
|
|
11108
|
-
- true
|
|
11109
|
-
required:
|
|
11110
|
-
- object
|
|
11111
|
-
- type
|
|
11112
|
-
- data
|
|
11113
|
-
- isVoid
|
|
11114
10721
|
DocumentBlockReusableContent:
|
|
11115
10722
|
type: object
|
|
11116
10723
|
properties:
|
|
@@ -11228,7 +10835,6 @@ components:
|
|
|
11228
10835
|
- $ref: "#/components/schemas/DocumentBlockSwagger"
|
|
11229
10836
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
11230
10837
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
11231
|
-
- $ref: "#/components/schemas/DocumentBlockSyncedBlock"
|
|
11232
10838
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
11233
10839
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
11234
10840
|
JSONDocument:
|
|
@@ -11914,54 +11520,6 @@ components:
|
|
|
11914
11520
|
- url
|
|
11915
11521
|
- ref
|
|
11916
11522
|
- commitMessage
|
|
11917
|
-
SyncGitRepository:
|
|
11918
|
-
type: object
|
|
11919
|
-
properties:
|
|
11920
|
-
ref:
|
|
11921
|
-
type: string
|
|
11922
|
-
description: Git ref in the format "refs/heads/main"
|
|
11923
|
-
repoURL:
|
|
11924
|
-
type: string
|
|
11925
|
-
description: URL of the Git repository used for synchronization. It can contain basic auth credentials.
|
|
11926
|
-
repoTreeURL:
|
|
11927
|
-
type: string
|
|
11928
|
-
description: URL to use as a prefix for external file references.
|
|
11929
|
-
repoCommitURL:
|
|
11930
|
-
type: string
|
|
11931
|
-
description: URL to use as a prefix for the commit URL.
|
|
11932
|
-
repoProjectDirectory:
|
|
11933
|
-
type: string
|
|
11934
|
-
description: Path to a root directory for the project in the repository.
|
|
11935
|
-
commitMessageTemplate:
|
|
11936
|
-
type: string
|
|
11937
|
-
description: Template message for the commit generated during the synchronization.
|
|
11938
|
-
standalone:
|
|
11939
|
-
type: boolean
|
|
11940
|
-
description: If true, the synchronization of the ref will generate a revision without updating the space primary content.
|
|
11941
|
-
force:
|
|
11942
|
-
type: object
|
|
11943
|
-
description: Whether to force the synchronization
|
|
11944
|
-
properties:
|
|
11945
|
-
priority:
|
|
11946
|
-
type: string
|
|
11947
|
-
enum:
|
|
11948
|
-
- gitbook
|
|
11949
|
-
- git
|
|
11950
|
-
required:
|
|
11951
|
-
- priority
|
|
11952
|
-
timestamp:
|
|
11953
|
-
description: |
|
|
11954
|
-
The timestamp of the event. It ensures the synchronize operations are executed in the same order on GitBook and on the remote repository.
|
|
11955
|
-
$ref: "#/components/schemas/Timestamp"
|
|
11956
|
-
gitInfo:
|
|
11957
|
-
description: Optional metadata to store on the space about the Git provider
|
|
11958
|
-
$ref: "#/components/schemas/UpdateSpaceGitInfo"
|
|
11959
|
-
required:
|
|
11960
|
-
- ref
|
|
11961
|
-
- repoURL
|
|
11962
|
-
- repoTreeURL
|
|
11963
|
-
- repoCommitURL
|
|
11964
|
-
- commitMessageTemplate
|
|
11965
11523
|
Icon:
|
|
11966
11524
|
type: string
|
|
11967
11525
|
maxLength: 50
|
|
@@ -13524,73 +13082,6 @@ components:
|
|
|
13524
13082
|
- kind
|
|
13525
13083
|
- organization
|
|
13526
13084
|
- snippet
|
|
13527
|
-
SyncedBlock:
|
|
13528
|
-
type: object
|
|
13529
|
-
properties:
|
|
13530
|
-
id:
|
|
13531
|
-
type: string
|
|
13532
|
-
description: Unique identifier for the synced block
|
|
13533
|
-
organization:
|
|
13534
|
-
type: string
|
|
13535
|
-
description: ID of the organization owning this synced block
|
|
13536
|
-
createdAt:
|
|
13537
|
-
type: string
|
|
13538
|
-
format: date-time
|
|
13539
|
-
createdBy:
|
|
13540
|
-
$ref: "#/components/schemas/User"
|
|
13541
|
-
title:
|
|
13542
|
-
type: string
|
|
13543
|
-
description: Title describing the synced block.
|
|
13544
|
-
maxLength: 100
|
|
13545
|
-
description:
|
|
13546
|
-
type: string
|
|
13547
|
-
description: Description of the synced block.
|
|
13548
|
-
maxLength: 500
|
|
13549
|
-
usage:
|
|
13550
|
-
type: object
|
|
13551
|
-
description: Usage of synced block
|
|
13552
|
-
properties:
|
|
13553
|
-
spaces:
|
|
13554
|
-
description: Number of spaces where the synced block is used in
|
|
13555
|
-
type: integer
|
|
13556
|
-
required:
|
|
13557
|
-
- spaces
|
|
13558
|
-
urls:
|
|
13559
|
-
type: object
|
|
13560
|
-
description: URLs associated with the object
|
|
13561
|
-
properties:
|
|
13562
|
-
location:
|
|
13563
|
-
description: URL of the synced block in the API
|
|
13564
|
-
$ref: "#/components/schemas/URL"
|
|
13565
|
-
app:
|
|
13566
|
-
description: URL of the synced block in the app
|
|
13567
|
-
$ref: "#/components/schemas/URL"
|
|
13568
|
-
required:
|
|
13569
|
-
- location
|
|
13570
|
-
- app
|
|
13571
|
-
required:
|
|
13572
|
-
- id
|
|
13573
|
-
- organization
|
|
13574
|
-
- createdAt
|
|
13575
|
-
- createdBy
|
|
13576
|
-
- source
|
|
13577
|
-
- usage
|
|
13578
|
-
- urls
|
|
13579
|
-
ContentLocationSyncedBlock:
|
|
13580
|
-
type: object
|
|
13581
|
-
properties:
|
|
13582
|
-
kind:
|
|
13583
|
-
type: string
|
|
13584
|
-
enum:
|
|
13585
|
-
- synced-block
|
|
13586
|
-
organization:
|
|
13587
|
-
$ref: "#/components/schemas/Organization"
|
|
13588
|
-
syncedBlock:
|
|
13589
|
-
$ref: "#/components/schemas/SyncedBlock"
|
|
13590
|
-
required:
|
|
13591
|
-
- kind
|
|
13592
|
-
- organization
|
|
13593
|
-
- syncedBlock
|
|
13594
13085
|
ContentLocationReusableContent:
|
|
13595
13086
|
type: object
|
|
13596
13087
|
properties:
|
|
@@ -13623,7 +13114,6 @@ components:
|
|
|
13623
13114
|
- $ref: "#/components/schemas/ContentLocationCollection"
|
|
13624
13115
|
- $ref: "#/components/schemas/ContentLocationSpace"
|
|
13625
13116
|
- $ref: "#/components/schemas/ContentLocationSnippet"
|
|
13626
|
-
- $ref: "#/components/schemas/ContentLocationSyncedBlock"
|
|
13627
13117
|
- $ref: "#/components/schemas/ContentLocationReusableContent"
|
|
13628
13118
|
discriminator:
|
|
13629
13119
|
propertyName: kind
|
|
@@ -18391,6 +17881,28 @@ components:
|
|
|
18391
17881
|
- url
|
|
18392
17882
|
- referrer
|
|
18393
17883
|
- spaceId
|
|
17884
|
+
InsightsContentPage:
|
|
17885
|
+
type: object
|
|
17886
|
+
description: Page entry in the content insights.
|
|
17887
|
+
required:
|
|
17888
|
+
- id
|
|
17889
|
+
- title
|
|
17890
|
+
properties:
|
|
17891
|
+
id:
|
|
17892
|
+
description: Unique identifier for the page in the revision
|
|
17893
|
+
type: string
|
|
17894
|
+
title:
|
|
17895
|
+
description: Title of the page
|
|
17896
|
+
type: string
|
|
17897
|
+
path:
|
|
17898
|
+
description: Complete path to access the page in the revision.
|
|
17899
|
+
type: string
|
|
17900
|
+
emoji:
|
|
17901
|
+
description: Emoji of the page, if one has been set.
|
|
17902
|
+
$ref: "#/components/schemas/Emoji"
|
|
17903
|
+
icon:
|
|
17904
|
+
description: Icon of the page, if one has been set.
|
|
17905
|
+
$ref: "#/components/schemas/Icon"
|
|
18394
17906
|
SiteAdsStats:
|
|
18395
17907
|
type: object
|
|
18396
17908
|
required:
|
|
@@ -18952,7 +18464,6 @@ components:
|
|
|
18952
18464
|
- $ref: "#/components/schemas/DocumentBlockSwagger"
|
|
18953
18465
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
18954
18466
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
18955
|
-
- $ref: "#/components/schemas/DocumentBlockSyncedBlock"
|
|
18956
18467
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
18957
18468
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
18958
18469
|
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
@@ -19728,34 +19239,6 @@ components:
|
|
|
19728
19239
|
required:
|
|
19729
19240
|
- channel
|
|
19730
19241
|
- organization
|
|
19731
|
-
OrganizationSyncedBlocksChannel:
|
|
19732
|
-
type: object
|
|
19733
|
-
description: Subscription channel for changes in synced blocks in an organization.
|
|
19734
|
-
properties:
|
|
19735
|
-
channel:
|
|
19736
|
-
type: string
|
|
19737
|
-
enum:
|
|
19738
|
-
- organization-synced-blocks
|
|
19739
|
-
organization:
|
|
19740
|
-
type: string
|
|
19741
|
-
required:
|
|
19742
|
-
- channel
|
|
19743
|
-
- organization
|
|
19744
|
-
OrganizationSyncedBlockChannel:
|
|
19745
|
-
type: object
|
|
19746
|
-
properties:
|
|
19747
|
-
channel:
|
|
19748
|
-
type: string
|
|
19749
|
-
enum:
|
|
19750
|
-
- organization-synced-block
|
|
19751
|
-
organization:
|
|
19752
|
-
type: string
|
|
19753
|
-
syncedBlock:
|
|
19754
|
-
type: string
|
|
19755
|
-
required:
|
|
19756
|
-
- channel
|
|
19757
|
-
- organization
|
|
19758
|
-
- syncedBlock
|
|
19759
19242
|
CommentsChannel:
|
|
19760
19243
|
type: object
|
|
19761
19244
|
properties:
|
|
@@ -19983,19 +19466,6 @@ components:
|
|
|
19983
19466
|
- channel
|
|
19984
19467
|
- site
|
|
19985
19468
|
- siteSpace
|
|
19986
|
-
SiteSpacesChannel:
|
|
19987
|
-
type: object
|
|
19988
|
-
description: Subscription channel for changes in site spaces in an organization.
|
|
19989
|
-
properties:
|
|
19990
|
-
channel:
|
|
19991
|
-
type: string
|
|
19992
|
-
enum:
|
|
19993
|
-
- site-spaces
|
|
19994
|
-
site:
|
|
19995
|
-
type: string
|
|
19996
|
-
required:
|
|
19997
|
-
- channel
|
|
19998
|
-
- site
|
|
19999
19469
|
SiteStructureChannel:
|
|
20000
19470
|
type: object
|
|
20001
19471
|
description: Subscription channel for changes in site structure in an organization.
|
|
@@ -20049,19 +19519,6 @@ components:
|
|
|
20049
19519
|
- channel
|
|
20050
19520
|
- site
|
|
20051
19521
|
- siteShareLink
|
|
20052
|
-
SiteSectionsChannel:
|
|
20053
|
-
type: object
|
|
20054
|
-
description: Subscription channel for changes in site sections in an organization.
|
|
20055
|
-
properties:
|
|
20056
|
-
channel:
|
|
20057
|
-
type: string
|
|
20058
|
-
enum:
|
|
20059
|
-
- site-sections
|
|
20060
|
-
site:
|
|
20061
|
-
type: string
|
|
20062
|
-
required:
|
|
20063
|
-
- channel
|
|
20064
|
-
- site
|
|
20065
19522
|
SiteSectionChannel:
|
|
20066
19523
|
type: object
|
|
20067
19524
|
properties:
|
|
@@ -20126,8 +19583,6 @@ components:
|
|
|
20126
19583
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
20127
19584
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
20128
19585
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
20129
|
-
- $ref: "#/components/schemas/OrganizationSyncedBlocksChannel"
|
|
20130
|
-
- $ref: "#/components/schemas/OrganizationSyncedBlockChannel"
|
|
20131
19586
|
- $ref: "#/components/schemas/CommentsChannel"
|
|
20132
19587
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
20133
19588
|
- $ref: "#/components/schemas/CommentReplyInfoChannel"
|
|
@@ -20143,12 +19598,10 @@ components:
|
|
|
20143
19598
|
- $ref: "#/components/schemas/SiteIntegrationsChannel"
|
|
20144
19599
|
- $ref: "#/components/schemas/SiteSpaceChannel"
|
|
20145
19600
|
- $ref: "#/components/schemas/SiteSpaceCustomizationChannel"
|
|
20146
|
-
- $ref: "#/components/schemas/SiteSpacesChannel"
|
|
20147
19601
|
- $ref: "#/components/schemas/SiteStructureChannel"
|
|
20148
19602
|
- $ref: "#/components/schemas/SitePublishingAuthChannel"
|
|
20149
19603
|
- $ref: "#/components/schemas/SiteShareLinksChannel"
|
|
20150
19604
|
- $ref: "#/components/schemas/SiteShareLinkChannel"
|
|
20151
|
-
- $ref: "#/components/schemas/SiteSectionsChannel"
|
|
20152
19605
|
- $ref: "#/components/schemas/SiteSectionChannel"
|
|
20153
19606
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
20154
19607
|
discriminator:
|
|
@@ -20205,8 +19658,6 @@ components:
|
|
|
20205
19658
|
$ref: "#/components/schemas/InviteUsersToOrganization"
|
|
20206
19659
|
RequestImportGitRepository:
|
|
20207
19660
|
$ref: "#/components/schemas/ImportGitRepository"
|
|
20208
|
-
RequestSyncGitRepository:
|
|
20209
|
-
$ref: "#/components/schemas/SyncGitRepository"
|
|
20210
19661
|
RequestExportToGitRepository:
|
|
20211
19662
|
$ref: "#/components/schemas/ExportToGitRepository"
|
|
20212
19663
|
RequestImportContent:
|