@gitbook/api 0.183.1 → 0.184.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 +123 -87
- package/dist/constants.d.ts +1 -1
- package/dist/index.cjs +14 -7
- package/dist/index.js +14 -7
- package/package.json +1 -1
- package/spec/openapi.json +313 -244
- package/spec/openapi.yaml +201 -159
package/spec/openapi.json
CHANGED
|
@@ -7044,11 +7044,7 @@
|
|
|
7044
7044
|
"properties": {
|
|
7045
7045
|
"task": {
|
|
7046
7046
|
"type": "object",
|
|
7047
|
-
"description": "Payload for the integration task"
|
|
7048
|
-
"additionalProperties": {
|
|
7049
|
-
"type": "string",
|
|
7050
|
-
"x-typescript": "unknown"
|
|
7051
|
-
}
|
|
7047
|
+
"description": "Payload for the integration task"
|
|
7052
7048
|
},
|
|
7053
7049
|
"schedule": {
|
|
7054
7050
|
"type": "number",
|
|
@@ -11959,6 +11955,60 @@
|
|
|
11959
11955
|
}
|
|
11960
11956
|
}
|
|
11961
11957
|
},
|
|
11958
|
+
"/orgs/{organizationId}/sites/{siteId}/spaces/git/installations": {
|
|
11959
|
+
"get": {
|
|
11960
|
+
"operationId": "listSiteGitSyncInstallations",
|
|
11961
|
+
"summary": "List the Git Sync installations for a site and its spaces",
|
|
11962
|
+
"tags": [
|
|
11963
|
+
"git"
|
|
11964
|
+
],
|
|
11965
|
+
"security": [
|
|
11966
|
+
{
|
|
11967
|
+
"user": []
|
|
11968
|
+
}
|
|
11969
|
+
],
|
|
11970
|
+
"parameters": [
|
|
11971
|
+
{
|
|
11972
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11973
|
+
},
|
|
11974
|
+
{
|
|
11975
|
+
"$ref": "#/components/parameters/siteId"
|
|
11976
|
+
}
|
|
11977
|
+
],
|
|
11978
|
+
"responses": {
|
|
11979
|
+
"200": {
|
|
11980
|
+
"description": "Git Sync installations for the site and its spaces",
|
|
11981
|
+
"content": {
|
|
11982
|
+
"application/json": {
|
|
11983
|
+
"schema": {
|
|
11984
|
+
"type": "object",
|
|
11985
|
+
"properties": {
|
|
11986
|
+
"items": {
|
|
11987
|
+
"type": "array",
|
|
11988
|
+
"items": {
|
|
11989
|
+
"$ref": "#/components/schemas/GitSyncInstallation"
|
|
11990
|
+
}
|
|
11991
|
+
}
|
|
11992
|
+
},
|
|
11993
|
+
"required": [
|
|
11994
|
+
"items"
|
|
11995
|
+
]
|
|
11996
|
+
}
|
|
11997
|
+
}
|
|
11998
|
+
}
|
|
11999
|
+
},
|
|
12000
|
+
"400": {
|
|
12001
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
12002
|
+
},
|
|
12003
|
+
"401": {
|
|
12004
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
12005
|
+
},
|
|
12006
|
+
"404": {
|
|
12007
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
12008
|
+
}
|
|
12009
|
+
}
|
|
12010
|
+
}
|
|
12011
|
+
},
|
|
11962
12012
|
"/orgs/{organizationId}/sites/{siteId}/adaptive-schema": {
|
|
11963
12013
|
"get": {
|
|
11964
12014
|
"operationId": "getSiteAdaptiveSchema",
|
|
@@ -14288,6 +14338,14 @@
|
|
|
14288
14338
|
"schema": {
|
|
14289
14339
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
14290
14340
|
}
|
|
14341
|
+
},
|
|
14342
|
+
{
|
|
14343
|
+
"name": "hasChangeRequests",
|
|
14344
|
+
"in": "query",
|
|
14345
|
+
"description": "Filter findings that have at least one associated change request.",
|
|
14346
|
+
"schema": {
|
|
14347
|
+
"type": "boolean"
|
|
14348
|
+
}
|
|
14291
14349
|
}
|
|
14292
14350
|
],
|
|
14293
14351
|
"responses": {
|
|
@@ -25184,6 +25242,11 @@
|
|
|
25184
25242
|
"properties": {
|
|
25185
25243
|
"ref": {
|
|
25186
25244
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
25245
|
+
},
|
|
25246
|
+
"headless": {
|
|
25247
|
+
"type": "boolean",
|
|
25248
|
+
"x-internal": true,
|
|
25249
|
+
"description": "When true, the block omits its own title and description; the page renders them instead. Set by the computed one-operation-per-page layout; not intended to be set manually."
|
|
25187
25250
|
}
|
|
25188
25251
|
},
|
|
25189
25252
|
"required": [
|
|
@@ -25354,6 +25417,11 @@
|
|
|
25354
25417
|
"properties": {
|
|
25355
25418
|
"ref": {
|
|
25356
25419
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
25420
|
+
},
|
|
25421
|
+
"headless": {
|
|
25422
|
+
"type": "boolean",
|
|
25423
|
+
"x-internal": true,
|
|
25424
|
+
"description": "When true, the block omits its own title and description; the page renders them instead. Set by the computed one-operation-per-page layout; not intended to be set manually."
|
|
25357
25425
|
}
|
|
25358
25426
|
},
|
|
25359
25427
|
"required": [
|
|
@@ -37042,6 +37110,244 @@
|
|
|
37042
37110
|
}
|
|
37043
37111
|
]
|
|
37044
37112
|
},
|
|
37113
|
+
"GitSyncInstallationPriority": {
|
|
37114
|
+
"type": "string",
|
|
37115
|
+
"description": "Which side should be treated as the source of truth when Git Sync is configured.",
|
|
37116
|
+
"enum": [
|
|
37117
|
+
"git",
|
|
37118
|
+
"gitbook"
|
|
37119
|
+
]
|
|
37120
|
+
},
|
|
37121
|
+
"GitSyncInstallationSetupCommon": {
|
|
37122
|
+
"type": "object",
|
|
37123
|
+
"description": "Common setup fields for a Git Sync installation.",
|
|
37124
|
+
"properties": {
|
|
37125
|
+
"projectDirectory": {
|
|
37126
|
+
"type": "string",
|
|
37127
|
+
"description": "Optional directory used when syncing a monorepo subdirectory."
|
|
37128
|
+
},
|
|
37129
|
+
"commitMessageTemplate": {
|
|
37130
|
+
"type": "string",
|
|
37131
|
+
"description": "Optional template used when generating commit messages."
|
|
37132
|
+
},
|
|
37133
|
+
"previewExternalBranches": {
|
|
37134
|
+
"type": "boolean",
|
|
37135
|
+
"default": false,
|
|
37136
|
+
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
37137
|
+
},
|
|
37138
|
+
"priority": {
|
|
37139
|
+
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
37140
|
+
}
|
|
37141
|
+
}
|
|
37142
|
+
},
|
|
37143
|
+
"GitSyncInstallationSetupGitHub": {
|
|
37144
|
+
"type": "object",
|
|
37145
|
+
"description": "GitHub provider configuration for a Git Sync installation.",
|
|
37146
|
+
"properties": {
|
|
37147
|
+
"provider": {
|
|
37148
|
+
"type": "string",
|
|
37149
|
+
"enum": [
|
|
37150
|
+
"github"
|
|
37151
|
+
]
|
|
37152
|
+
},
|
|
37153
|
+
"providerConfiguration": {
|
|
37154
|
+
"type": "object",
|
|
37155
|
+
"description": "GitHub specific configuration for the Git Sync installation.",
|
|
37156
|
+
"properties": {
|
|
37157
|
+
"repositoryId": {
|
|
37158
|
+
"type": "number",
|
|
37159
|
+
"description": "GitHub repository identifier."
|
|
37160
|
+
},
|
|
37161
|
+
"branch": {
|
|
37162
|
+
"type": "string",
|
|
37163
|
+
"pattern": "^refs/heads/.+$",
|
|
37164
|
+
"description": "GitHub repository branch ref."
|
|
37165
|
+
}
|
|
37166
|
+
}
|
|
37167
|
+
}
|
|
37168
|
+
},
|
|
37169
|
+
"required": [
|
|
37170
|
+
"provider",
|
|
37171
|
+
"providerConfiguration"
|
|
37172
|
+
]
|
|
37173
|
+
},
|
|
37174
|
+
"GitSyncInstallationSetupGitLab": {
|
|
37175
|
+
"type": "object",
|
|
37176
|
+
"description": "GitLab provider configuration for a Git Sync installation.",
|
|
37177
|
+
"properties": {
|
|
37178
|
+
"provider": {
|
|
37179
|
+
"type": "string",
|
|
37180
|
+
"enum": [
|
|
37181
|
+
"gitlab"
|
|
37182
|
+
]
|
|
37183
|
+
},
|
|
37184
|
+
"providerConfiguration": {
|
|
37185
|
+
"type": "object",
|
|
37186
|
+
"description": "GitLab specific configuration for the Git Sync installation.",
|
|
37187
|
+
"properties": {
|
|
37188
|
+
"projectId": {
|
|
37189
|
+
"type": "number",
|
|
37190
|
+
"description": "GitLab project identifier."
|
|
37191
|
+
},
|
|
37192
|
+
"accessToken": {
|
|
37193
|
+
"type": "string",
|
|
37194
|
+
"description": "GitLab access token with appropriate scopes for repository access."
|
|
37195
|
+
},
|
|
37196
|
+
"customInstanceURL": {
|
|
37197
|
+
"oneOf": [
|
|
37198
|
+
{
|
|
37199
|
+
"type": "string"
|
|
37200
|
+
},
|
|
37201
|
+
{
|
|
37202
|
+
"type": "null"
|
|
37203
|
+
}
|
|
37204
|
+
],
|
|
37205
|
+
"description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
|
|
37206
|
+
},
|
|
37207
|
+
"branch": {
|
|
37208
|
+
"type": "string",
|
|
37209
|
+
"pattern": "^refs/heads/.+$",
|
|
37210
|
+
"description": "GitLab repository branch ref."
|
|
37211
|
+
}
|
|
37212
|
+
}
|
|
37213
|
+
}
|
|
37214
|
+
},
|
|
37215
|
+
"required": [
|
|
37216
|
+
"provider",
|
|
37217
|
+
"providerConfiguration"
|
|
37218
|
+
]
|
|
37219
|
+
},
|
|
37220
|
+
"GitSyncInstallationSetup": {
|
|
37221
|
+
"description": "Provider-specific setup payload for a Git Sync installation.",
|
|
37222
|
+
"allOf": [
|
|
37223
|
+
{
|
|
37224
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
37225
|
+
},
|
|
37226
|
+
{
|
|
37227
|
+
"oneOf": [
|
|
37228
|
+
{
|
|
37229
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
37230
|
+
},
|
|
37231
|
+
{
|
|
37232
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
37233
|
+
}
|
|
37234
|
+
],
|
|
37235
|
+
"discriminator": {
|
|
37236
|
+
"propertyName": "provider"
|
|
37237
|
+
}
|
|
37238
|
+
}
|
|
37239
|
+
]
|
|
37240
|
+
},
|
|
37241
|
+
"GitSyncInstallationTarget": {
|
|
37242
|
+
"description": "Resource targeted by a Git Sync installation.",
|
|
37243
|
+
"oneOf": [
|
|
37244
|
+
{
|
|
37245
|
+
"type": "object",
|
|
37246
|
+
"properties": {
|
|
37247
|
+
"type": {
|
|
37248
|
+
"type": "string",
|
|
37249
|
+
"enum": [
|
|
37250
|
+
"space"
|
|
37251
|
+
],
|
|
37252
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
37253
|
+
},
|
|
37254
|
+
"spaceId": {
|
|
37255
|
+
"type": "string",
|
|
37256
|
+
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
37257
|
+
}
|
|
37258
|
+
},
|
|
37259
|
+
"required": [
|
|
37260
|
+
"type",
|
|
37261
|
+
"spaceId"
|
|
37262
|
+
]
|
|
37263
|
+
},
|
|
37264
|
+
{
|
|
37265
|
+
"type": "object",
|
|
37266
|
+
"properties": {
|
|
37267
|
+
"type": {
|
|
37268
|
+
"type": "string",
|
|
37269
|
+
"enum": [
|
|
37270
|
+
"site"
|
|
37271
|
+
],
|
|
37272
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
37273
|
+
},
|
|
37274
|
+
"siteId": {
|
|
37275
|
+
"type": "string",
|
|
37276
|
+
"description": "Unique identifier of the site targeted by the Git Sync installation."
|
|
37277
|
+
}
|
|
37278
|
+
},
|
|
37279
|
+
"required": [
|
|
37280
|
+
"type",
|
|
37281
|
+
"siteId"
|
|
37282
|
+
]
|
|
37283
|
+
}
|
|
37284
|
+
],
|
|
37285
|
+
"discriminator": {
|
|
37286
|
+
"propertyName": "type"
|
|
37287
|
+
}
|
|
37288
|
+
},
|
|
37289
|
+
"GitSyncInstallation": {
|
|
37290
|
+
"allOf": [
|
|
37291
|
+
{
|
|
37292
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
37293
|
+
},
|
|
37294
|
+
{
|
|
37295
|
+
"type": "object",
|
|
37296
|
+
"properties": {
|
|
37297
|
+
"object": {
|
|
37298
|
+
"type": "string",
|
|
37299
|
+
"enum": [
|
|
37300
|
+
"git-sync-installation"
|
|
37301
|
+
]
|
|
37302
|
+
},
|
|
37303
|
+
"id": {
|
|
37304
|
+
"type": "string",
|
|
37305
|
+
"description": "Unique identifier of the Git Sync installation."
|
|
37306
|
+
},
|
|
37307
|
+
"target": {
|
|
37308
|
+
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
37309
|
+
},
|
|
37310
|
+
"status": {
|
|
37311
|
+
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
37312
|
+
},
|
|
37313
|
+
"createdAt": {
|
|
37314
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37315
|
+
},
|
|
37316
|
+
"createdBy": {
|
|
37317
|
+
"type": "string",
|
|
37318
|
+
"description": "Identifier of the user who created the installation."
|
|
37319
|
+
},
|
|
37320
|
+
"updatedAt": {
|
|
37321
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37322
|
+
},
|
|
37323
|
+
"urls": {
|
|
37324
|
+
"type": "object",
|
|
37325
|
+
"description": "URLs associated with the installation",
|
|
37326
|
+
"properties": {
|
|
37327
|
+
"location": {
|
|
37328
|
+
"type": "string",
|
|
37329
|
+
"description": "URL of the installation endpoint in the API",
|
|
37330
|
+
"format": "uri"
|
|
37331
|
+
}
|
|
37332
|
+
},
|
|
37333
|
+
"required": [
|
|
37334
|
+
"location"
|
|
37335
|
+
]
|
|
37336
|
+
}
|
|
37337
|
+
},
|
|
37338
|
+
"required": [
|
|
37339
|
+
"object",
|
|
37340
|
+
"id",
|
|
37341
|
+
"target",
|
|
37342
|
+
"status",
|
|
37343
|
+
"createdAt",
|
|
37344
|
+
"createdBy",
|
|
37345
|
+
"updatedAt",
|
|
37346
|
+
"urls"
|
|
37347
|
+
]
|
|
37348
|
+
}
|
|
37349
|
+
]
|
|
37350
|
+
},
|
|
37045
37351
|
"SiteAdaptiveDeterministicJSONSchemaPrimitives": {
|
|
37046
37352
|
"oneOf": [
|
|
37047
37353
|
{
|
|
@@ -38150,7 +38456,8 @@
|
|
|
38150
38456
|
"required": [
|
|
38151
38457
|
"externalAI",
|
|
38152
38458
|
"markdown",
|
|
38153
|
-
"mcp"
|
|
38459
|
+
"mcp",
|
|
38460
|
+
"items"
|
|
38154
38461
|
]
|
|
38155
38462
|
},
|
|
38156
38463
|
"externalLinks": {
|
|
@@ -46289,244 +46596,6 @@
|
|
|
46289
46596
|
"gitlab"
|
|
46290
46597
|
]
|
|
46291
46598
|
},
|
|
46292
|
-
"GitSyncInstallationTarget": {
|
|
46293
|
-
"description": "Resource targeted by a Git Sync installation.",
|
|
46294
|
-
"oneOf": [
|
|
46295
|
-
{
|
|
46296
|
-
"type": "object",
|
|
46297
|
-
"properties": {
|
|
46298
|
-
"type": {
|
|
46299
|
-
"type": "string",
|
|
46300
|
-
"enum": [
|
|
46301
|
-
"space"
|
|
46302
|
-
],
|
|
46303
|
-
"description": "Type of resource targeted by the Git Sync installation."
|
|
46304
|
-
},
|
|
46305
|
-
"spaceId": {
|
|
46306
|
-
"type": "string",
|
|
46307
|
-
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
46308
|
-
}
|
|
46309
|
-
},
|
|
46310
|
-
"required": [
|
|
46311
|
-
"type",
|
|
46312
|
-
"spaceId"
|
|
46313
|
-
]
|
|
46314
|
-
},
|
|
46315
|
-
{
|
|
46316
|
-
"type": "object",
|
|
46317
|
-
"properties": {
|
|
46318
|
-
"type": {
|
|
46319
|
-
"type": "string",
|
|
46320
|
-
"enum": [
|
|
46321
|
-
"site"
|
|
46322
|
-
],
|
|
46323
|
-
"description": "Type of resource targeted by the Git Sync installation."
|
|
46324
|
-
},
|
|
46325
|
-
"siteId": {
|
|
46326
|
-
"type": "string",
|
|
46327
|
-
"description": "Unique identifier of the site targeted by the Git Sync installation."
|
|
46328
|
-
}
|
|
46329
|
-
},
|
|
46330
|
-
"required": [
|
|
46331
|
-
"type",
|
|
46332
|
-
"siteId"
|
|
46333
|
-
]
|
|
46334
|
-
}
|
|
46335
|
-
],
|
|
46336
|
-
"discriminator": {
|
|
46337
|
-
"propertyName": "type"
|
|
46338
|
-
}
|
|
46339
|
-
},
|
|
46340
|
-
"GitSyncInstallationPriority": {
|
|
46341
|
-
"type": "string",
|
|
46342
|
-
"description": "Which side should be treated as the source of truth when Git Sync is configured.",
|
|
46343
|
-
"enum": [
|
|
46344
|
-
"git",
|
|
46345
|
-
"gitbook"
|
|
46346
|
-
]
|
|
46347
|
-
},
|
|
46348
|
-
"GitSyncInstallationSetupCommon": {
|
|
46349
|
-
"type": "object",
|
|
46350
|
-
"description": "Common setup fields for a Git Sync installation.",
|
|
46351
|
-
"properties": {
|
|
46352
|
-
"projectDirectory": {
|
|
46353
|
-
"type": "string",
|
|
46354
|
-
"description": "Optional directory used when syncing a monorepo subdirectory."
|
|
46355
|
-
},
|
|
46356
|
-
"commitMessageTemplate": {
|
|
46357
|
-
"type": "string",
|
|
46358
|
-
"description": "Optional template used when generating commit messages."
|
|
46359
|
-
},
|
|
46360
|
-
"previewExternalBranches": {
|
|
46361
|
-
"type": "boolean",
|
|
46362
|
-
"default": false,
|
|
46363
|
-
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
46364
|
-
},
|
|
46365
|
-
"priority": {
|
|
46366
|
-
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
46367
|
-
}
|
|
46368
|
-
}
|
|
46369
|
-
},
|
|
46370
|
-
"GitSyncInstallationSetupGitHub": {
|
|
46371
|
-
"type": "object",
|
|
46372
|
-
"description": "GitHub provider configuration for a Git Sync installation.",
|
|
46373
|
-
"properties": {
|
|
46374
|
-
"provider": {
|
|
46375
|
-
"type": "string",
|
|
46376
|
-
"enum": [
|
|
46377
|
-
"github"
|
|
46378
|
-
]
|
|
46379
|
-
},
|
|
46380
|
-
"providerConfiguration": {
|
|
46381
|
-
"type": "object",
|
|
46382
|
-
"description": "GitHub specific configuration for the Git Sync installation.",
|
|
46383
|
-
"properties": {
|
|
46384
|
-
"repositoryId": {
|
|
46385
|
-
"type": "number",
|
|
46386
|
-
"description": "GitHub repository identifier."
|
|
46387
|
-
},
|
|
46388
|
-
"branch": {
|
|
46389
|
-
"type": "string",
|
|
46390
|
-
"pattern": "^refs/heads/.+$",
|
|
46391
|
-
"description": "GitHub repository branch ref."
|
|
46392
|
-
}
|
|
46393
|
-
}
|
|
46394
|
-
}
|
|
46395
|
-
},
|
|
46396
|
-
"required": [
|
|
46397
|
-
"provider",
|
|
46398
|
-
"providerConfiguration"
|
|
46399
|
-
]
|
|
46400
|
-
},
|
|
46401
|
-
"GitSyncInstallationSetupGitLab": {
|
|
46402
|
-
"type": "object",
|
|
46403
|
-
"description": "GitLab provider configuration for a Git Sync installation.",
|
|
46404
|
-
"properties": {
|
|
46405
|
-
"provider": {
|
|
46406
|
-
"type": "string",
|
|
46407
|
-
"enum": [
|
|
46408
|
-
"gitlab"
|
|
46409
|
-
]
|
|
46410
|
-
},
|
|
46411
|
-
"providerConfiguration": {
|
|
46412
|
-
"type": "object",
|
|
46413
|
-
"description": "GitLab specific configuration for the Git Sync installation.",
|
|
46414
|
-
"properties": {
|
|
46415
|
-
"projectId": {
|
|
46416
|
-
"type": "number",
|
|
46417
|
-
"description": "GitLab project identifier."
|
|
46418
|
-
},
|
|
46419
|
-
"accessToken": {
|
|
46420
|
-
"type": "string",
|
|
46421
|
-
"description": "GitLab access token with appropriate scopes for repository access."
|
|
46422
|
-
},
|
|
46423
|
-
"customInstanceURL": {
|
|
46424
|
-
"oneOf": [
|
|
46425
|
-
{
|
|
46426
|
-
"type": "string"
|
|
46427
|
-
},
|
|
46428
|
-
{
|
|
46429
|
-
"type": "null"
|
|
46430
|
-
}
|
|
46431
|
-
],
|
|
46432
|
-
"description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
|
|
46433
|
-
},
|
|
46434
|
-
"branch": {
|
|
46435
|
-
"type": "string",
|
|
46436
|
-
"pattern": "^refs/heads/.+$",
|
|
46437
|
-
"description": "GitLab repository branch ref."
|
|
46438
|
-
}
|
|
46439
|
-
}
|
|
46440
|
-
}
|
|
46441
|
-
},
|
|
46442
|
-
"required": [
|
|
46443
|
-
"provider",
|
|
46444
|
-
"providerConfiguration"
|
|
46445
|
-
]
|
|
46446
|
-
},
|
|
46447
|
-
"GitSyncInstallationSetup": {
|
|
46448
|
-
"description": "Provider-specific setup payload for a Git Sync installation.",
|
|
46449
|
-
"allOf": [
|
|
46450
|
-
{
|
|
46451
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
46452
|
-
},
|
|
46453
|
-
{
|
|
46454
|
-
"oneOf": [
|
|
46455
|
-
{
|
|
46456
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
46457
|
-
},
|
|
46458
|
-
{
|
|
46459
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
46460
|
-
}
|
|
46461
|
-
],
|
|
46462
|
-
"discriminator": {
|
|
46463
|
-
"propertyName": "provider"
|
|
46464
|
-
}
|
|
46465
|
-
}
|
|
46466
|
-
]
|
|
46467
|
-
},
|
|
46468
|
-
"GitSyncInstallation": {
|
|
46469
|
-
"allOf": [
|
|
46470
|
-
{
|
|
46471
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
46472
|
-
},
|
|
46473
|
-
{
|
|
46474
|
-
"type": "object",
|
|
46475
|
-
"properties": {
|
|
46476
|
-
"object": {
|
|
46477
|
-
"type": "string",
|
|
46478
|
-
"enum": [
|
|
46479
|
-
"git-sync-installation"
|
|
46480
|
-
]
|
|
46481
|
-
},
|
|
46482
|
-
"id": {
|
|
46483
|
-
"type": "string",
|
|
46484
|
-
"description": "Unique identifier of the Git Sync installation."
|
|
46485
|
-
},
|
|
46486
|
-
"target": {
|
|
46487
|
-
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
46488
|
-
},
|
|
46489
|
-
"status": {
|
|
46490
|
-
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
46491
|
-
},
|
|
46492
|
-
"createdAt": {
|
|
46493
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
46494
|
-
},
|
|
46495
|
-
"createdBy": {
|
|
46496
|
-
"type": "string",
|
|
46497
|
-
"description": "Identifier of the user who created the installation."
|
|
46498
|
-
},
|
|
46499
|
-
"updatedAt": {
|
|
46500
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
46501
|
-
},
|
|
46502
|
-
"urls": {
|
|
46503
|
-
"type": "object",
|
|
46504
|
-
"description": "URLs associated with the installation",
|
|
46505
|
-
"properties": {
|
|
46506
|
-
"location": {
|
|
46507
|
-
"type": "string",
|
|
46508
|
-
"description": "URL of the installation endpoint in the API",
|
|
46509
|
-
"format": "uri"
|
|
46510
|
-
}
|
|
46511
|
-
},
|
|
46512
|
-
"required": [
|
|
46513
|
-
"location"
|
|
46514
|
-
]
|
|
46515
|
-
}
|
|
46516
|
-
},
|
|
46517
|
-
"required": [
|
|
46518
|
-
"object",
|
|
46519
|
-
"id",
|
|
46520
|
-
"target",
|
|
46521
|
-
"status",
|
|
46522
|
-
"createdAt",
|
|
46523
|
-
"createdBy",
|
|
46524
|
-
"updatedAt",
|
|
46525
|
-
"urls"
|
|
46526
|
-
]
|
|
46527
|
-
}
|
|
46528
|
-
]
|
|
46529
|
-
},
|
|
46530
46599
|
"GitSyncGitHubRepository": {
|
|
46531
46600
|
"type": "object",
|
|
46532
46601
|
"description": "GitHub repository that can be selected for Git Sync.",
|