@gitbook/api 0.178.0 → 0.180.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 +422 -11
- package/dist/constants.d.ts +5 -2
- package/dist/index.cjs +104 -3
- package/dist/index.js +98 -3
- package/package.json +1 -1
- package/spec/openapi.json +930 -21
- package/spec/openapi.yaml +597 -13
package/spec/openapi.json
CHANGED
|
@@ -1793,6 +1793,9 @@
|
|
|
1793
1793
|
{
|
|
1794
1794
|
"$ref": "#/components/parameters/documentFormat"
|
|
1795
1795
|
},
|
|
1796
|
+
{
|
|
1797
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
1798
|
+
},
|
|
1796
1799
|
{
|
|
1797
1800
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
1798
1801
|
},
|
|
@@ -2005,6 +2008,9 @@
|
|
|
2005
2008
|
{
|
|
2006
2009
|
"$ref": "#/components/parameters/documentFormat"
|
|
2007
2010
|
},
|
|
2011
|
+
{
|
|
2012
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
2013
|
+
},
|
|
2008
2014
|
{
|
|
2009
2015
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
2010
2016
|
},
|
|
@@ -3864,6 +3870,9 @@
|
|
|
3864
3870
|
{
|
|
3865
3871
|
"$ref": "#/components/parameters/documentFormat"
|
|
3866
3872
|
},
|
|
3873
|
+
{
|
|
3874
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
3875
|
+
},
|
|
3867
3876
|
{
|
|
3868
3877
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
3869
3878
|
},
|
|
@@ -4478,6 +4487,9 @@
|
|
|
4478
4487
|
{
|
|
4479
4488
|
"$ref": "#/components/parameters/documentFormat"
|
|
4480
4489
|
},
|
|
4490
|
+
{
|
|
4491
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
4492
|
+
},
|
|
4481
4493
|
{
|
|
4482
4494
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
4483
4495
|
},
|
|
@@ -4573,6 +4585,9 @@
|
|
|
4573
4585
|
{
|
|
4574
4586
|
"$ref": "#/components/parameters/documentFormat"
|
|
4575
4587
|
},
|
|
4588
|
+
{
|
|
4589
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
4590
|
+
},
|
|
4576
4591
|
{
|
|
4577
4592
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
4578
4593
|
},
|
|
@@ -4669,6 +4684,9 @@
|
|
|
4669
4684
|
{
|
|
4670
4685
|
"$ref": "#/components/parameters/documentFormat"
|
|
4671
4686
|
},
|
|
4687
|
+
{
|
|
4688
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
4689
|
+
},
|
|
4672
4690
|
{
|
|
4673
4691
|
"$ref": "#/components/parameters/documentEvaluated"
|
|
4674
4692
|
},
|
|
@@ -9130,6 +9148,24 @@
|
|
|
9130
9148
|
},
|
|
9131
9149
|
"description": "If defined, only change requests with a requested reviewer for this user will be returned."
|
|
9132
9150
|
},
|
|
9151
|
+
{
|
|
9152
|
+
"name": "site",
|
|
9153
|
+
"in": "query",
|
|
9154
|
+
"required": false,
|
|
9155
|
+
"schema": {
|
|
9156
|
+
"type": "string"
|
|
9157
|
+
},
|
|
9158
|
+
"description": "If defined, only change requests linked to this site will be returned."
|
|
9159
|
+
},
|
|
9160
|
+
{
|
|
9161
|
+
"name": "space",
|
|
9162
|
+
"in": "query",
|
|
9163
|
+
"required": false,
|
|
9164
|
+
"schema": {
|
|
9165
|
+
"type": "string"
|
|
9166
|
+
},
|
|
9167
|
+
"description": "If defined, only change requests from this space will be returned."
|
|
9168
|
+
},
|
|
9133
9169
|
{
|
|
9134
9170
|
"name": "topic",
|
|
9135
9171
|
"in": "query",
|
|
@@ -13717,6 +13753,9 @@
|
|
|
13717
13753
|
},
|
|
13718
13754
|
"scope": {
|
|
13719
13755
|
"$ref": "#/components/schemas/SiteSearchScope"
|
|
13756
|
+
},
|
|
13757
|
+
"session": {
|
|
13758
|
+
"$ref": "#/components/schemas/SiteInsightsSession"
|
|
13720
13759
|
}
|
|
13721
13760
|
}
|
|
13722
13761
|
}
|
|
@@ -19031,6 +19070,386 @@
|
|
|
19031
19070
|
}
|
|
19032
19071
|
}
|
|
19033
19072
|
}
|
|
19073
|
+
},
|
|
19074
|
+
"/git/installations": {
|
|
19075
|
+
"post": {
|
|
19076
|
+
"operationId": "installGitSyncProviderOnTarget",
|
|
19077
|
+
"summary": "Install a Git Sync provider on a target",
|
|
19078
|
+
"tags": [
|
|
19079
|
+
"git"
|
|
19080
|
+
],
|
|
19081
|
+
"security": [
|
|
19082
|
+
{
|
|
19083
|
+
"user": []
|
|
19084
|
+
}
|
|
19085
|
+
],
|
|
19086
|
+
"requestBody": {
|
|
19087
|
+
"required": true,
|
|
19088
|
+
"content": {
|
|
19089
|
+
"application/json": {
|
|
19090
|
+
"schema": {
|
|
19091
|
+
"type": "object",
|
|
19092
|
+
"properties": {
|
|
19093
|
+
"provider": {
|
|
19094
|
+
"$ref": "#/components/schemas/GitSyncInstallationProvider"
|
|
19095
|
+
},
|
|
19096
|
+
"target": {
|
|
19097
|
+
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
19098
|
+
}
|
|
19099
|
+
},
|
|
19100
|
+
"required": [
|
|
19101
|
+
"provider",
|
|
19102
|
+
"target"
|
|
19103
|
+
]
|
|
19104
|
+
}
|
|
19105
|
+
}
|
|
19106
|
+
}
|
|
19107
|
+
},
|
|
19108
|
+
"responses": {
|
|
19109
|
+
"201": {
|
|
19110
|
+
"description": "Git Sync installation was created successfully",
|
|
19111
|
+
"content": {
|
|
19112
|
+
"application/json": {
|
|
19113
|
+
"schema": {
|
|
19114
|
+
"$ref": "#/components/schemas/GitSyncInstallation"
|
|
19115
|
+
}
|
|
19116
|
+
}
|
|
19117
|
+
}
|
|
19118
|
+
},
|
|
19119
|
+
"404": {
|
|
19120
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19121
|
+
},
|
|
19122
|
+
"409": {
|
|
19123
|
+
"$ref": "#/components/responses/ConflictError"
|
|
19124
|
+
}
|
|
19125
|
+
}
|
|
19126
|
+
}
|
|
19127
|
+
},
|
|
19128
|
+
"/git/installations/{installationId}": {
|
|
19129
|
+
"get": {
|
|
19130
|
+
"operationId": "getGitSyncInstallationById",
|
|
19131
|
+
"summary": "Get a Git Sync installation",
|
|
19132
|
+
"tags": [
|
|
19133
|
+
"git"
|
|
19134
|
+
],
|
|
19135
|
+
"security": [
|
|
19136
|
+
{
|
|
19137
|
+
"user": []
|
|
19138
|
+
}
|
|
19139
|
+
],
|
|
19140
|
+
"parameters": [
|
|
19141
|
+
{
|
|
19142
|
+
"$ref": "#/components/parameters/installationId"
|
|
19143
|
+
}
|
|
19144
|
+
],
|
|
19145
|
+
"responses": {
|
|
19146
|
+
"200": {
|
|
19147
|
+
"description": "Git Sync installation was found successfully",
|
|
19148
|
+
"content": {
|
|
19149
|
+
"application/json": {
|
|
19150
|
+
"schema": {
|
|
19151
|
+
"$ref": "#/components/schemas/GitSyncInstallation"
|
|
19152
|
+
}
|
|
19153
|
+
}
|
|
19154
|
+
}
|
|
19155
|
+
},
|
|
19156
|
+
"401": {
|
|
19157
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19158
|
+
},
|
|
19159
|
+
"404": {
|
|
19160
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19161
|
+
}
|
|
19162
|
+
}
|
|
19163
|
+
},
|
|
19164
|
+
"patch": {
|
|
19165
|
+
"operationId": "updateGitSyncInstallationById",
|
|
19166
|
+
"summary": "Update a Git Sync installation configuration",
|
|
19167
|
+
"tags": [
|
|
19168
|
+
"git"
|
|
19169
|
+
],
|
|
19170
|
+
"security": [
|
|
19171
|
+
{
|
|
19172
|
+
"user": []
|
|
19173
|
+
}
|
|
19174
|
+
],
|
|
19175
|
+
"parameters": [
|
|
19176
|
+
{
|
|
19177
|
+
"$ref": "#/components/parameters/installationId"
|
|
19178
|
+
}
|
|
19179
|
+
],
|
|
19180
|
+
"requestBody": {
|
|
19181
|
+
"required": true,
|
|
19182
|
+
"content": {
|
|
19183
|
+
"application/json": {
|
|
19184
|
+
"schema": {
|
|
19185
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
19186
|
+
}
|
|
19187
|
+
}
|
|
19188
|
+
}
|
|
19189
|
+
},
|
|
19190
|
+
"responses": {
|
|
19191
|
+
"200": {
|
|
19192
|
+
"description": "Git Sync installation was updated successfully",
|
|
19193
|
+
"content": {
|
|
19194
|
+
"application/json": {
|
|
19195
|
+
"schema": {
|
|
19196
|
+
"$ref": "#/components/schemas/GitSyncInstallation"
|
|
19197
|
+
}
|
|
19198
|
+
}
|
|
19199
|
+
}
|
|
19200
|
+
},
|
|
19201
|
+
"401": {
|
|
19202
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19203
|
+
},
|
|
19204
|
+
"404": {
|
|
19205
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19206
|
+
},
|
|
19207
|
+
"409": {
|
|
19208
|
+
"$ref": "#/components/responses/ConflictError"
|
|
19209
|
+
}
|
|
19210
|
+
}
|
|
19211
|
+
},
|
|
19212
|
+
"delete": {
|
|
19213
|
+
"operationId": "uninstallGitSyncInstallation",
|
|
19214
|
+
"summary": "Uninstall a Git Sync installation",
|
|
19215
|
+
"tags": [
|
|
19216
|
+
"git"
|
|
19217
|
+
],
|
|
19218
|
+
"security": [
|
|
19219
|
+
{
|
|
19220
|
+
"user": []
|
|
19221
|
+
}
|
|
19222
|
+
],
|
|
19223
|
+
"parameters": [
|
|
19224
|
+
{
|
|
19225
|
+
"$ref": "#/components/parameters/installationId"
|
|
19226
|
+
}
|
|
19227
|
+
],
|
|
19228
|
+
"responses": {
|
|
19229
|
+
"205": {
|
|
19230
|
+
"description": "Git Sync installation was removed successfully"
|
|
19231
|
+
},
|
|
19232
|
+
"404": {
|
|
19233
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19234
|
+
}
|
|
19235
|
+
}
|
|
19236
|
+
}
|
|
19237
|
+
},
|
|
19238
|
+
"/git/installations/{installationId}/github/repos": {
|
|
19239
|
+
"get": {
|
|
19240
|
+
"operationId": "listGitHubRepositoriesForGitSyncInstallation",
|
|
19241
|
+
"summary": "List GitHub repositories available for a Git Sync installation",
|
|
19242
|
+
"tags": [
|
|
19243
|
+
"git"
|
|
19244
|
+
],
|
|
19245
|
+
"security": [
|
|
19246
|
+
{
|
|
19247
|
+
"user": []
|
|
19248
|
+
}
|
|
19249
|
+
],
|
|
19250
|
+
"parameters": [
|
|
19251
|
+
{
|
|
19252
|
+
"$ref": "#/components/parameters/installationId"
|
|
19253
|
+
}
|
|
19254
|
+
],
|
|
19255
|
+
"responses": {
|
|
19256
|
+
"200": {
|
|
19257
|
+
"description": "GitHub repositories available for the Git Sync installation",
|
|
19258
|
+
"content": {
|
|
19259
|
+
"application/json": {
|
|
19260
|
+
"schema": {
|
|
19261
|
+
"type": "object",
|
|
19262
|
+
"properties": {
|
|
19263
|
+
"items": {
|
|
19264
|
+
"type": "array",
|
|
19265
|
+
"items": {
|
|
19266
|
+
"$ref": "#/components/schemas/GitSyncGitHubRepository"
|
|
19267
|
+
}
|
|
19268
|
+
}
|
|
19269
|
+
},
|
|
19270
|
+
"required": [
|
|
19271
|
+
"items"
|
|
19272
|
+
]
|
|
19273
|
+
}
|
|
19274
|
+
}
|
|
19275
|
+
}
|
|
19276
|
+
},
|
|
19277
|
+
"401": {
|
|
19278
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19279
|
+
},
|
|
19280
|
+
"404": {
|
|
19281
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19282
|
+
}
|
|
19283
|
+
}
|
|
19284
|
+
}
|
|
19285
|
+
},
|
|
19286
|
+
"/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches": {
|
|
19287
|
+
"get": {
|
|
19288
|
+
"operationId": "listGitHubRepoBranchesForGitSyncInstallation",
|
|
19289
|
+
"summary": "List GitHub repository branches available for a Git Sync installation",
|
|
19290
|
+
"tags": [
|
|
19291
|
+
"git"
|
|
19292
|
+
],
|
|
19293
|
+
"security": [
|
|
19294
|
+
{
|
|
19295
|
+
"user": []
|
|
19296
|
+
}
|
|
19297
|
+
],
|
|
19298
|
+
"parameters": [
|
|
19299
|
+
{
|
|
19300
|
+
"$ref": "#/components/parameters/installationId"
|
|
19301
|
+
},
|
|
19302
|
+
{
|
|
19303
|
+
"name": "accountName",
|
|
19304
|
+
"in": "path",
|
|
19305
|
+
"required": true,
|
|
19306
|
+
"schema": {
|
|
19307
|
+
"type": "string"
|
|
19308
|
+
}
|
|
19309
|
+
},
|
|
19310
|
+
{
|
|
19311
|
+
"name": "repositoryName",
|
|
19312
|
+
"in": "path",
|
|
19313
|
+
"required": true,
|
|
19314
|
+
"schema": {
|
|
19315
|
+
"type": "string"
|
|
19316
|
+
}
|
|
19317
|
+
}
|
|
19318
|
+
],
|
|
19319
|
+
"responses": {
|
|
19320
|
+
"200": {
|
|
19321
|
+
"description": "GitHub branches available for the selected repository",
|
|
19322
|
+
"content": {
|
|
19323
|
+
"application/json": {
|
|
19324
|
+
"schema": {
|
|
19325
|
+
"type": "object",
|
|
19326
|
+
"properties": {
|
|
19327
|
+
"items": {
|
|
19328
|
+
"type": "array",
|
|
19329
|
+
"items": {
|
|
19330
|
+
"$ref": "#/components/schemas/GitSyncBranch"
|
|
19331
|
+
}
|
|
19332
|
+
}
|
|
19333
|
+
},
|
|
19334
|
+
"required": [
|
|
19335
|
+
"items"
|
|
19336
|
+
]
|
|
19337
|
+
}
|
|
19338
|
+
}
|
|
19339
|
+
}
|
|
19340
|
+
},
|
|
19341
|
+
"401": {
|
|
19342
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19343
|
+
},
|
|
19344
|
+
"404": {
|
|
19345
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19346
|
+
}
|
|
19347
|
+
}
|
|
19348
|
+
}
|
|
19349
|
+
},
|
|
19350
|
+
"/git/installations/{installationId}/gitlab/projects": {
|
|
19351
|
+
"get": {
|
|
19352
|
+
"operationId": "listGitLabProjectsForGitSyncInstallation",
|
|
19353
|
+
"summary": "List GitLab projects available for a Git Sync installation",
|
|
19354
|
+
"tags": [
|
|
19355
|
+
"git"
|
|
19356
|
+
],
|
|
19357
|
+
"security": [
|
|
19358
|
+
{
|
|
19359
|
+
"user": []
|
|
19360
|
+
}
|
|
19361
|
+
],
|
|
19362
|
+
"parameters": [
|
|
19363
|
+
{
|
|
19364
|
+
"$ref": "#/components/parameters/installationId"
|
|
19365
|
+
}
|
|
19366
|
+
],
|
|
19367
|
+
"responses": {
|
|
19368
|
+
"200": {
|
|
19369
|
+
"description": "GitLab projects available for the Git Sync installation",
|
|
19370
|
+
"content": {
|
|
19371
|
+
"application/json": {
|
|
19372
|
+
"schema": {
|
|
19373
|
+
"type": "object",
|
|
19374
|
+
"properties": {
|
|
19375
|
+
"items": {
|
|
19376
|
+
"type": "array",
|
|
19377
|
+
"items": {
|
|
19378
|
+
"$ref": "#/components/schemas/GitSyncGitLabProject"
|
|
19379
|
+
}
|
|
19380
|
+
}
|
|
19381
|
+
},
|
|
19382
|
+
"required": [
|
|
19383
|
+
"items"
|
|
19384
|
+
]
|
|
19385
|
+
}
|
|
19386
|
+
}
|
|
19387
|
+
}
|
|
19388
|
+
},
|
|
19389
|
+
"401": {
|
|
19390
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19391
|
+
},
|
|
19392
|
+
"404": {
|
|
19393
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19394
|
+
}
|
|
19395
|
+
}
|
|
19396
|
+
}
|
|
19397
|
+
},
|
|
19398
|
+
"/git/installations/{installationId}/gitlab/projects/{projectId}/branches": {
|
|
19399
|
+
"get": {
|
|
19400
|
+
"operationId": "listGitLabProjectBranchesForGitSyncInstallation",
|
|
19401
|
+
"summary": "List GitLab project branches available for a Git Sync installation",
|
|
19402
|
+
"tags": [
|
|
19403
|
+
"git"
|
|
19404
|
+
],
|
|
19405
|
+
"security": [
|
|
19406
|
+
{
|
|
19407
|
+
"user": []
|
|
19408
|
+
}
|
|
19409
|
+
],
|
|
19410
|
+
"parameters": [
|
|
19411
|
+
{
|
|
19412
|
+
"$ref": "#/components/parameters/installationId"
|
|
19413
|
+
},
|
|
19414
|
+
{
|
|
19415
|
+
"name": "projectId",
|
|
19416
|
+
"in": "path",
|
|
19417
|
+
"required": true,
|
|
19418
|
+
"schema": {
|
|
19419
|
+
"type": "number"
|
|
19420
|
+
}
|
|
19421
|
+
}
|
|
19422
|
+
],
|
|
19423
|
+
"responses": {
|
|
19424
|
+
"200": {
|
|
19425
|
+
"description": "GitLab branches available for the selected project",
|
|
19426
|
+
"content": {
|
|
19427
|
+
"application/json": {
|
|
19428
|
+
"schema": {
|
|
19429
|
+
"type": "object",
|
|
19430
|
+
"properties": {
|
|
19431
|
+
"items": {
|
|
19432
|
+
"type": "array",
|
|
19433
|
+
"items": {
|
|
19434
|
+
"$ref": "#/components/schemas/GitSyncBranch"
|
|
19435
|
+
}
|
|
19436
|
+
}
|
|
19437
|
+
},
|
|
19438
|
+
"required": [
|
|
19439
|
+
"items"
|
|
19440
|
+
]
|
|
19441
|
+
}
|
|
19442
|
+
}
|
|
19443
|
+
}
|
|
19444
|
+
},
|
|
19445
|
+
"401": {
|
|
19446
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
19447
|
+
},
|
|
19448
|
+
"404": {
|
|
19449
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
19450
|
+
}
|
|
19451
|
+
}
|
|
19452
|
+
}
|
|
19034
19453
|
}
|
|
19035
19454
|
},
|
|
19036
19455
|
"components": {
|
|
@@ -19171,6 +19590,19 @@
|
|
|
19171
19590
|
]
|
|
19172
19591
|
}
|
|
19173
19592
|
},
|
|
19593
|
+
"documentMarkdownRefsFormat": {
|
|
19594
|
+
"name": "format.markdown.refs",
|
|
19595
|
+
"in": "query",
|
|
19596
|
+
"description": "Controls how content references are formatted in markdown output. Ignored unless `format=markdown`.\n\n- `relative`: Format page references as relative links from the current page. Other references might not be handled.\n- `stable`: Format content references as stable idempotent refs containing their identifiers.\n",
|
|
19597
|
+
"schema": {
|
|
19598
|
+
"type": "string",
|
|
19599
|
+
"default": "relative",
|
|
19600
|
+
"enum": [
|
|
19601
|
+
"relative",
|
|
19602
|
+
"stable"
|
|
19603
|
+
]
|
|
19604
|
+
}
|
|
19605
|
+
},
|
|
19174
19606
|
"documentEvaluated": {
|
|
19175
19607
|
"name": "evaluated",
|
|
19176
19608
|
"in": "query",
|
|
@@ -20136,6 +20568,7 @@
|
|
|
20136
20568
|
"ru",
|
|
20137
20569
|
"ja",
|
|
20138
20570
|
"zh",
|
|
20571
|
+
"zh-tw",
|
|
20139
20572
|
"yue",
|
|
20140
20573
|
"ko",
|
|
20141
20574
|
"ar",
|
|
@@ -20166,6 +20599,14 @@
|
|
|
20166
20599
|
"sl"
|
|
20167
20600
|
]
|
|
20168
20601
|
},
|
|
20602
|
+
"GitSyncInstallationStatus": {
|
|
20603
|
+
"type": "string",
|
|
20604
|
+
"enum": [
|
|
20605
|
+
"unauthenticated",
|
|
20606
|
+
"active",
|
|
20607
|
+
"pending"
|
|
20608
|
+
]
|
|
20609
|
+
},
|
|
20169
20610
|
"GitSyncProvider": {
|
|
20170
20611
|
"type": "string",
|
|
20171
20612
|
"description": "The provider of the Git Sync installation.",
|
|
@@ -20182,13 +20623,21 @@
|
|
|
20182
20623
|
"type": "string",
|
|
20183
20624
|
"description": "Repository name."
|
|
20184
20625
|
},
|
|
20626
|
+
"installationStatus": {
|
|
20627
|
+
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
20628
|
+
},
|
|
20185
20629
|
"installationProvider": {
|
|
20186
20630
|
"$ref": "#/components/schemas/GitSyncProvider"
|
|
20187
20631
|
},
|
|
20188
20632
|
"integration": {
|
|
20189
20633
|
"type": "string",
|
|
20634
|
+
"deprecated": true,
|
|
20190
20635
|
"description": "The integration name providing the Git Sync."
|
|
20191
20636
|
},
|
|
20637
|
+
"installationId": {
|
|
20638
|
+
"type": "string",
|
|
20639
|
+
"description": "The ID of the Git Sync installation."
|
|
20640
|
+
},
|
|
20192
20641
|
"url": {
|
|
20193
20642
|
"type": "string",
|
|
20194
20643
|
"description": "The URL to the repository tree, used when rendering public content."
|
|
@@ -21221,6 +21670,7 @@
|
|
|
21221
21670
|
},
|
|
21222
21671
|
"DocumentTextColor": {
|
|
21223
21672
|
"type": "string",
|
|
21673
|
+
"description": "Allowed color tokens for color marks (text and background; background reuses this enum). Named colors are fixed palette keys. `$*` tokens are semantic: resolved from the published sites customization when rendering; authors may still persist them in content when valid.\n",
|
|
21224
21674
|
"enum": [
|
|
21225
21675
|
"default",
|
|
21226
21676
|
"green",
|
|
@@ -21229,11 +21679,15 @@
|
|
|
21229
21679
|
"orange",
|
|
21230
21680
|
"yellow",
|
|
21231
21681
|
"purple",
|
|
21682
|
+
"pink",
|
|
21683
|
+
"violet",
|
|
21684
|
+
"cyan",
|
|
21232
21685
|
"$primary",
|
|
21233
21686
|
"$info",
|
|
21234
21687
|
"$success",
|
|
21235
21688
|
"$warning",
|
|
21236
|
-
"$danger"
|
|
21689
|
+
"$danger",
|
|
21690
|
+
"$tint"
|
|
21237
21691
|
]
|
|
21238
21692
|
},
|
|
21239
21693
|
"DocumentMarkColor": {
|
|
@@ -26951,13 +27405,18 @@
|
|
|
26951
27405
|
"computed"
|
|
26952
27406
|
]
|
|
26953
27407
|
},
|
|
27408
|
+
"sourceRevision": {
|
|
27409
|
+
"type": "string",
|
|
27410
|
+
"description": "ID of the non-computed revision used to compute this revision."
|
|
27411
|
+
},
|
|
26954
27412
|
"mergedFrom": {
|
|
26955
27413
|
"description": "The change request the source revision was merged from, when the computed revision is derived from a merge revision.",
|
|
26956
27414
|
"$ref": "#/components/schemas/ChangeRequest"
|
|
26957
27415
|
}
|
|
26958
27416
|
},
|
|
26959
27417
|
"required": [
|
|
26960
|
-
"type"
|
|
27418
|
+
"type",
|
|
27419
|
+
"sourceRevision"
|
|
26961
27420
|
]
|
|
26962
27421
|
}
|
|
26963
27422
|
]
|
|
@@ -36046,6 +36505,10 @@
|
|
|
36046
36505
|
"cancelled"
|
|
36047
36506
|
]
|
|
36048
36507
|
},
|
|
36508
|
+
"reason": {
|
|
36509
|
+
"description": "Reason for the import failure when `status` is `failed`.",
|
|
36510
|
+
"type": "string"
|
|
36511
|
+
},
|
|
36049
36512
|
"pages": {
|
|
36050
36513
|
"description": "Pages included in the import",
|
|
36051
36514
|
"type": "array",
|
|
@@ -37767,6 +38230,24 @@
|
|
|
37767
38230
|
"url"
|
|
37768
38231
|
]
|
|
37769
38232
|
},
|
|
38233
|
+
"SiteInsightsSession": {
|
|
38234
|
+
"type": "object",
|
|
38235
|
+
"description": "Identifiers for a GitBook site session, used for analytics and adaptive content.",
|
|
38236
|
+
"properties": {
|
|
38237
|
+
"visitorId": {
|
|
38238
|
+
"type": "string",
|
|
38239
|
+
"description": "GitBook's unique identifier of the visitor."
|
|
38240
|
+
},
|
|
38241
|
+
"sessionId": {
|
|
38242
|
+
"type": "string",
|
|
38243
|
+
"description": "GitBook's unique identifier of the visitor's session."
|
|
38244
|
+
}
|
|
38245
|
+
},
|
|
38246
|
+
"required": [
|
|
38247
|
+
"visitorId",
|
|
38248
|
+
"sessionId"
|
|
38249
|
+
]
|
|
38250
|
+
},
|
|
37770
38251
|
"ContextRecordType": {
|
|
37771
38252
|
"type": "string",
|
|
37772
38253
|
"enum": [
|
|
@@ -39013,24 +39494,6 @@
|
|
|
39013
39494
|
"high"
|
|
39014
39495
|
]
|
|
39015
39496
|
},
|
|
39016
|
-
"SiteInsightsSession": {
|
|
39017
|
-
"type": "object",
|
|
39018
|
-
"description": "Identifiers for a GitBook site session, used for analytics and adaptive content.",
|
|
39019
|
-
"properties": {
|
|
39020
|
-
"visitorId": {
|
|
39021
|
-
"type": "string",
|
|
39022
|
-
"description": "GitBook's unique identifier of the visitor."
|
|
39023
|
-
},
|
|
39024
|
-
"sessionId": {
|
|
39025
|
-
"type": "string",
|
|
39026
|
-
"description": "GitBook's unique identifier of the visitor's session."
|
|
39027
|
-
}
|
|
39028
|
-
},
|
|
39029
|
-
"required": [
|
|
39030
|
-
"visitorId",
|
|
39031
|
-
"sessionId"
|
|
39032
|
-
]
|
|
39033
|
-
},
|
|
39034
39497
|
"SiteCoreChannelType": {
|
|
39035
39498
|
"type": "string",
|
|
39036
39499
|
"enum": [
|
|
@@ -39482,6 +39945,10 @@
|
|
|
39482
39945
|
"type": "string",
|
|
39483
39946
|
"description": "The ID of the space being edited."
|
|
39484
39947
|
},
|
|
39948
|
+
"baseRevisionId": {
|
|
39949
|
+
"type": "string",
|
|
39950
|
+
"description": "The base revision ID used to compare the page change in the current conversation."
|
|
39951
|
+
},
|
|
39485
39952
|
"page": {
|
|
39486
39953
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
39487
39954
|
}
|
|
@@ -39489,6 +39956,7 @@
|
|
|
39489
39956
|
"required": [
|
|
39490
39957
|
"tool",
|
|
39491
39958
|
"spaceId",
|
|
39959
|
+
"baseRevisionId",
|
|
39492
39960
|
"page"
|
|
39493
39961
|
]
|
|
39494
39962
|
},
|
|
@@ -39505,6 +39973,10 @@
|
|
|
39505
39973
|
"type": "string",
|
|
39506
39974
|
"description": "The ID of the space being edited."
|
|
39507
39975
|
},
|
|
39976
|
+
"baseRevisionId": {
|
|
39977
|
+
"type": "string",
|
|
39978
|
+
"description": "The base revision ID used to compare the page change in the current conversation."
|
|
39979
|
+
},
|
|
39508
39980
|
"page": {
|
|
39509
39981
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
39510
39982
|
}
|
|
@@ -39512,6 +39984,7 @@
|
|
|
39512
39984
|
"required": [
|
|
39513
39985
|
"tool",
|
|
39514
39986
|
"spaceId",
|
|
39987
|
+
"baseRevisionId",
|
|
39515
39988
|
"page"
|
|
39516
39989
|
]
|
|
39517
39990
|
},
|
|
@@ -39528,6 +40001,10 @@
|
|
|
39528
40001
|
"type": "string",
|
|
39529
40002
|
"description": "The ID of the space being edited."
|
|
39530
40003
|
},
|
|
40004
|
+
"baseRevisionId": {
|
|
40005
|
+
"type": "string",
|
|
40006
|
+
"description": "The base revision ID used to compare the page deletion in the current conversation."
|
|
40007
|
+
},
|
|
39531
40008
|
"page": {
|
|
39532
40009
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
39533
40010
|
}
|
|
@@ -39535,6 +40012,7 @@
|
|
|
39535
40012
|
"required": [
|
|
39536
40013
|
"tool",
|
|
39537
40014
|
"spaceId",
|
|
40015
|
+
"baseRevisionId",
|
|
39538
40016
|
"page"
|
|
39539
40017
|
]
|
|
39540
40018
|
},
|
|
@@ -39551,6 +40029,10 @@
|
|
|
39551
40029
|
"type": "string",
|
|
39552
40030
|
"description": "The ID of the space being edited."
|
|
39553
40031
|
},
|
|
40032
|
+
"baseRevisionId": {
|
|
40033
|
+
"type": "string",
|
|
40034
|
+
"description": "The base revision ID used to compare the page rename in the current conversation."
|
|
40035
|
+
},
|
|
39554
40036
|
"page": {
|
|
39555
40037
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
39556
40038
|
},
|
|
@@ -39562,6 +40044,7 @@
|
|
|
39562
40044
|
"required": [
|
|
39563
40045
|
"tool",
|
|
39564
40046
|
"spaceId",
|
|
40047
|
+
"baseRevisionId",
|
|
39565
40048
|
"page",
|
|
39566
40049
|
"title"
|
|
39567
40050
|
]
|
|
@@ -39579,6 +40062,10 @@
|
|
|
39579
40062
|
"type": "string",
|
|
39580
40063
|
"description": "The ID of the space being edited."
|
|
39581
40064
|
},
|
|
40065
|
+
"baseRevisionId": {
|
|
40066
|
+
"type": "string",
|
|
40067
|
+
"description": "The base revision ID used to compare the page move in the current conversation."
|
|
40068
|
+
},
|
|
39582
40069
|
"page": {
|
|
39583
40070
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
39584
40071
|
},
|
|
@@ -39598,6 +40085,7 @@
|
|
|
39598
40085
|
"required": [
|
|
39599
40086
|
"tool",
|
|
39600
40087
|
"spaceId",
|
|
40088
|
+
"baseRevisionId",
|
|
39601
40089
|
"page",
|
|
39602
40090
|
"moveType"
|
|
39603
40091
|
]
|
|
@@ -39657,6 +40145,10 @@
|
|
|
39657
40145
|
"type": "string",
|
|
39658
40146
|
"description": "The ID of the space being edited."
|
|
39659
40147
|
},
|
|
40148
|
+
"baseRevisionId": {
|
|
40149
|
+
"type": "string",
|
|
40150
|
+
"description": "The base revision ID used to compare the reusable content change in the current conversation."
|
|
40151
|
+
},
|
|
39660
40152
|
"reusableContent": {
|
|
39661
40153
|
"$ref": "#/components/schemas/ChangedRevisionReusableContent"
|
|
39662
40154
|
}
|
|
@@ -39664,6 +40156,7 @@
|
|
|
39664
40156
|
"required": [
|
|
39665
40157
|
"tool",
|
|
39666
40158
|
"spaceId",
|
|
40159
|
+
"baseRevisionId",
|
|
39667
40160
|
"reusableContent"
|
|
39668
40161
|
]
|
|
39669
40162
|
},
|
|
@@ -39680,6 +40173,10 @@
|
|
|
39680
40173
|
"type": "string",
|
|
39681
40174
|
"description": "The ID of the space being edited."
|
|
39682
40175
|
},
|
|
40176
|
+
"baseRevisionId": {
|
|
40177
|
+
"type": "string",
|
|
40178
|
+
"description": "The base revision ID used to compare the reusable content change in the current conversation."
|
|
40179
|
+
},
|
|
39683
40180
|
"reusableContent": {
|
|
39684
40181
|
"$ref": "#/components/schemas/ChangedRevisionReusableContent"
|
|
39685
40182
|
}
|
|
@@ -39687,6 +40184,7 @@
|
|
|
39687
40184
|
"required": [
|
|
39688
40185
|
"tool",
|
|
39689
40186
|
"spaceId",
|
|
40187
|
+
"baseRevisionId",
|
|
39690
40188
|
"reusableContent"
|
|
39691
40189
|
]
|
|
39692
40190
|
},
|
|
@@ -40565,6 +41063,44 @@
|
|
|
40565
41063
|
"spaceId",
|
|
40566
41064
|
"pageId"
|
|
40567
41065
|
]
|
|
41066
|
+
},
|
|
41067
|
+
"selection": {
|
|
41068
|
+
"type": "object",
|
|
41069
|
+
"description": "Range of the current selection in a document.",
|
|
41070
|
+
"properties": {
|
|
41071
|
+
"anchorKey": {
|
|
41072
|
+
"oneOf": [
|
|
41073
|
+
{
|
|
41074
|
+
"type": "string"
|
|
41075
|
+
},
|
|
41076
|
+
{
|
|
41077
|
+
"type": "null"
|
|
41078
|
+
}
|
|
41079
|
+
]
|
|
41080
|
+
},
|
|
41081
|
+
"anchorOffset": {
|
|
41082
|
+
"type": "integer"
|
|
41083
|
+
},
|
|
41084
|
+
"focusKey": {
|
|
41085
|
+
"oneOf": [
|
|
41086
|
+
{
|
|
41087
|
+
"type": "string"
|
|
41088
|
+
},
|
|
41089
|
+
{
|
|
41090
|
+
"type": "null"
|
|
41091
|
+
}
|
|
41092
|
+
]
|
|
41093
|
+
},
|
|
41094
|
+
"focusOffset": {
|
|
41095
|
+
"type": "integer"
|
|
41096
|
+
}
|
|
41097
|
+
},
|
|
41098
|
+
"required": [
|
|
41099
|
+
"anchorKey",
|
|
41100
|
+
"anchorOffset",
|
|
41101
|
+
"focusKey",
|
|
41102
|
+
"focusOffset"
|
|
41103
|
+
]
|
|
40568
41104
|
}
|
|
40569
41105
|
}
|
|
40570
41106
|
},
|
|
@@ -42641,6 +43177,8 @@
|
|
|
42641
43177
|
"facebookbot",
|
|
42642
43178
|
"applebot",
|
|
42643
43179
|
"chatgpt",
|
|
43180
|
+
"openai",
|
|
43181
|
+
"claude",
|
|
42644
43182
|
"anthropic",
|
|
42645
43183
|
"gemini",
|
|
42646
43184
|
"perplexity",
|
|
@@ -42654,7 +43192,9 @@
|
|
|
42654
43192
|
"youbot",
|
|
42655
43193
|
"cursor",
|
|
42656
43194
|
"vscode",
|
|
42657
|
-
"claude-code"
|
|
43195
|
+
"claude-code",
|
|
43196
|
+
"codex",
|
|
43197
|
+
"opencode"
|
|
42658
43198
|
]
|
|
42659
43199
|
},
|
|
42660
43200
|
"SiteInsightsQueryEventsValues": {
|
|
@@ -44528,6 +45068,31 @@
|
|
|
44528
45068
|
"contents"
|
|
44529
45069
|
]
|
|
44530
45070
|
},
|
|
45071
|
+
"SignedURL": {
|
|
45072
|
+
"type": "object",
|
|
45073
|
+
"properties": {
|
|
45074
|
+
"object": {
|
|
45075
|
+
"type": "string",
|
|
45076
|
+
"description": "The kind of signed URL",
|
|
45077
|
+
"enum": [
|
|
45078
|
+
"signed-url"
|
|
45079
|
+
]
|
|
45080
|
+
},
|
|
45081
|
+
"url": {
|
|
45082
|
+
"$ref": "#/components/schemas/URL",
|
|
45083
|
+
"description": "Signed URL that can be opened by the browser"
|
|
45084
|
+
},
|
|
45085
|
+
"expiresAt": {
|
|
45086
|
+
"$ref": "#/components/schemas/Timestamp",
|
|
45087
|
+
"description": "Expiration time of the signed URL"
|
|
45088
|
+
}
|
|
45089
|
+
},
|
|
45090
|
+
"required": [
|
|
45091
|
+
"object",
|
|
45092
|
+
"url",
|
|
45093
|
+
"expiresAt"
|
|
45094
|
+
]
|
|
45095
|
+
},
|
|
44531
45096
|
"PurgeCDNCacheContext": {
|
|
44532
45097
|
"type": "object",
|
|
44533
45098
|
"description": "The context to send when purging the CDN Cache",
|
|
@@ -45062,6 +45627,295 @@
|
|
|
45062
45627
|
}
|
|
45063
45628
|
}
|
|
45064
45629
|
},
|
|
45630
|
+
"GitSyncInstallationProvider": {
|
|
45631
|
+
"type": "string",
|
|
45632
|
+
"description": "The provider of the Git Sync installation.",
|
|
45633
|
+
"enum": [
|
|
45634
|
+
"github",
|
|
45635
|
+
"gitlab"
|
|
45636
|
+
]
|
|
45637
|
+
},
|
|
45638
|
+
"GitSyncInstallationTarget": {
|
|
45639
|
+
"type": "object",
|
|
45640
|
+
"description": "Resource targeted by a Git Sync installation. Currently only spaces are supported.",
|
|
45641
|
+
"properties": {
|
|
45642
|
+
"spaceId": {
|
|
45643
|
+
"type": "string",
|
|
45644
|
+
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
45645
|
+
}
|
|
45646
|
+
},
|
|
45647
|
+
"required": [
|
|
45648
|
+
"spaceId"
|
|
45649
|
+
]
|
|
45650
|
+
},
|
|
45651
|
+
"GitSyncInstallationPriority": {
|
|
45652
|
+
"type": "string",
|
|
45653
|
+
"description": "Which side should be treated as the source of truth when Git Sync is configured.",
|
|
45654
|
+
"enum": [
|
|
45655
|
+
"git",
|
|
45656
|
+
"gitbook"
|
|
45657
|
+
]
|
|
45658
|
+
},
|
|
45659
|
+
"GitSyncInstallationSetupCommon": {
|
|
45660
|
+
"type": "object",
|
|
45661
|
+
"description": "Common setup fields for a Git Sync installation.",
|
|
45662
|
+
"properties": {
|
|
45663
|
+
"projectDirectory": {
|
|
45664
|
+
"type": "string",
|
|
45665
|
+
"description": "Optional directory used when syncing a monorepo subdirectory."
|
|
45666
|
+
},
|
|
45667
|
+
"commitMessageTemplate": {
|
|
45668
|
+
"type": "string",
|
|
45669
|
+
"description": "Optional template used when generating commit messages."
|
|
45670
|
+
},
|
|
45671
|
+
"previewExternalBranches": {
|
|
45672
|
+
"type": "boolean",
|
|
45673
|
+
"default": false,
|
|
45674
|
+
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
45675
|
+
},
|
|
45676
|
+
"priority": {
|
|
45677
|
+
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
45678
|
+
}
|
|
45679
|
+
}
|
|
45680
|
+
},
|
|
45681
|
+
"GitSyncInstallationSetupGitHub": {
|
|
45682
|
+
"type": "object",
|
|
45683
|
+
"description": "GitHub provider configuration for a Git Sync installation.",
|
|
45684
|
+
"properties": {
|
|
45685
|
+
"provider": {
|
|
45686
|
+
"type": "string",
|
|
45687
|
+
"enum": [
|
|
45688
|
+
"github"
|
|
45689
|
+
]
|
|
45690
|
+
},
|
|
45691
|
+
"providerConfiguration": {
|
|
45692
|
+
"type": "object",
|
|
45693
|
+
"description": "GitHub specific configuration for the Git Sync installation.",
|
|
45694
|
+
"properties": {
|
|
45695
|
+
"repositoryId": {
|
|
45696
|
+
"type": "number",
|
|
45697
|
+
"description": "GitHub repository identifier."
|
|
45698
|
+
},
|
|
45699
|
+
"branch": {
|
|
45700
|
+
"type": "string",
|
|
45701
|
+
"pattern": "^refs/heads/.+$",
|
|
45702
|
+
"description": "GitHub repository branch ref."
|
|
45703
|
+
}
|
|
45704
|
+
}
|
|
45705
|
+
}
|
|
45706
|
+
},
|
|
45707
|
+
"required": [
|
|
45708
|
+
"provider",
|
|
45709
|
+
"providerConfiguration"
|
|
45710
|
+
]
|
|
45711
|
+
},
|
|
45712
|
+
"GitSyncInstallationSetupGitLab": {
|
|
45713
|
+
"type": "object",
|
|
45714
|
+
"description": "GitLab provider configuration for a Git Sync installation.",
|
|
45715
|
+
"properties": {
|
|
45716
|
+
"provider": {
|
|
45717
|
+
"type": "string",
|
|
45718
|
+
"enum": [
|
|
45719
|
+
"gitlab"
|
|
45720
|
+
]
|
|
45721
|
+
},
|
|
45722
|
+
"providerConfiguration": {
|
|
45723
|
+
"type": "object",
|
|
45724
|
+
"description": "GitLab specific configuration for the Git Sync installation.",
|
|
45725
|
+
"properties": {
|
|
45726
|
+
"projectId": {
|
|
45727
|
+
"type": "number",
|
|
45728
|
+
"description": "GitLab project identifier."
|
|
45729
|
+
},
|
|
45730
|
+
"accessToken": {
|
|
45731
|
+
"type": "string",
|
|
45732
|
+
"description": "GitLab access token with appropriate scopes for repository access."
|
|
45733
|
+
},
|
|
45734
|
+
"customInstanceURL": {
|
|
45735
|
+
"oneOf": [
|
|
45736
|
+
{
|
|
45737
|
+
"type": "string"
|
|
45738
|
+
},
|
|
45739
|
+
{
|
|
45740
|
+
"type": "null"
|
|
45741
|
+
}
|
|
45742
|
+
],
|
|
45743
|
+
"description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
|
|
45744
|
+
},
|
|
45745
|
+
"branch": {
|
|
45746
|
+
"type": "string",
|
|
45747
|
+
"pattern": "^refs/heads/.+$",
|
|
45748
|
+
"description": "GitLab repository branch ref."
|
|
45749
|
+
}
|
|
45750
|
+
}
|
|
45751
|
+
}
|
|
45752
|
+
},
|
|
45753
|
+
"required": [
|
|
45754
|
+
"provider",
|
|
45755
|
+
"providerConfiguration"
|
|
45756
|
+
]
|
|
45757
|
+
},
|
|
45758
|
+
"GitSyncInstallationSetup": {
|
|
45759
|
+
"description": "Provider-specific setup payload for a Git Sync installation.",
|
|
45760
|
+
"allOf": [
|
|
45761
|
+
{
|
|
45762
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
45763
|
+
},
|
|
45764
|
+
{
|
|
45765
|
+
"oneOf": [
|
|
45766
|
+
{
|
|
45767
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
45768
|
+
},
|
|
45769
|
+
{
|
|
45770
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
45771
|
+
}
|
|
45772
|
+
],
|
|
45773
|
+
"discriminator": {
|
|
45774
|
+
"propertyName": "provider"
|
|
45775
|
+
}
|
|
45776
|
+
}
|
|
45777
|
+
]
|
|
45778
|
+
},
|
|
45779
|
+
"GitSyncInstallation": {
|
|
45780
|
+
"allOf": [
|
|
45781
|
+
{
|
|
45782
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
45783
|
+
},
|
|
45784
|
+
{
|
|
45785
|
+
"type": "object",
|
|
45786
|
+
"properties": {
|
|
45787
|
+
"object": {
|
|
45788
|
+
"type": "string",
|
|
45789
|
+
"enum": [
|
|
45790
|
+
"git-sync-installation"
|
|
45791
|
+
]
|
|
45792
|
+
},
|
|
45793
|
+
"id": {
|
|
45794
|
+
"type": "string",
|
|
45795
|
+
"description": "Unique identifier of the Git Sync installation."
|
|
45796
|
+
},
|
|
45797
|
+
"target": {
|
|
45798
|
+
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
45799
|
+
},
|
|
45800
|
+
"status": {
|
|
45801
|
+
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
45802
|
+
},
|
|
45803
|
+
"createdAt": {
|
|
45804
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45805
|
+
},
|
|
45806
|
+
"createdBy": {
|
|
45807
|
+
"type": "string",
|
|
45808
|
+
"description": "Identifier of the user who created the installation."
|
|
45809
|
+
},
|
|
45810
|
+
"updatedAt": {
|
|
45811
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45812
|
+
},
|
|
45813
|
+
"urls": {
|
|
45814
|
+
"type": "object",
|
|
45815
|
+
"description": "URLs associated with the installation",
|
|
45816
|
+
"properties": {
|
|
45817
|
+
"location": {
|
|
45818
|
+
"type": "string",
|
|
45819
|
+
"description": "URL of the installation endpoint in the API",
|
|
45820
|
+
"format": "uri"
|
|
45821
|
+
}
|
|
45822
|
+
},
|
|
45823
|
+
"required": [
|
|
45824
|
+
"location"
|
|
45825
|
+
]
|
|
45826
|
+
}
|
|
45827
|
+
},
|
|
45828
|
+
"required": [
|
|
45829
|
+
"object",
|
|
45830
|
+
"id",
|
|
45831
|
+
"target",
|
|
45832
|
+
"status",
|
|
45833
|
+
"createdAt",
|
|
45834
|
+
"createdBy",
|
|
45835
|
+
"updatedAt",
|
|
45836
|
+
"urls"
|
|
45837
|
+
]
|
|
45838
|
+
}
|
|
45839
|
+
]
|
|
45840
|
+
},
|
|
45841
|
+
"GitSyncGitHubRepository": {
|
|
45842
|
+
"type": "object",
|
|
45843
|
+
"description": "GitHub repository that can be selected for Git Sync.",
|
|
45844
|
+
"properties": {
|
|
45845
|
+
"id": {
|
|
45846
|
+
"type": "number"
|
|
45847
|
+
},
|
|
45848
|
+
"accountName": {
|
|
45849
|
+
"type": "string"
|
|
45850
|
+
},
|
|
45851
|
+
"repositoryName": {
|
|
45852
|
+
"type": "string"
|
|
45853
|
+
},
|
|
45854
|
+
"fullName": {
|
|
45855
|
+
"type": "string"
|
|
45856
|
+
},
|
|
45857
|
+
"defaultBranch": {
|
|
45858
|
+
"type": [
|
|
45859
|
+
"string",
|
|
45860
|
+
"null"
|
|
45861
|
+
]
|
|
45862
|
+
}
|
|
45863
|
+
},
|
|
45864
|
+
"required": [
|
|
45865
|
+
"id",
|
|
45866
|
+
"accountName",
|
|
45867
|
+
"repositoryName",
|
|
45868
|
+
"fullName",
|
|
45869
|
+
"defaultBranch"
|
|
45870
|
+
]
|
|
45871
|
+
},
|
|
45872
|
+
"GitSyncBranch": {
|
|
45873
|
+
"type": "object",
|
|
45874
|
+
"description": "Branch that can be used for Git Sync.",
|
|
45875
|
+
"properties": {
|
|
45876
|
+
"name": {
|
|
45877
|
+
"type": "string"
|
|
45878
|
+
},
|
|
45879
|
+
"ref": {
|
|
45880
|
+
"type": "string"
|
|
45881
|
+
}
|
|
45882
|
+
},
|
|
45883
|
+
"required": [
|
|
45884
|
+
"name",
|
|
45885
|
+
"ref"
|
|
45886
|
+
]
|
|
45887
|
+
},
|
|
45888
|
+
"GitSyncGitLabProject": {
|
|
45889
|
+
"type": "object",
|
|
45890
|
+
"description": "GitLab project that can be selected for Git Sync.",
|
|
45891
|
+
"properties": {
|
|
45892
|
+
"id": {
|
|
45893
|
+
"type": "number"
|
|
45894
|
+
},
|
|
45895
|
+
"accountName": {
|
|
45896
|
+
"type": "string"
|
|
45897
|
+
},
|
|
45898
|
+
"repositoryName": {
|
|
45899
|
+
"type": "string"
|
|
45900
|
+
},
|
|
45901
|
+
"fullName": {
|
|
45902
|
+
"type": "string"
|
|
45903
|
+
},
|
|
45904
|
+
"defaultBranch": {
|
|
45905
|
+
"type": [
|
|
45906
|
+
"string",
|
|
45907
|
+
"null"
|
|
45908
|
+
]
|
|
45909
|
+
}
|
|
45910
|
+
},
|
|
45911
|
+
"required": [
|
|
45912
|
+
"id",
|
|
45913
|
+
"accountName",
|
|
45914
|
+
"repositoryName",
|
|
45915
|
+
"fullName",
|
|
45916
|
+
"defaultBranch"
|
|
45917
|
+
]
|
|
45918
|
+
},
|
|
45065
45919
|
"SHA256": {
|
|
45066
45920
|
"type": "string",
|
|
45067
45921
|
"minLength": 64,
|
|
@@ -47302,6 +48156,24 @@
|
|
|
47302
48156
|
"customHostname"
|
|
47303
48157
|
]
|
|
47304
48158
|
},
|
|
48159
|
+
"APIChannelGitSyncInstallation": {
|
|
48160
|
+
"type": "object",
|
|
48161
|
+
"properties": {
|
|
48162
|
+
"channel": {
|
|
48163
|
+
"type": "string",
|
|
48164
|
+
"enum": [
|
|
48165
|
+
"git-sync-installation"
|
|
48166
|
+
]
|
|
48167
|
+
},
|
|
48168
|
+
"installation": {
|
|
48169
|
+
"type": "string"
|
|
48170
|
+
}
|
|
48171
|
+
},
|
|
48172
|
+
"required": [
|
|
48173
|
+
"channel",
|
|
48174
|
+
"installation"
|
|
48175
|
+
]
|
|
48176
|
+
},
|
|
47305
48177
|
"APIChannelGitSyncOperation": {
|
|
47306
48178
|
"type": "object",
|
|
47307
48179
|
"properties": {
|
|
@@ -47612,6 +48484,9 @@
|
|
|
47612
48484
|
{
|
|
47613
48485
|
"$ref": "#/components/schemas/APIChannelCustomHostname"
|
|
47614
48486
|
},
|
|
48487
|
+
{
|
|
48488
|
+
"$ref": "#/components/schemas/APIChannelGitSyncInstallation"
|
|
48489
|
+
},
|
|
47615
48490
|
{
|
|
47616
48491
|
"$ref": "#/components/schemas/APIChannelGitSyncOperation"
|
|
47617
48492
|
},
|
|
@@ -48329,6 +49204,40 @@
|
|
|
48329
49204
|
}
|
|
48330
49205
|
}
|
|
48331
49206
|
}
|
|
49207
|
+
},
|
|
49208
|
+
"UnauthorizedError": {
|
|
49209
|
+
"description": "Unauthorized",
|
|
49210
|
+
"content": {
|
|
49211
|
+
"application/json": {
|
|
49212
|
+
"schema": {
|
|
49213
|
+
"type": "object",
|
|
49214
|
+
"required": [
|
|
49215
|
+
"error"
|
|
49216
|
+
],
|
|
49217
|
+
"properties": {
|
|
49218
|
+
"error": {
|
|
49219
|
+
"type": "object",
|
|
49220
|
+
"properties": {
|
|
49221
|
+
"code": {
|
|
49222
|
+
"type": "integer",
|
|
49223
|
+
"format": "int32",
|
|
49224
|
+
"enum": [
|
|
49225
|
+
401
|
|
49226
|
+
]
|
|
49227
|
+
},
|
|
49228
|
+
"message": {
|
|
49229
|
+
"type": "string"
|
|
49230
|
+
}
|
|
49231
|
+
},
|
|
49232
|
+
"required": [
|
|
49233
|
+
"code",
|
|
49234
|
+
"message"
|
|
49235
|
+
]
|
|
49236
|
+
}
|
|
49237
|
+
}
|
|
49238
|
+
}
|
|
49239
|
+
}
|
|
49240
|
+
}
|
|
48332
49241
|
}
|
|
48333
49242
|
}
|
|
48334
49243
|
}
|