@gitbook/api 0.100.0 → 0.102.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/spec/openapi.json CHANGED
@@ -1848,10 +1848,15 @@
1848
1848
  "properties": {
1849
1849
  "source": {
1850
1850
  "$ref": "#/components/schemas/ComputedContentSource"
1851
+ },
1852
+ "seed": {
1853
+ "type": "string",
1854
+ "description": "Seed to use for the generation of IDs."
1851
1855
  }
1852
1856
  },
1853
1857
  "required": [
1854
- "source"
1858
+ "source",
1859
+ "seed"
1855
1860
  ]
1856
1861
  }
1857
1862
  }
@@ -1900,10 +1905,15 @@
1900
1905
  "properties": {
1901
1906
  "source": {
1902
1907
  "$ref": "#/components/schemas/ComputedContentSource"
1908
+ },
1909
+ "seed": {
1910
+ "type": "string",
1911
+ "description": "Seed to use for the generation of IDs."
1903
1912
  }
1904
1913
  },
1905
1914
  "required": [
1906
- "source"
1915
+ "source",
1916
+ "seed"
1907
1917
  ]
1908
1918
  }
1909
1919
  }
@@ -10104,13 +10114,12 @@
10104
10114
  }
10105
10115
  }
10106
10116
  },
10107
- "/orgs/{organizationId}/sites": {
10117
+ "/orgs/{organizationId}/openapi": {
10108
10118
  "get": {
10109
- "operationId": "listSites",
10110
- "summary": "List all the sites created in an organization",
10119
+ "operationId": "listOpenAPISpecs",
10120
+ "summary": "List all the OpenAPI specifications in the organization",
10111
10121
  "tags": [
10112
- "sites",
10113
- "critical"
10122
+ "openapi"
10114
10123
  ],
10115
10124
  "security": [
10116
10125
  {
@@ -10126,45 +10135,6 @@
10126
10135
  },
10127
10136
  {
10128
10137
  "$ref": "#/components/parameters/listLimit"
10129
- },
10130
- {
10131
- "name": "space",
10132
- "in": "query",
10133
- "description": "Identifier of the space to filter the sites by",
10134
- "required": false,
10135
- "schema": {
10136
- "type": "string"
10137
- }
10138
- },
10139
- {
10140
- "name": "title",
10141
- "in": "query",
10142
- "description": "Filter sites by their title",
10143
- "required": false,
10144
- "schema": {
10145
- "type": "string"
10146
- }
10147
- },
10148
- {
10149
- "name": "published",
10150
- "in": "query",
10151
- "description": "Filter sites by their published status",
10152
- "required": false,
10153
- "schema": {
10154
- "type": "boolean"
10155
- }
10156
- },
10157
- {
10158
- "name": "type",
10159
- "in": "query",
10160
- "description": "Filter by site type",
10161
- "required": false,
10162
- "schema": {
10163
- "type": "array",
10164
- "items": {
10165
- "$ref": "#/components/schemas/SiteType"
10166
- }
10167
- }
10168
10138
  }
10169
10139
  ],
10170
10140
  "responses": {
@@ -10186,7 +10156,7 @@
10186
10156
  "items": {
10187
10157
  "type": "array",
10188
10158
  "items": {
10189
- "$ref": "#/components/schemas/Site"
10159
+ "$ref": "#/components/schemas/OpenAPISpec"
10190
10160
  }
10191
10161
  }
10192
10162
  }
@@ -10200,94 +10170,14 @@
10200
10170
  "$ref": "#/components/responses/UnexpectedError"
10201
10171
  }
10202
10172
  }
10203
- },
10204
- "post": {
10205
- "operationId": "createSite",
10206
- "summary": "Create a site in an organization",
10207
- "tags": [
10208
- "sites"
10209
- ],
10210
- "security": [
10211
- {
10212
- "user": []
10213
- }
10214
- ],
10215
- "parameters": [
10216
- {
10217
- "$ref": "#/components/parameters/organizationId"
10218
- }
10219
- ],
10220
- "requestBody": {
10221
- "content": {
10222
- "application/json": {
10223
- "schema": {
10224
- "type": "object",
10225
- "properties": {
10226
- "type": {
10227
- "description": "The type of the site, defaults to Basic",
10228
- "$ref": "#/components/schemas/SiteType"
10229
- },
10230
- "title": {
10231
- "$ref": "#/components/schemas/SiteTitle"
10232
- },
10233
- "visibility": {
10234
- "$ref": "#/components/schemas/SiteVisibility"
10235
- },
10236
- "spaces": {
10237
- "oneOf": [
10238
- {
10239
- "type": "array",
10240
- "description": "ID of spaces to be added to the site",
10241
- "items": {
10242
- "type": "string"
10243
- }
10244
- },
10245
- {
10246
- "type": "string",
10247
- "description": "Create a new space associated to the site",
10248
- "enum": [
10249
- "sample",
10250
- "empty"
10251
- ]
10252
- }
10253
- ]
10254
- }
10255
- }
10256
- }
10257
- }
10258
- }
10259
- },
10260
- "responses": {
10261
- "201": {
10262
- "description": "Site created",
10263
- "headers": {
10264
- "Location": {
10265
- "description": "API URL for the newly created site",
10266
- "schema": {
10267
- "type": "string"
10268
- }
10269
- }
10270
- },
10271
- "content": {
10272
- "application/json": {
10273
- "schema": {
10274
- "$ref": "#/components/schemas/Site"
10275
- }
10276
- }
10277
- }
10278
- },
10279
- "default": {
10280
- "$ref": "#/components/responses/UnexpectedError"
10281
- }
10282
- }
10283
10173
  }
10284
10174
  },
10285
- "/orgs/{organizationId}/sites/{siteId}": {
10175
+ "/orgs/{organizationId}/openapi/{specSlug}": {
10286
10176
  "get": {
10287
- "operationId": "getSiteById",
10288
- "summary": "Get an organization site by its ID",
10177
+ "operationId": "getOpenAPISpecBySlug",
10178
+ "summary": "Get an organization OpenAPI specification by its slug",
10289
10179
  "tags": [
10290
- "sites"
10180
+ "openapi"
10291
10181
  ],
10292
10182
  "security": [
10293
10183
  {
@@ -10299,7 +10189,7 @@
10299
10189
  "$ref": "#/components/parameters/organizationId"
10300
10190
  },
10301
10191
  {
10302
- "$ref": "#/components/parameters/siteId"
10192
+ "$ref": "#/components/parameters/openapiSpecSlug"
10303
10193
  }
10304
10194
  ],
10305
10195
  "responses": {
@@ -10308,13 +10198,13 @@
10308
10198
  "content": {
10309
10199
  "application/json": {
10310
10200
  "schema": {
10311
- "$ref": "#/components/schemas/Site"
10201
+ "$ref": "#/components/schemas/OpenAPISpec"
10312
10202
  }
10313
10203
  }
10314
10204
  }
10315
10205
  },
10316
10206
  "404": {
10317
- "description": "No matching site found",
10207
+ "description": "No matching OpenAPI specification found",
10318
10208
  "$ref": "#/components/responses/NotFoundError"
10319
10209
  },
10320
10210
  "default": {
@@ -10322,11 +10212,11 @@
10322
10212
  }
10323
10213
  }
10324
10214
  },
10325
- "patch": {
10326
- "operationId": "updateSiteById",
10327
- "summary": "Update a site in an organization",
10215
+ "put": {
10216
+ "operationId": "createOrUpdateOpenAPISpecBySlug",
10217
+ "summary": "Create or update an organization OpenAPI specification by its slug",
10328
10218
  "tags": [
10329
- "sites"
10219
+ "openapi"
10330
10220
  ],
10331
10221
  "security": [
10332
10222
  {
@@ -10338,7 +10228,7 @@
10338
10228
  "$ref": "#/components/parameters/organizationId"
10339
10229
  },
10340
10230
  {
10341
- "$ref": "#/components/parameters/siteId"
10231
+ "$ref": "#/components/parameters/openapiSpecSlug"
10342
10232
  }
10343
10233
  ],
10344
10234
  "requestBody": {
@@ -10348,202 +10238,78 @@
10348
10238
  "schema": {
10349
10239
  "type": "object",
10350
10240
  "properties": {
10351
- "title": {
10352
- "$ref": "#/components/schemas/SiteTitle"
10353
- },
10354
- "visibility": {
10355
- "$ref": "#/components/schemas/SiteVisibility"
10356
- },
10357
- "basename": {
10358
- "$ref": "#/components/schemas/SiteBasename"
10359
- },
10360
- "adaptiveContent": {
10361
- "$ref": "#/components/schemas/SiteAdaptiveContent"
10362
- },
10363
- "defaultSiteSpace": {
10364
- "type": "string",
10365
- "description": "ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section."
10366
- },
10367
- "defaultSiteSection": {
10368
- "type": "string",
10369
- "description": "ID of the site-section to be used as the default."
10370
- },
10371
- "proxy": {
10372
- "description": "Configure a proxy URL for a site. For example, you can use it to host the site on a subdirectory of your domain like `https://company.com/docs`.\nUse `null` to remove the proxy.\n",
10241
+ "source": {
10373
10242
  "oneOf": [
10374
10243
  {
10375
- "$ref": "#/components/schemas/SiteProxy"
10244
+ "description": "Create a specification from an URL",
10245
+ "type": "object",
10246
+ "properties": {
10247
+ "url": {
10248
+ "$ref": "#/components/schemas/URL"
10249
+ }
10250
+ },
10251
+ "required": [
10252
+ "url"
10253
+ ]
10376
10254
  },
10377
10255
  {
10378
- "type": "string",
10379
- "nullable": true,
10380
- "enum": [
10381
- null
10256
+ "description": "Create a specification from a text string",
10257
+ "type": "object",
10258
+ "properties": {
10259
+ "text": {
10260
+ "description": "OpenAPI specification as text",
10261
+ "type": "string",
10262
+ "minLength": 1
10263
+ }
10264
+ },
10265
+ "required": [
10266
+ "text"
10382
10267
  ]
10383
10268
  }
10384
10269
  ]
10385
10270
  }
10386
- }
10271
+ },
10272
+ "required": [
10273
+ "source"
10274
+ ]
10387
10275
  }
10388
10276
  }
10389
10277
  }
10390
10278
  },
10391
10279
  "responses": {
10392
10280
  "200": {
10393
- "description": "OK",
10281
+ "description": "OpenAPI specification has been updated",
10394
10282
  "content": {
10395
10283
  "application/json": {
10396
10284
  "schema": {
10397
- "$ref": "#/components/schemas/Site"
10285
+ "$ref": "#/components/schemas/OpenAPISpec"
10398
10286
  }
10399
10287
  }
10400
10288
  }
10401
10289
  },
10402
- "default": {
10403
- "$ref": "#/components/responses/UnexpectedError"
10404
- }
10405
- }
10406
- },
10407
- "delete": {
10408
- "operationId": "deleteSiteById",
10409
- "summary": "Delete a site in an organization",
10410
- "tags": [
10411
- "sites"
10412
- ],
10413
- "security": [
10414
- {
10415
- "user": []
10416
- }
10417
- ],
10418
- "parameters": [
10419
- {
10420
- "$ref": "#/components/parameters/organizationId"
10421
- },
10422
- {
10423
- "$ref": "#/components/parameters/siteId"
10424
- }
10425
- ],
10426
- "responses": {
10427
- "205": {
10428
- "description": "Site has been deleted"
10429
- },
10430
- "default": {
10431
- "$ref": "#/components/responses/UnexpectedError"
10432
- }
10433
- }
10434
- }
10435
- },
10436
- "/orgs/{organizationId}/sites/{siteId}/published": {
10437
- "get": {
10438
- "operationId": "getPublishedContentSite",
10439
- "summary": "Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.",
10440
- "tags": [
10441
- "sites"
10442
- ],
10443
- "security": [
10444
- {
10445
- "user": []
10446
- }
10447
- ],
10448
- "parameters": [
10449
- {
10450
- "$ref": "#/components/parameters/organizationId"
10451
- },
10452
- {
10453
- "$ref": "#/components/parameters/siteId"
10454
- },
10455
- {
10456
- "$ref": "#/components/parameters/siteShareKey"
10457
- }
10458
- ],
10459
- "responses": {
10460
- "200": {
10461
- "description": "OK",
10290
+ "201": {
10291
+ "description": "OpenAPI specification has been created",
10462
10292
  "content": {
10463
10293
  "application/json": {
10464
10294
  "schema": {
10465
- "$ref": "#/components/schemas/PublishedContentSite"
10295
+ "$ref": "#/components/schemas/OpenAPISpec"
10466
10296
  }
10467
10297
  }
10468
10298
  }
10469
10299
  },
10470
- "404": {
10471
- "description": "No matching site found",
10472
- "$ref": "#/components/responses/NotFoundError"
10473
- },
10474
- "default": {
10475
- "$ref": "#/components/responses/UnexpectedError"
10476
- }
10477
- }
10478
- }
10479
- },
10480
- "/orgs/{organizationId}/sites/{siteId}/publish": {
10481
- "post": {
10482
- "operationId": "publishSite",
10483
- "summary": "Publishes the site to the audience defined in the site's visibility setting.",
10484
- "tags": [
10485
- "sites"
10486
- ],
10487
- "security": [
10488
- {
10489
- "user": []
10490
- }
10491
- ],
10492
- "parameters": [
10493
- {
10494
- "$ref": "#/components/parameters/organizationId"
10495
- },
10496
- {
10497
- "$ref": "#/components/parameters/siteId"
10498
- }
10499
- ],
10500
- "responses": {
10501
- "200": {
10502
- "description": "Site published successfully",
10503
- "content": {
10504
- "application/json": {
10505
- "schema": {
10506
- "oneOf": [
10507
- {
10508
- "$ref": "#/components/schemas/Site"
10509
- },
10510
- {
10511
- "type": "object",
10512
- "description": "User needs to checkout in order to publish the site.",
10513
- "properties": {
10514
- "type": {
10515
- "type": "string",
10516
- "enum": [
10517
- "checkout"
10518
- ]
10519
- },
10520
- "sessionId": {
10521
- "type": "string",
10522
- "description": "Stripe payment session ID"
10523
- }
10524
- },
10525
- "required": [
10526
- "type",
10527
- "sessionId"
10528
- ]
10529
- }
10530
- ]
10531
- }
10532
- }
10533
- }
10300
+ "400": {
10301
+ "$ref": "#/components/responses/BadRequestError"
10534
10302
  },
10535
10303
  "default": {
10536
10304
  "$ref": "#/components/responses/UnexpectedError"
10537
10305
  }
10538
10306
  }
10539
- }
10540
- },
10541
- "/orgs/{organizationId}/sites/{siteId}/unpublish": {
10542
- "post": {
10543
- "operationId": "unpublishSite",
10544
- "summary": "Unpublishes the site.",
10307
+ },
10308
+ "delete": {
10309
+ "operationId": "deleteOpenAPISpecBySlug",
10310
+ "summary": "Delete an organization OpenAPI specification by its slug",
10545
10311
  "tags": [
10546
- "sites"
10312
+ "openapi"
10547
10313
  ],
10548
10314
  "security": [
10549
10315
  {
@@ -10555,19 +10321,12 @@
10555
10321
  "$ref": "#/components/parameters/organizationId"
10556
10322
  },
10557
10323
  {
10558
- "$ref": "#/components/parameters/siteId"
10324
+ "$ref": "#/components/parameters/openapiSpecSlug"
10559
10325
  }
10560
10326
  ],
10561
10327
  "responses": {
10562
- "200": {
10563
- "description": "Site unpublished successfully",
10564
- "content": {
10565
- "application/json": {
10566
- "schema": {
10567
- "$ref": "#/components/schemas/Site"
10568
- }
10569
- }
10570
- }
10328
+ "205": {
10329
+ "description": "OpenAPI specification has been deleted"
10571
10330
  },
10572
10331
  "default": {
10573
10332
  "$ref": "#/components/responses/UnexpectedError"
@@ -10575,12 +10334,12 @@
10575
10334
  }
10576
10335
  }
10577
10336
  },
10578
- "/orgs/{organizationId}/sites/{siteId}/share-links": {
10337
+ "/orgs/{organizationId}/openapi/{specSlug}/versions": {
10579
10338
  "get": {
10580
- "operationId": "listSiteShareLinks",
10581
- "summary": "List all the share links created in a site",
10339
+ "operationId": "listOpenAPISpecVersions",
10340
+ "summary": "List all the OpenAPI specification versions",
10582
10341
  "tags": [
10583
- "sites"
10342
+ "openapi"
10584
10343
  ],
10585
10344
  "security": [
10586
10345
  {
@@ -10592,7 +10351,941 @@
10592
10351
  "$ref": "#/components/parameters/organizationId"
10593
10352
  },
10594
10353
  {
10595
- "$ref": "#/components/parameters/siteId"
10354
+ "$ref": "#/components/parameters/openapiSpecSlug"
10355
+ },
10356
+ {
10357
+ "$ref": "#/components/parameters/listPage"
10358
+ },
10359
+ {
10360
+ "$ref": "#/components/parameters/listLimit"
10361
+ }
10362
+ ],
10363
+ "responses": {
10364
+ "200": {
10365
+ "description": "OK",
10366
+ "content": {
10367
+ "application/json": {
10368
+ "schema": {
10369
+ "allOf": [
10370
+ {
10371
+ "$ref": "#/components/schemas/List"
10372
+ },
10373
+ {
10374
+ "type": "object",
10375
+ "required": [
10376
+ "items"
10377
+ ],
10378
+ "properties": {
10379
+ "items": {
10380
+ "type": "array",
10381
+ "items": {
10382
+ "$ref": "#/components/schemas/OpenAPISpecVersion"
10383
+ }
10384
+ }
10385
+ }
10386
+ }
10387
+ ]
10388
+ }
10389
+ }
10390
+ }
10391
+ },
10392
+ "404": {
10393
+ "description": "No matching OpenAPI specification found",
10394
+ "$ref": "#/components/responses/NotFoundError"
10395
+ },
10396
+ "default": {
10397
+ "$ref": "#/components/responses/UnexpectedError"
10398
+ }
10399
+ }
10400
+ }
10401
+ },
10402
+ "/orgs/{organizationId}/openapi/{specSlug}/versions/latest": {
10403
+ "get": {
10404
+ "operationId": "getLatestOpenAPISpecVersion",
10405
+ "summary": "Get the latest OpenAPI specification version",
10406
+ "tags": [
10407
+ "openapi"
10408
+ ],
10409
+ "security": [
10410
+ {
10411
+ "user": []
10412
+ }
10413
+ ],
10414
+ "parameters": [
10415
+ {
10416
+ "$ref": "#/components/parameters/organizationId"
10417
+ },
10418
+ {
10419
+ "$ref": "#/components/parameters/openapiSpecSlug"
10420
+ }
10421
+ ],
10422
+ "responses": {
10423
+ "200": {
10424
+ "description": "OK",
10425
+ "content": {
10426
+ "application/json": {
10427
+ "schema": {
10428
+ "$ref": "#/components/schemas/OpenAPISpecVersion"
10429
+ }
10430
+ }
10431
+ }
10432
+ },
10433
+ "404": {
10434
+ "description": "No matching OpenAPI specification version found",
10435
+ "$ref": "#/components/responses/NotFoundError"
10436
+ },
10437
+ "default": {
10438
+ "$ref": "#/components/responses/UnexpectedError"
10439
+ }
10440
+ }
10441
+ }
10442
+ },
10443
+ "/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content": {
10444
+ "get": {
10445
+ "operationId": "getLatestOpenAPISpecVersionContent",
10446
+ "summary": "Get the latest OpenAPI specification version content",
10447
+ "tags": [
10448
+ "openapi"
10449
+ ],
10450
+ "security": [
10451
+ {
10452
+ "user": []
10453
+ }
10454
+ ],
10455
+ "parameters": [
10456
+ {
10457
+ "$ref": "#/components/parameters/organizationId"
10458
+ },
10459
+ {
10460
+ "$ref": "#/components/parameters/openapiSpecSlug"
10461
+ }
10462
+ ],
10463
+ "responses": {
10464
+ "200": {
10465
+ "description": "OK",
10466
+ "content": {
10467
+ "application/json": {
10468
+ "schema": {
10469
+ "$ref": "#/components/schemas/OpenAPISpecContent"
10470
+ }
10471
+ }
10472
+ }
10473
+ },
10474
+ "404": {
10475
+ "description": "No matching OpenAPI specification version found",
10476
+ "$ref": "#/components/responses/NotFoundError"
10477
+ },
10478
+ "default": {
10479
+ "$ref": "#/components/responses/UnexpectedError"
10480
+ }
10481
+ }
10482
+ }
10483
+ },
10484
+ "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}": {
10485
+ "get": {
10486
+ "operationId": "getOpenAPISpecVersionById",
10487
+ "summary": "Get an OpenAPI specification version by its ID",
10488
+ "tags": [
10489
+ "openapi"
10490
+ ],
10491
+ "security": [
10492
+ {
10493
+ "user": []
10494
+ }
10495
+ ],
10496
+ "parameters": [
10497
+ {
10498
+ "$ref": "#/components/parameters/organizationId"
10499
+ },
10500
+ {
10501
+ "$ref": "#/components/parameters/openapiSpecSlug"
10502
+ },
10503
+ {
10504
+ "$ref": "#/components/parameters/openapiSpecVersionId"
10505
+ }
10506
+ ],
10507
+ "responses": {
10508
+ "200": {
10509
+ "description": "OK",
10510
+ "content": {
10511
+ "application/json": {
10512
+ "schema": {
10513
+ "$ref": "#/components/schemas/OpenAPISpecVersion"
10514
+ }
10515
+ }
10516
+ }
10517
+ },
10518
+ "404": {
10519
+ "description": "No matching OpenAPI specification version found",
10520
+ "$ref": "#/components/responses/NotFoundError"
10521
+ },
10522
+ "default": {
10523
+ "$ref": "#/components/responses/UnexpectedError"
10524
+ }
10525
+ }
10526
+ }
10527
+ },
10528
+ "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content": {
10529
+ "get": {
10530
+ "operationId": "getOpenAPISpecVersionContentById",
10531
+ "summary": "Get an OpenAPI specification version content by its ID",
10532
+ "tags": [
10533
+ "openapi"
10534
+ ],
10535
+ "security": [
10536
+ {
10537
+ "user": []
10538
+ }
10539
+ ],
10540
+ "parameters": [
10541
+ {
10542
+ "$ref": "#/components/parameters/organizationId"
10543
+ },
10544
+ {
10545
+ "$ref": "#/components/parameters/openapiSpecSlug"
10546
+ },
10547
+ {
10548
+ "$ref": "#/components/parameters/openapiSpecVersionId"
10549
+ }
10550
+ ],
10551
+ "responses": {
10552
+ "200": {
10553
+ "description": "OK",
10554
+ "content": {
10555
+ "application/json": {
10556
+ "schema": {
10557
+ "$ref": "#/components/schemas/OpenAPISpecContent"
10558
+ }
10559
+ }
10560
+ }
10561
+ },
10562
+ "404": {
10563
+ "description": "No matching OpenAPI specification version found",
10564
+ "$ref": "#/components/responses/NotFoundError"
10565
+ },
10566
+ "default": {
10567
+ "$ref": "#/components/responses/UnexpectedError"
10568
+ }
10569
+ }
10570
+ }
10571
+ },
10572
+ "/orgs/{organizationId}/storage/upload": {
10573
+ "post": {
10574
+ "operationId": "generateStorageUploadURL",
10575
+ "summary": "Create a signed URL to upload a file",
10576
+ "description": "Generate a pre-signed URL that can be used to upload a file to storage",
10577
+ "tags": [
10578
+ "organizations"
10579
+ ],
10580
+ "security": [
10581
+ {
10582
+ "user-internal": []
10583
+ }
10584
+ ],
10585
+ "parameters": [
10586
+ {
10587
+ "$ref": "#/components/parameters/organizationId"
10588
+ }
10589
+ ],
10590
+ "requestBody": {
10591
+ "required": true,
10592
+ "content": {
10593
+ "application/json": {
10594
+ "schema": {
10595
+ "type": "object",
10596
+ "required": [
10597
+ "file",
10598
+ "kind"
10599
+ ],
10600
+ "properties": {
10601
+ "file": {
10602
+ "$ref": "#/components/schemas/StorageFileMetadata"
10603
+ },
10604
+ "kind": {
10605
+ "$ref": "#/components/schemas/StorageUploadKind"
10606
+ }
10607
+ }
10608
+ }
10609
+ }
10610
+ }
10611
+ },
10612
+ "responses": {
10613
+ "201": {
10614
+ "description": "Successfully generated signed URL for file upload",
10615
+ "content": {
10616
+ "application/json": {
10617
+ "schema": {
10618
+ "$ref": "#/components/schemas/StorageUploadURL"
10619
+ }
10620
+ }
10621
+ }
10622
+ },
10623
+ "400": {
10624
+ "$ref": "#/components/responses/BadRequestError"
10625
+ },
10626
+ "default": {
10627
+ "$ref": "#/components/responses/UnexpectedError"
10628
+ }
10629
+ }
10630
+ }
10631
+ },
10632
+ "/orgs/{organizationId}/fonts": {
10633
+ "get": {
10634
+ "operationId": "listCustomFonts",
10635
+ "summary": "List custom fonts in organization",
10636
+ "tags": [
10637
+ "organizations"
10638
+ ],
10639
+ "security": [
10640
+ {
10641
+ "user-internal": []
10642
+ }
10643
+ ],
10644
+ "parameters": [
10645
+ {
10646
+ "$ref": "#/components/parameters/organizationId"
10647
+ }
10648
+ ],
10649
+ "responses": {
10650
+ "200": {
10651
+ "description": "OK",
10652
+ "content": {
10653
+ "application/json": {
10654
+ "schema": {
10655
+ "allOf": [
10656
+ {
10657
+ "$ref": "#/components/schemas/List"
10658
+ },
10659
+ {
10660
+ "type": "object",
10661
+ "required": [
10662
+ "items"
10663
+ ],
10664
+ "properties": {
10665
+ "items": {
10666
+ "type": "array",
10667
+ "items": {
10668
+ "$ref": "#/components/schemas/CustomizationFontDefinition"
10669
+ }
10670
+ }
10671
+ }
10672
+ }
10673
+ ]
10674
+ }
10675
+ }
10676
+ }
10677
+ },
10678
+ "404": {
10679
+ "$ref": "#/components/responses/NotFoundError"
10680
+ },
10681
+ "default": {
10682
+ "$ref": "#/components/responses/UnexpectedError"
10683
+ }
10684
+ }
10685
+ },
10686
+ "put": {
10687
+ "operationId": "createCustomFont",
10688
+ "summary": "Create a custom font in organization",
10689
+ "tags": [
10690
+ "organizations"
10691
+ ],
10692
+ "security": [
10693
+ {
10694
+ "user-internal": []
10695
+ }
10696
+ ],
10697
+ "parameters": [
10698
+ {
10699
+ "$ref": "#/components/parameters/organizationId"
10700
+ }
10701
+ ],
10702
+ "requestBody": {
10703
+ "required": true,
10704
+ "content": {
10705
+ "application/json": {
10706
+ "schema": {
10707
+ "type": "object",
10708
+ "description": "Defines a custom font and associated font faces with storage references.",
10709
+ "properties": {
10710
+ "fontFamily": {
10711
+ "$ref": "#/components/schemas/FontFamily"
10712
+ },
10713
+ "fontFaces": {
10714
+ "type": "array",
10715
+ "description": "Array of font faces specifying weights and their corresponding storage keys.\nAt least one font face with weight 400 (regular) must be provided.\n",
10716
+ "items": {
10717
+ "type": "object",
10718
+ "properties": {
10719
+ "weight": {
10720
+ "$ref": "#/components/schemas/FontWeight"
10721
+ },
10722
+ "storageKey": {
10723
+ "$ref": "#/components/schemas/StorageFileKey"
10724
+ }
10725
+ },
10726
+ "required": [
10727
+ "weight",
10728
+ "storageKey"
10729
+ ]
10730
+ },
10731
+ "minItems": 1
10732
+ }
10733
+ },
10734
+ "required": [
10735
+ "fontFamily",
10736
+ "fontFaces"
10737
+ ]
10738
+ }
10739
+ }
10740
+ }
10741
+ },
10742
+ "responses": {
10743
+ "201": {
10744
+ "description": "Custom font created successfully.",
10745
+ "content": {
10746
+ "application/json": {
10747
+ "schema": {
10748
+ "$ref": "#/components/schemas/CustomizationFontDefinition"
10749
+ }
10750
+ }
10751
+ }
10752
+ },
10753
+ "404": {
10754
+ "$ref": "#/components/responses/NotFoundError"
10755
+ },
10756
+ "412": {
10757
+ "description": "Invalid request data, such as missing required font weights.",
10758
+ "$ref": "#/components/responses/PreconditionFailedError"
10759
+ },
10760
+ "default": {
10761
+ "$ref": "#/components/responses/UnexpectedError"
10762
+ }
10763
+ }
10764
+ }
10765
+ },
10766
+ "/orgs/{organizationId}/fonts/{fontId}": {
10767
+ "delete": {
10768
+ "operationId": "deleteCustomFont",
10769
+ "summary": "Delete a custom font from an organization",
10770
+ "tags": [
10771
+ "organizations"
10772
+ ],
10773
+ "security": [
10774
+ {
10775
+ "user-internal": []
10776
+ }
10777
+ ],
10778
+ "parameters": [
10779
+ {
10780
+ "$ref": "#/components/parameters/organizationId"
10781
+ },
10782
+ {
10783
+ "$ref": "#/components/parameters/fontId"
10784
+ }
10785
+ ],
10786
+ "responses": {
10787
+ "204": {
10788
+ "description": "Custom font deleted successfully."
10789
+ },
10790
+ "404": {
10791
+ "description": "Organization or font not found.",
10792
+ "$ref": "#/components/responses/NotFoundError"
10793
+ },
10794
+ "default": {
10795
+ "$ref": "#/components/responses/UnexpectedError"
10796
+ }
10797
+ }
10798
+ }
10799
+ },
10800
+ "/orgs/{organizationId}/sites": {
10801
+ "get": {
10802
+ "operationId": "listSites",
10803
+ "summary": "List all the sites created in an organization",
10804
+ "tags": [
10805
+ "sites",
10806
+ "critical"
10807
+ ],
10808
+ "security": [
10809
+ {
10810
+ "user": []
10811
+ }
10812
+ ],
10813
+ "parameters": [
10814
+ {
10815
+ "$ref": "#/components/parameters/organizationId"
10816
+ },
10817
+ {
10818
+ "$ref": "#/components/parameters/listPage"
10819
+ },
10820
+ {
10821
+ "$ref": "#/components/parameters/listLimit"
10822
+ },
10823
+ {
10824
+ "name": "space",
10825
+ "in": "query",
10826
+ "description": "Identifier of the space to filter the sites by",
10827
+ "required": false,
10828
+ "schema": {
10829
+ "type": "string"
10830
+ }
10831
+ },
10832
+ {
10833
+ "name": "title",
10834
+ "in": "query",
10835
+ "description": "Filter sites by their title",
10836
+ "required": false,
10837
+ "schema": {
10838
+ "type": "string"
10839
+ }
10840
+ },
10841
+ {
10842
+ "name": "published",
10843
+ "in": "query",
10844
+ "description": "Filter sites by their published status",
10845
+ "required": false,
10846
+ "schema": {
10847
+ "type": "boolean"
10848
+ }
10849
+ },
10850
+ {
10851
+ "name": "type",
10852
+ "in": "query",
10853
+ "description": "Filter by site type",
10854
+ "required": false,
10855
+ "schema": {
10856
+ "type": "array",
10857
+ "items": {
10858
+ "$ref": "#/components/schemas/SiteType"
10859
+ }
10860
+ }
10861
+ }
10862
+ ],
10863
+ "responses": {
10864
+ "200": {
10865
+ "description": "OK",
10866
+ "content": {
10867
+ "application/json": {
10868
+ "schema": {
10869
+ "allOf": [
10870
+ {
10871
+ "$ref": "#/components/schemas/List"
10872
+ },
10873
+ {
10874
+ "type": "object",
10875
+ "required": [
10876
+ "items"
10877
+ ],
10878
+ "properties": {
10879
+ "items": {
10880
+ "type": "array",
10881
+ "items": {
10882
+ "$ref": "#/components/schemas/Site"
10883
+ }
10884
+ }
10885
+ }
10886
+ }
10887
+ ]
10888
+ }
10889
+ }
10890
+ }
10891
+ },
10892
+ "default": {
10893
+ "$ref": "#/components/responses/UnexpectedError"
10894
+ }
10895
+ }
10896
+ },
10897
+ "post": {
10898
+ "operationId": "createSite",
10899
+ "summary": "Create a site in an organization",
10900
+ "tags": [
10901
+ "sites"
10902
+ ],
10903
+ "security": [
10904
+ {
10905
+ "user": []
10906
+ }
10907
+ ],
10908
+ "parameters": [
10909
+ {
10910
+ "$ref": "#/components/parameters/organizationId"
10911
+ }
10912
+ ],
10913
+ "requestBody": {
10914
+ "content": {
10915
+ "application/json": {
10916
+ "schema": {
10917
+ "type": "object",
10918
+ "properties": {
10919
+ "type": {
10920
+ "description": "The type of the site, defaults to Basic",
10921
+ "$ref": "#/components/schemas/SiteType"
10922
+ },
10923
+ "title": {
10924
+ "$ref": "#/components/schemas/SiteTitle"
10925
+ },
10926
+ "visibility": {
10927
+ "$ref": "#/components/schemas/SiteVisibility"
10928
+ },
10929
+ "spaces": {
10930
+ "oneOf": [
10931
+ {
10932
+ "type": "array",
10933
+ "description": "ID of spaces to be added to the site",
10934
+ "items": {
10935
+ "type": "string"
10936
+ }
10937
+ },
10938
+ {
10939
+ "type": "string",
10940
+ "description": "Create a new space associated to the site",
10941
+ "enum": [
10942
+ "sample",
10943
+ "empty"
10944
+ ]
10945
+ }
10946
+ ]
10947
+ }
10948
+ }
10949
+ }
10950
+ }
10951
+ }
10952
+ },
10953
+ "responses": {
10954
+ "201": {
10955
+ "description": "Site created",
10956
+ "headers": {
10957
+ "Location": {
10958
+ "description": "API URL for the newly created site",
10959
+ "schema": {
10960
+ "type": "string"
10961
+ }
10962
+ }
10963
+ },
10964
+ "content": {
10965
+ "application/json": {
10966
+ "schema": {
10967
+ "$ref": "#/components/schemas/Site"
10968
+ }
10969
+ }
10970
+ }
10971
+ },
10972
+ "default": {
10973
+ "$ref": "#/components/responses/UnexpectedError"
10974
+ }
10975
+ }
10976
+ }
10977
+ },
10978
+ "/orgs/{organizationId}/sites/{siteId}": {
10979
+ "get": {
10980
+ "operationId": "getSiteById",
10981
+ "summary": "Get an organization site by its ID",
10982
+ "tags": [
10983
+ "sites"
10984
+ ],
10985
+ "security": [
10986
+ {
10987
+ "user": []
10988
+ }
10989
+ ],
10990
+ "parameters": [
10991
+ {
10992
+ "$ref": "#/components/parameters/organizationId"
10993
+ },
10994
+ {
10995
+ "$ref": "#/components/parameters/siteId"
10996
+ }
10997
+ ],
10998
+ "responses": {
10999
+ "200": {
11000
+ "description": "OK",
11001
+ "content": {
11002
+ "application/json": {
11003
+ "schema": {
11004
+ "$ref": "#/components/schemas/Site"
11005
+ }
11006
+ }
11007
+ }
11008
+ },
11009
+ "404": {
11010
+ "description": "No matching site found",
11011
+ "$ref": "#/components/responses/NotFoundError"
11012
+ },
11013
+ "default": {
11014
+ "$ref": "#/components/responses/UnexpectedError"
11015
+ }
11016
+ }
11017
+ },
11018
+ "patch": {
11019
+ "operationId": "updateSiteById",
11020
+ "summary": "Update a site in an organization",
11021
+ "tags": [
11022
+ "sites"
11023
+ ],
11024
+ "security": [
11025
+ {
11026
+ "user": []
11027
+ }
11028
+ ],
11029
+ "parameters": [
11030
+ {
11031
+ "$ref": "#/components/parameters/organizationId"
11032
+ },
11033
+ {
11034
+ "$ref": "#/components/parameters/siteId"
11035
+ }
11036
+ ],
11037
+ "requestBody": {
11038
+ "required": true,
11039
+ "content": {
11040
+ "application/json": {
11041
+ "schema": {
11042
+ "type": "object",
11043
+ "properties": {
11044
+ "title": {
11045
+ "$ref": "#/components/schemas/SiteTitle"
11046
+ },
11047
+ "visibility": {
11048
+ "$ref": "#/components/schemas/SiteVisibility"
11049
+ },
11050
+ "basename": {
11051
+ "$ref": "#/components/schemas/SiteBasename"
11052
+ },
11053
+ "adaptiveContent": {
11054
+ "$ref": "#/components/schemas/SiteAdaptiveContent"
11055
+ },
11056
+ "defaultSiteSpace": {
11057
+ "type": "string",
11058
+ "description": "ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section."
11059
+ },
11060
+ "defaultSiteSection": {
11061
+ "type": "string",
11062
+ "description": "ID of the site-section to be used as the default."
11063
+ },
11064
+ "proxy": {
11065
+ "description": "Configure a proxy URL for a site. For example, you can use it to host the site on a subdirectory of your domain like `https://company.com/docs`.\nUse `null` to remove the proxy.\n",
11066
+ "oneOf": [
11067
+ {
11068
+ "$ref": "#/components/schemas/SiteProxy"
11069
+ },
11070
+ {
11071
+ "type": "string",
11072
+ "nullable": true,
11073
+ "enum": [
11074
+ null
11075
+ ]
11076
+ }
11077
+ ]
11078
+ }
11079
+ }
11080
+ }
11081
+ }
11082
+ }
11083
+ },
11084
+ "responses": {
11085
+ "200": {
11086
+ "description": "OK",
11087
+ "content": {
11088
+ "application/json": {
11089
+ "schema": {
11090
+ "$ref": "#/components/schemas/Site"
11091
+ }
11092
+ }
11093
+ }
11094
+ },
11095
+ "default": {
11096
+ "$ref": "#/components/responses/UnexpectedError"
11097
+ }
11098
+ }
11099
+ },
11100
+ "delete": {
11101
+ "operationId": "deleteSiteById",
11102
+ "summary": "Delete a site in an organization",
11103
+ "tags": [
11104
+ "sites"
11105
+ ],
11106
+ "security": [
11107
+ {
11108
+ "user": []
11109
+ }
11110
+ ],
11111
+ "parameters": [
11112
+ {
11113
+ "$ref": "#/components/parameters/organizationId"
11114
+ },
11115
+ {
11116
+ "$ref": "#/components/parameters/siteId"
11117
+ }
11118
+ ],
11119
+ "responses": {
11120
+ "205": {
11121
+ "description": "Site has been deleted"
11122
+ },
11123
+ "default": {
11124
+ "$ref": "#/components/responses/UnexpectedError"
11125
+ }
11126
+ }
11127
+ }
11128
+ },
11129
+ "/orgs/{organizationId}/sites/{siteId}/published": {
11130
+ "get": {
11131
+ "operationId": "getPublishedContentSite",
11132
+ "summary": "Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.",
11133
+ "tags": [
11134
+ "sites"
11135
+ ],
11136
+ "security": [
11137
+ {
11138
+ "user": []
11139
+ }
11140
+ ],
11141
+ "parameters": [
11142
+ {
11143
+ "$ref": "#/components/parameters/organizationId"
11144
+ },
11145
+ {
11146
+ "$ref": "#/components/parameters/siteId"
11147
+ },
11148
+ {
11149
+ "$ref": "#/components/parameters/siteShareKey"
11150
+ }
11151
+ ],
11152
+ "responses": {
11153
+ "200": {
11154
+ "description": "OK",
11155
+ "content": {
11156
+ "application/json": {
11157
+ "schema": {
11158
+ "$ref": "#/components/schemas/PublishedContentSite"
11159
+ }
11160
+ }
11161
+ }
11162
+ },
11163
+ "404": {
11164
+ "description": "No matching site found",
11165
+ "$ref": "#/components/responses/NotFoundError"
11166
+ },
11167
+ "default": {
11168
+ "$ref": "#/components/responses/UnexpectedError"
11169
+ }
11170
+ }
11171
+ }
11172
+ },
11173
+ "/orgs/{organizationId}/sites/{siteId}/publish": {
11174
+ "post": {
11175
+ "operationId": "publishSite",
11176
+ "summary": "Publishes the site to the audience defined in the site's visibility setting.",
11177
+ "tags": [
11178
+ "sites"
11179
+ ],
11180
+ "security": [
11181
+ {
11182
+ "user": []
11183
+ }
11184
+ ],
11185
+ "parameters": [
11186
+ {
11187
+ "$ref": "#/components/parameters/organizationId"
11188
+ },
11189
+ {
11190
+ "$ref": "#/components/parameters/siteId"
11191
+ }
11192
+ ],
11193
+ "responses": {
11194
+ "200": {
11195
+ "description": "Site published successfully",
11196
+ "content": {
11197
+ "application/json": {
11198
+ "schema": {
11199
+ "oneOf": [
11200
+ {
11201
+ "$ref": "#/components/schemas/Site"
11202
+ },
11203
+ {
11204
+ "type": "object",
11205
+ "description": "User needs to checkout in order to publish the site.",
11206
+ "properties": {
11207
+ "type": {
11208
+ "type": "string",
11209
+ "enum": [
11210
+ "checkout"
11211
+ ]
11212
+ },
11213
+ "sessionId": {
11214
+ "type": "string",
11215
+ "description": "Stripe payment session ID"
11216
+ }
11217
+ },
11218
+ "required": [
11219
+ "type",
11220
+ "sessionId"
11221
+ ]
11222
+ }
11223
+ ]
11224
+ }
11225
+ }
11226
+ }
11227
+ },
11228
+ "default": {
11229
+ "$ref": "#/components/responses/UnexpectedError"
11230
+ }
11231
+ }
11232
+ }
11233
+ },
11234
+ "/orgs/{organizationId}/sites/{siteId}/unpublish": {
11235
+ "post": {
11236
+ "operationId": "unpublishSite",
11237
+ "summary": "Unpublishes the site.",
11238
+ "tags": [
11239
+ "sites"
11240
+ ],
11241
+ "security": [
11242
+ {
11243
+ "user": []
11244
+ }
11245
+ ],
11246
+ "parameters": [
11247
+ {
11248
+ "$ref": "#/components/parameters/organizationId"
11249
+ },
11250
+ {
11251
+ "$ref": "#/components/parameters/siteId"
11252
+ }
11253
+ ],
11254
+ "responses": {
11255
+ "200": {
11256
+ "description": "Site unpublished successfully",
11257
+ "content": {
11258
+ "application/json": {
11259
+ "schema": {
11260
+ "$ref": "#/components/schemas/Site"
11261
+ }
11262
+ }
11263
+ }
11264
+ },
11265
+ "default": {
11266
+ "$ref": "#/components/responses/UnexpectedError"
11267
+ }
11268
+ }
11269
+ }
11270
+ },
11271
+ "/orgs/{organizationId}/sites/{siteId}/share-links": {
11272
+ "get": {
11273
+ "operationId": "listSiteShareLinks",
11274
+ "summary": "List all the share links created in a site",
11275
+ "tags": [
11276
+ "sites"
11277
+ ],
11278
+ "security": [
11279
+ {
11280
+ "user": []
11281
+ }
11282
+ ],
11283
+ "parameters": [
11284
+ {
11285
+ "$ref": "#/components/parameters/organizationId"
11286
+ },
11287
+ {
11288
+ "$ref": "#/components/parameters/siteId"
10596
11289
  },
10597
11290
  {
10598
11291
  "$ref": "#/components/parameters/listPage"
@@ -12718,6 +13411,9 @@
12718
13411
  }
12719
13412
  ]
12720
13413
  },
13414
+ "announcement": {
13415
+ "$ref": "#/components/schemas/CustomizationAnnouncement"
13416
+ },
12721
13417
  "header": {
12722
13418
  "type": "object",
12723
13419
  "properties": {
@@ -13716,86 +14412,23 @@
13716
14412
  "type": "object",
13717
14413
  "properties": {
13718
14414
  "redirect": {
13719
- "$ref": "#/components/schemas/SiteRedirect"
13720
- },
13721
- "target": {
13722
- "type": "string",
13723
- "description": "URL of the destination of the redirect."
13724
- }
13725
- },
13726
- "required": [
13727
- "redirect",
13728
- "target"
13729
- ]
13730
- }
13731
- }
13732
- }
13733
- },
13734
- "404": {
13735
- "$ref": "#/components/responses/NotFoundError"
13736
- },
13737
- "default": {
13738
- "$ref": "#/components/responses/UnexpectedError"
13739
- }
13740
- }
13741
- }
13742
- },
13743
- "/orgs/{organizationId}/sites/{siteId}/storage/upload": {
13744
- "post": {
13745
- "operationId": "generateSiteStorageUploadURL",
13746
- "summary": "Create a signed URL to upload a file",
13747
- "description": "Generate a pre-signed URL that can be used to upload a file to storage",
13748
- "tags": [
13749
- "organization"
13750
- ],
13751
- "security": [
13752
- {
13753
- "user-internal": []
13754
- }
13755
- ],
13756
- "parameters": [
13757
- {
13758
- "$ref": "#/components/parameters/organizationId"
13759
- },
13760
- {
13761
- "$ref": "#/components/parameters/siteId"
13762
- }
13763
- ],
13764
- "requestBody": {
13765
- "required": true,
13766
- "content": {
13767
- "application/json": {
13768
- "schema": {
13769
- "type": "object",
13770
- "required": [
13771
- "file",
13772
- "kind"
13773
- ],
13774
- "properties": {
13775
- "file": {
13776
- "$ref": "#/components/schemas/StorageFileMetadata"
13777
- },
13778
- "kind": {
13779
- "$ref": "#/components/schemas/StorageUploadKind"
13780
- }
13781
- }
13782
- }
13783
- }
13784
- }
13785
- },
13786
- "responses": {
13787
- "201": {
13788
- "description": "Successfully generated signed URL for file upload",
13789
- "content": {
13790
- "application/json": {
13791
- "schema": {
13792
- "$ref": "#/components/schemas/StorageUploadURL"
14415
+ "$ref": "#/components/schemas/SiteRedirect"
14416
+ },
14417
+ "target": {
14418
+ "type": "string",
14419
+ "description": "URL of the destination of the redirect."
14420
+ }
14421
+ },
14422
+ "required": [
14423
+ "redirect",
14424
+ "target"
14425
+ ]
13793
14426
  }
13794
14427
  }
13795
14428
  }
13796
14429
  },
13797
- "400": {
13798
- "$ref": "#/components/responses/BadRequestError"
14430
+ "404": {
14431
+ "$ref": "#/components/responses/NotFoundError"
13799
14432
  },
13800
14433
  "default": {
13801
14434
  "$ref": "#/components/responses/UnexpectedError"
@@ -14305,461 +14938,6 @@
14305
14938
  }
14306
14939
  }
14307
14940
  }
14308
- },
14309
- "/orgs/{organizationId}/openapi": {
14310
- "get": {
14311
- "operationId": "listOpenAPISpecs",
14312
- "summary": "List all the OpenAPI specifications in the organization",
14313
- "tags": [
14314
- "openapi"
14315
- ],
14316
- "security": [
14317
- {
14318
- "user": []
14319
- }
14320
- ],
14321
- "parameters": [
14322
- {
14323
- "$ref": "#/components/parameters/organizationId"
14324
- },
14325
- {
14326
- "$ref": "#/components/parameters/listPage"
14327
- },
14328
- {
14329
- "$ref": "#/components/parameters/listLimit"
14330
- }
14331
- ],
14332
- "responses": {
14333
- "200": {
14334
- "description": "OK",
14335
- "content": {
14336
- "application/json": {
14337
- "schema": {
14338
- "allOf": [
14339
- {
14340
- "$ref": "#/components/schemas/List"
14341
- },
14342
- {
14343
- "type": "object",
14344
- "required": [
14345
- "items"
14346
- ],
14347
- "properties": {
14348
- "items": {
14349
- "type": "array",
14350
- "items": {
14351
- "$ref": "#/components/schemas/OpenAPISpec"
14352
- }
14353
- }
14354
- }
14355
- }
14356
- ]
14357
- }
14358
- }
14359
- }
14360
- },
14361
- "default": {
14362
- "$ref": "#/components/responses/UnexpectedError"
14363
- }
14364
- }
14365
- }
14366
- },
14367
- "/orgs/{organizationId}/openapi/{specSlug}": {
14368
- "get": {
14369
- "operationId": "getOpenAPISpecBySlug",
14370
- "summary": "Get an organization OpenAPI specification by its slug",
14371
- "tags": [
14372
- "openapi"
14373
- ],
14374
- "security": [
14375
- {
14376
- "user": []
14377
- }
14378
- ],
14379
- "parameters": [
14380
- {
14381
- "$ref": "#/components/parameters/organizationId"
14382
- },
14383
- {
14384
- "$ref": "#/components/parameters/openapiSpecSlug"
14385
- }
14386
- ],
14387
- "responses": {
14388
- "200": {
14389
- "description": "OK",
14390
- "content": {
14391
- "application/json": {
14392
- "schema": {
14393
- "$ref": "#/components/schemas/OpenAPISpec"
14394
- }
14395
- }
14396
- }
14397
- },
14398
- "404": {
14399
- "description": "No matching OpenAPI specification found",
14400
- "$ref": "#/components/responses/NotFoundError"
14401
- },
14402
- "default": {
14403
- "$ref": "#/components/responses/UnexpectedError"
14404
- }
14405
- }
14406
- },
14407
- "put": {
14408
- "operationId": "createOrUpdateOpenAPISpecBySlug",
14409
- "summary": "Create or update an organization OpenAPI specification by its slug",
14410
- "tags": [
14411
- "openapi"
14412
- ],
14413
- "security": [
14414
- {
14415
- "user": []
14416
- }
14417
- ],
14418
- "parameters": [
14419
- {
14420
- "$ref": "#/components/parameters/organizationId"
14421
- },
14422
- {
14423
- "$ref": "#/components/parameters/openapiSpecSlug"
14424
- }
14425
- ],
14426
- "requestBody": {
14427
- "required": true,
14428
- "content": {
14429
- "application/json": {
14430
- "schema": {
14431
- "type": "object",
14432
- "properties": {
14433
- "source": {
14434
- "oneOf": [
14435
- {
14436
- "description": "Create a specification from an URL",
14437
- "type": "object",
14438
- "properties": {
14439
- "url": {
14440
- "$ref": "#/components/schemas/URL"
14441
- }
14442
- },
14443
- "required": [
14444
- "url"
14445
- ]
14446
- },
14447
- {
14448
- "description": "Create a specification from a text string",
14449
- "type": "object",
14450
- "properties": {
14451
- "text": {
14452
- "description": "OpenAPI specification as text",
14453
- "type": "string",
14454
- "minLength": 1
14455
- }
14456
- },
14457
- "required": [
14458
- "text"
14459
- ]
14460
- }
14461
- ]
14462
- }
14463
- },
14464
- "required": [
14465
- "source"
14466
- ]
14467
- }
14468
- }
14469
- }
14470
- },
14471
- "responses": {
14472
- "200": {
14473
- "description": "OpenAPI specification has been updated",
14474
- "content": {
14475
- "application/json": {
14476
- "schema": {
14477
- "$ref": "#/components/schemas/OpenAPISpec"
14478
- }
14479
- }
14480
- }
14481
- },
14482
- "201": {
14483
- "description": "OpenAPI specification has been created",
14484
- "content": {
14485
- "application/json": {
14486
- "schema": {
14487
- "$ref": "#/components/schemas/OpenAPISpec"
14488
- }
14489
- }
14490
- }
14491
- },
14492
- "400": {
14493
- "$ref": "#/components/responses/BadRequestError"
14494
- },
14495
- "default": {
14496
- "$ref": "#/components/responses/UnexpectedError"
14497
- }
14498
- }
14499
- },
14500
- "delete": {
14501
- "operationId": "deleteOpenAPISpecBySlug",
14502
- "summary": "Delete an organization OpenAPI specification by its slug",
14503
- "tags": [
14504
- "openapi"
14505
- ],
14506
- "security": [
14507
- {
14508
- "user": []
14509
- }
14510
- ],
14511
- "parameters": [
14512
- {
14513
- "$ref": "#/components/parameters/organizationId"
14514
- },
14515
- {
14516
- "$ref": "#/components/parameters/openapiSpecSlug"
14517
- }
14518
- ],
14519
- "responses": {
14520
- "205": {
14521
- "description": "OpenAPI specification has been deleted"
14522
- },
14523
- "default": {
14524
- "$ref": "#/components/responses/UnexpectedError"
14525
- }
14526
- }
14527
- }
14528
- },
14529
- "/orgs/{organizationId}/openapi/{specSlug}/versions": {
14530
- "get": {
14531
- "operationId": "listOpenAPISpecVersions",
14532
- "summary": "List all the OpenAPI specification versions",
14533
- "tags": [
14534
- "openapi"
14535
- ],
14536
- "security": [
14537
- {
14538
- "user": []
14539
- }
14540
- ],
14541
- "parameters": [
14542
- {
14543
- "$ref": "#/components/parameters/organizationId"
14544
- },
14545
- {
14546
- "$ref": "#/components/parameters/openapiSpecSlug"
14547
- },
14548
- {
14549
- "$ref": "#/components/parameters/listPage"
14550
- },
14551
- {
14552
- "$ref": "#/components/parameters/listLimit"
14553
- }
14554
- ],
14555
- "responses": {
14556
- "200": {
14557
- "description": "OK",
14558
- "content": {
14559
- "application/json": {
14560
- "schema": {
14561
- "allOf": [
14562
- {
14563
- "$ref": "#/components/schemas/List"
14564
- },
14565
- {
14566
- "type": "object",
14567
- "required": [
14568
- "items"
14569
- ],
14570
- "properties": {
14571
- "items": {
14572
- "type": "array",
14573
- "items": {
14574
- "$ref": "#/components/schemas/OpenAPISpecVersion"
14575
- }
14576
- }
14577
- }
14578
- }
14579
- ]
14580
- }
14581
- }
14582
- }
14583
- },
14584
- "404": {
14585
- "description": "No matching OpenAPI specification found",
14586
- "$ref": "#/components/responses/NotFoundError"
14587
- },
14588
- "default": {
14589
- "$ref": "#/components/responses/UnexpectedError"
14590
- }
14591
- }
14592
- }
14593
- },
14594
- "/orgs/{organizationId}/openapi/{specSlug}/versions/latest": {
14595
- "get": {
14596
- "operationId": "getLatestOpenAPISpecVersion",
14597
- "summary": "Get the latest OpenAPI specification version",
14598
- "tags": [
14599
- "openapi"
14600
- ],
14601
- "security": [
14602
- {
14603
- "user": []
14604
- }
14605
- ],
14606
- "parameters": [
14607
- {
14608
- "$ref": "#/components/parameters/organizationId"
14609
- },
14610
- {
14611
- "$ref": "#/components/parameters/openapiSpecSlug"
14612
- }
14613
- ],
14614
- "responses": {
14615
- "200": {
14616
- "description": "OK",
14617
- "content": {
14618
- "application/json": {
14619
- "schema": {
14620
- "$ref": "#/components/schemas/OpenAPISpecVersion"
14621
- }
14622
- }
14623
- }
14624
- },
14625
- "404": {
14626
- "description": "No matching OpenAPI specification version found",
14627
- "$ref": "#/components/responses/NotFoundError"
14628
- },
14629
- "default": {
14630
- "$ref": "#/components/responses/UnexpectedError"
14631
- }
14632
- }
14633
- }
14634
- },
14635
- "/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content": {
14636
- "get": {
14637
- "operationId": "getLatestOpenAPISpecVersionContent",
14638
- "summary": "Get the latest OpenAPI specification version content",
14639
- "tags": [
14640
- "openapi"
14641
- ],
14642
- "security": [
14643
- {
14644
- "user": []
14645
- }
14646
- ],
14647
- "parameters": [
14648
- {
14649
- "$ref": "#/components/parameters/organizationId"
14650
- },
14651
- {
14652
- "$ref": "#/components/parameters/openapiSpecSlug"
14653
- }
14654
- ],
14655
- "responses": {
14656
- "200": {
14657
- "description": "OK",
14658
- "content": {
14659
- "application/json": {
14660
- "schema": {
14661
- "$ref": "#/components/schemas/OpenAPISpecContent"
14662
- }
14663
- }
14664
- }
14665
- },
14666
- "404": {
14667
- "description": "No matching OpenAPI specification version found",
14668
- "$ref": "#/components/responses/NotFoundError"
14669
- },
14670
- "default": {
14671
- "$ref": "#/components/responses/UnexpectedError"
14672
- }
14673
- }
14674
- }
14675
- },
14676
- "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}": {
14677
- "get": {
14678
- "operationId": "getOpenAPISpecVersionById",
14679
- "summary": "Get an OpenAPI specification version by its ID",
14680
- "tags": [
14681
- "openapi"
14682
- ],
14683
- "security": [
14684
- {
14685
- "user": []
14686
- }
14687
- ],
14688
- "parameters": [
14689
- {
14690
- "$ref": "#/components/parameters/organizationId"
14691
- },
14692
- {
14693
- "$ref": "#/components/parameters/openapiSpecSlug"
14694
- },
14695
- {
14696
- "$ref": "#/components/parameters/openapiSpecVersionId"
14697
- }
14698
- ],
14699
- "responses": {
14700
- "200": {
14701
- "description": "OK",
14702
- "content": {
14703
- "application/json": {
14704
- "schema": {
14705
- "$ref": "#/components/schemas/OpenAPISpecVersion"
14706
- }
14707
- }
14708
- }
14709
- },
14710
- "404": {
14711
- "description": "No matching OpenAPI specification version found",
14712
- "$ref": "#/components/responses/NotFoundError"
14713
- },
14714
- "default": {
14715
- "$ref": "#/components/responses/UnexpectedError"
14716
- }
14717
- }
14718
- }
14719
- },
14720
- "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content": {
14721
- "get": {
14722
- "operationId": "getOpenAPISpecVersionContentById",
14723
- "summary": "Get an OpenAPI specification version content by its ID",
14724
- "tags": [
14725
- "openapi"
14726
- ],
14727
- "security": [
14728
- {
14729
- "user": []
14730
- }
14731
- ],
14732
- "parameters": [
14733
- {
14734
- "$ref": "#/components/parameters/organizationId"
14735
- },
14736
- {
14737
- "$ref": "#/components/parameters/openapiSpecSlug"
14738
- },
14739
- {
14740
- "$ref": "#/components/parameters/openapiSpecVersionId"
14741
- }
14742
- ],
14743
- "responses": {
14744
- "200": {
14745
- "description": "OK",
14746
- "content": {
14747
- "application/json": {
14748
- "schema": {
14749
- "$ref": "#/components/schemas/OpenAPISpecContent"
14750
- }
14751
- }
14752
- }
14753
- },
14754
- "404": {
14755
- "description": "No matching OpenAPI specification version found",
14756
- "$ref": "#/components/responses/NotFoundError"
14757
- },
14758
- "default": {
14759
- "$ref": "#/components/responses/UnexpectedError"
14760
- }
14761
- }
14762
- }
14763
14941
  }
14764
14942
  },
14765
14943
  "components": {
@@ -15137,6 +15315,33 @@
15137
15315
  "type": "string"
15138
15316
  }
15139
15317
  },
15318
+ "openapiSpecSlug": {
15319
+ "name": "specSlug",
15320
+ "in": "path",
15321
+ "required": true,
15322
+ "description": "Slug of the OpenAPI specification",
15323
+ "schema": {
15324
+ "type": "string"
15325
+ }
15326
+ },
15327
+ "openapiSpecVersionId": {
15328
+ "name": "versionId",
15329
+ "in": "path",
15330
+ "required": true,
15331
+ "description": "The unique ID of the OpenAPI specification version",
15332
+ "schema": {
15333
+ "type": "string"
15334
+ }
15335
+ },
15336
+ "fontId": {
15337
+ "name": "fontId",
15338
+ "in": "path",
15339
+ "required": true,
15340
+ "description": "The unique ID of a font",
15341
+ "schema": {
15342
+ "type": "string"
15343
+ }
15344
+ },
15140
15345
  "shareLinkId": {
15141
15346
  "name": "shareLinkId",
15142
15347
  "in": "path",
@@ -15209,24 +15414,6 @@
15209
15414
  },
15210
15415
  "required": true
15211
15416
  },
15212
- "openapiSpecSlug": {
15213
- "name": "specSlug",
15214
- "in": "path",
15215
- "required": true,
15216
- "description": "Slug of the OpenAPI specification",
15217
- "schema": {
15218
- "type": "string"
15219
- }
15220
- },
15221
- "openapiSpecVersionId": {
15222
- "name": "versionId",
15223
- "in": "path",
15224
- "required": true,
15225
- "description": "The unique ID of the OpenAPI specification version",
15226
- "schema": {
15227
- "type": "string"
15228
- }
15229
- },
15230
15417
  "visitorId": {
15231
15418
  "name": "visitorId",
15232
15419
  "in": "path",
@@ -16958,56 +17145,165 @@
16958
17145
  "isVoid"
16959
17146
  ]
16960
17147
  },
16961
- "DocumentBlocksEssentials": {
17148
+ "DocumentBlockParagraph": {
17149
+ "type": "object",
17150
+ "properties": {
17151
+ "object": {
17152
+ "type": "string",
17153
+ "enum": [
17154
+ "block"
17155
+ ]
17156
+ },
17157
+ "type": {
17158
+ "type": "string",
17159
+ "enum": [
17160
+ "paragraph"
17161
+ ]
17162
+ },
17163
+ "key": {
17164
+ "type": "string"
17165
+ },
17166
+ "nodes": {
17167
+ "type": "array",
17168
+ "items": {
17169
+ "oneOf": [
17170
+ {
17171
+ "$ref": "#/components/schemas/DocumentInline"
17172
+ },
17173
+ {
17174
+ "$ref": "#/components/schemas/DocumentText"
17175
+ }
17176
+ ]
17177
+ }
17178
+ },
17179
+ "isVoid": {
17180
+ "type": "boolean",
17181
+ "enum": [
17182
+ false
17183
+ ]
17184
+ },
17185
+ "data": {
17186
+ "type": "object",
17187
+ "properties": {},
17188
+ "additionalProperties": false
17189
+ }
17190
+ },
17191
+ "required": [
17192
+ "object",
17193
+ "type",
17194
+ "nodes"
17195
+ ]
17196
+ },
17197
+ "DocumentInline": {
16962
17198
  "oneOf": [
16963
17199
  {
16964
- "$ref": "#/components/schemas/DocumentBlockParagraph"
17200
+ "$ref": "#/components/schemas/DocumentInlineLink"
16965
17201
  },
16966
17202
  {
16967
- "$ref": "#/components/schemas/DocumentBlockHeading"
17203
+ "$ref": "#/components/schemas/DocumentInlineEmoji"
16968
17204
  },
16969
17205
  {
16970
- "$ref": "#/components/schemas/DocumentBlockListOrdered"
17206
+ "$ref": "#/components/schemas/DocumentInlineMath"
16971
17207
  },
16972
17208
  {
16973
- "$ref": "#/components/schemas/DocumentBlockListUnordered"
17209
+ "$ref": "#/components/schemas/DocumentInlineImage"
16974
17210
  },
16975
17211
  {
16976
- "$ref": "#/components/schemas/DocumentBlockListTasks"
17212
+ "$ref": "#/components/schemas/DocumentInlineAnnotation"
16977
17213
  },
16978
17214
  {
16979
- "$ref": "#/components/schemas/DocumentBlockDivider"
17215
+ "$ref": "#/components/schemas/DocumentInlineMention"
16980
17216
  }
16981
17217
  ]
16982
17218
  },
16983
- "DocumentFragment": {
17219
+ "DocumentBlockHeading": {
16984
17220
  "type": "object",
16985
17221
  "properties": {
16986
17222
  "object": {
16987
17223
  "type": "string",
16988
17224
  "enum": [
16989
- "fragment"
17225
+ "block"
16990
17226
  ]
16991
17227
  },
16992
- "key": {
16993
- "type": "string"
16994
- },
16995
- "fragment": {
16996
- "type": "string"
16997
- },
16998
17228
  "type": {
17229
+ "type": "string",
17230
+ "enum": [
17231
+ "heading-1",
17232
+ "heading-2",
17233
+ "heading-3"
17234
+ ]
17235
+ },
17236
+ "key": {
16999
17237
  "type": "string"
17000
17238
  },
17001
17239
  "nodes": {
17002
17240
  "type": "array",
17003
17241
  "items": {
17004
- "$ref": "#/components/schemas/DocumentBlocksEssentials"
17242
+ "oneOf": [
17243
+ {
17244
+ "$ref": "#/components/schemas/DocumentInline"
17245
+ },
17246
+ {
17247
+ "$ref": "#/components/schemas/DocumentText"
17248
+ }
17249
+ ]
17005
17250
  }
17251
+ },
17252
+ "data": {
17253
+ "type": "object",
17254
+ "properties": {
17255
+ "id": {
17256
+ "type": "string",
17257
+ "pattern": "^[-a-z0-9.+_]+$"
17258
+ }
17259
+ }
17260
+ },
17261
+ "meta": {
17262
+ "type": "object",
17263
+ "properties": {
17264
+ "id": {
17265
+ "description": "Unique ID to be used in an URL for the block.",
17266
+ "type": "string"
17267
+ }
17268
+ },
17269
+ "required": [
17270
+ "id"
17271
+ ]
17272
+ },
17273
+ "isVoid": {
17274
+ "type": "boolean",
17275
+ "enum": [
17276
+ false
17277
+ ]
17006
17278
  }
17007
17279
  },
17008
17280
  "required": [
17009
17281
  "object",
17010
- "nodes"
17282
+ "type",
17283
+ "nodes",
17284
+ "data"
17285
+ ]
17286
+ },
17287
+ "DocumentBlocksEssentials": {
17288
+ "oneOf": [
17289
+ {
17290
+ "$ref": "#/components/schemas/DocumentBlockParagraph"
17291
+ },
17292
+ {
17293
+ "$ref": "#/components/schemas/DocumentBlockHeading"
17294
+ },
17295
+ {
17296
+ "$ref": "#/components/schemas/DocumentBlockListOrdered"
17297
+ },
17298
+ {
17299
+ "$ref": "#/components/schemas/DocumentBlockListUnordered"
17300
+ },
17301
+ {
17302
+ "$ref": "#/components/schemas/DocumentBlockListTasks"
17303
+ },
17304
+ {
17305
+ "$ref": "#/components/schemas/DocumentBlockDivider"
17306
+ }
17011
17307
  ]
17012
17308
  },
17013
17309
  "DocumentInlineAnnotation": {
@@ -17209,188 +17505,6 @@
17209
17505
  "nodes"
17210
17506
  ]
17211
17507
  },
17212
- "DocumentInlineMention": {
17213
- "type": "object",
17214
- "properties": {
17215
- "object": {
17216
- "type": "string",
17217
- "enum": [
17218
- "inline"
17219
- ]
17220
- },
17221
- "type": {
17222
- "type": "string",
17223
- "enum": [
17224
- "mention"
17225
- ]
17226
- },
17227
- "key": {
17228
- "type": "string"
17229
- },
17230
- "data": {
17231
- "type": "object",
17232
- "properties": {
17233
- "ref": {
17234
- "$ref": "#/components/schemas/ContentRef"
17235
- }
17236
- },
17237
- "required": [
17238
- "ref"
17239
- ]
17240
- },
17241
- "isVoid": {
17242
- "type": "boolean",
17243
- "enum": [
17244
- true
17245
- ]
17246
- }
17247
- },
17248
- "required": [
17249
- "object",
17250
- "type",
17251
- "data",
17252
- "isVoid"
17253
- ]
17254
- },
17255
- "DocumentInline": {
17256
- "oneOf": [
17257
- {
17258
- "$ref": "#/components/schemas/DocumentInlineLink"
17259
- },
17260
- {
17261
- "$ref": "#/components/schemas/DocumentInlineEmoji"
17262
- },
17263
- {
17264
- "$ref": "#/components/schemas/DocumentInlineMath"
17265
- },
17266
- {
17267
- "$ref": "#/components/schemas/DocumentInlineImage"
17268
- },
17269
- {
17270
- "$ref": "#/components/schemas/DocumentInlineAnnotation"
17271
- },
17272
- {
17273
- "$ref": "#/components/schemas/DocumentInlineMention"
17274
- }
17275
- ]
17276
- },
17277
- "DocumentBlockParagraph": {
17278
- "type": "object",
17279
- "properties": {
17280
- "object": {
17281
- "type": "string",
17282
- "enum": [
17283
- "block"
17284
- ]
17285
- },
17286
- "type": {
17287
- "type": "string",
17288
- "enum": [
17289
- "paragraph"
17290
- ]
17291
- },
17292
- "key": {
17293
- "type": "string"
17294
- },
17295
- "nodes": {
17296
- "type": "array",
17297
- "items": {
17298
- "oneOf": [
17299
- {
17300
- "$ref": "#/components/schemas/DocumentInline"
17301
- },
17302
- {
17303
- "$ref": "#/components/schemas/DocumentText"
17304
- }
17305
- ]
17306
- }
17307
- },
17308
- "isVoid": {
17309
- "type": "boolean",
17310
- "enum": [
17311
- false
17312
- ]
17313
- },
17314
- "data": {
17315
- "type": "object",
17316
- "properties": {},
17317
- "additionalProperties": false
17318
- }
17319
- },
17320
- "required": [
17321
- "object",
17322
- "type",
17323
- "nodes"
17324
- ]
17325
- },
17326
- "DocumentBlockHeading": {
17327
- "type": "object",
17328
- "properties": {
17329
- "object": {
17330
- "type": "string",
17331
- "enum": [
17332
- "block"
17333
- ]
17334
- },
17335
- "type": {
17336
- "type": "string",
17337
- "enum": [
17338
- "heading-1",
17339
- "heading-2",
17340
- "heading-3"
17341
- ]
17342
- },
17343
- "key": {
17344
- "type": "string"
17345
- },
17346
- "nodes": {
17347
- "type": "array",
17348
- "items": {
17349
- "oneOf": [
17350
- {
17351
- "$ref": "#/components/schemas/DocumentInline"
17352
- },
17353
- {
17354
- "$ref": "#/components/schemas/DocumentText"
17355
- }
17356
- ]
17357
- }
17358
- },
17359
- "data": {
17360
- "type": "object",
17361
- "properties": {
17362
- "id": {
17363
- "type": "string",
17364
- "pattern": "^[-a-z0-9.+_]+$"
17365
- }
17366
- }
17367
- },
17368
- "meta": {
17369
- "type": "object",
17370
- "properties": {
17371
- "id": {
17372
- "description": "Unique ID to be used in an URL for the block.",
17373
- "type": "string"
17374
- }
17375
- },
17376
- "required": [
17377
- "id"
17378
- ]
17379
- },
17380
- "isVoid": {
17381
- "type": "boolean",
17382
- "enum": [
17383
- false
17384
- ]
17385
- }
17386
- },
17387
- "required": [
17388
- "object",
17389
- "type",
17390
- "nodes",
17391
- "data"
17392
- ]
17393
- },
17394
17508
  "DocumentBlockHint": {
17395
17509
  "type": "object",
17396
17510
  "properties": {
@@ -17923,6 +18037,36 @@
17923
18037
  }
17924
18038
  ]
17925
18039
  },
18040
+ "DocumentFragment": {
18041
+ "type": "object",
18042
+ "properties": {
18043
+ "object": {
18044
+ "type": "string",
18045
+ "enum": [
18046
+ "fragment"
18047
+ ]
18048
+ },
18049
+ "key": {
18050
+ "type": "string"
18051
+ },
18052
+ "fragment": {
18053
+ "type": "string"
18054
+ },
18055
+ "type": {
18056
+ "type": "string"
18057
+ },
18058
+ "nodes": {
18059
+ "type": "array",
18060
+ "items": {
18061
+ "$ref": "#/components/schemas/DocumentBlock"
18062
+ }
18063
+ }
18064
+ },
18065
+ "required": [
18066
+ "object",
18067
+ "nodes"
18068
+ ]
18069
+ },
17926
18070
  "DocumentBlockTable": {
17927
18071
  "type": "object",
17928
18072
  "properties": {
@@ -18556,6 +18700,49 @@
18556
18700
  "isVoid"
18557
18701
  ]
18558
18702
  },
18703
+ "DocumentBlockReusableContent": {
18704
+ "type": "object",
18705
+ "properties": {
18706
+ "object": {
18707
+ "type": "string",
18708
+ "enum": [
18709
+ "block"
18710
+ ]
18711
+ },
18712
+ "type": {
18713
+ "type": "string",
18714
+ "enum": [
18715
+ "reusable-content"
18716
+ ]
18717
+ },
18718
+ "key": {
18719
+ "type": "string"
18720
+ },
18721
+ "data": {
18722
+ "type": "object",
18723
+ "properties": {
18724
+ "ref": {
18725
+ "$ref": "#/components/schemas/ContentRefReusableContent"
18726
+ }
18727
+ },
18728
+ "required": [
18729
+ "ref"
18730
+ ]
18731
+ },
18732
+ "isVoid": {
18733
+ "type": "boolean",
18734
+ "enum": [
18735
+ true
18736
+ ]
18737
+ }
18738
+ },
18739
+ "required": [
18740
+ "object",
18741
+ "type",
18742
+ "data",
18743
+ "isVoid"
18744
+ ]
18745
+ },
18559
18746
  "DocumentBlockExpandable": {
18560
18747
  "type": "object",
18561
18748
  "properties": {
@@ -18655,6 +18842,18 @@
18655
18842
  },
18656
18843
  {
18657
18844
  "$ref": "#/components/schemas/DocumentBlockCode"
18845
+ },
18846
+ {
18847
+ "$ref": "#/components/schemas/DocumentBlockTable"
18848
+ },
18849
+ {
18850
+ "$ref": "#/components/schemas/DocumentBlockHint"
18851
+ },
18852
+ {
18853
+ "$ref": "#/components/schemas/DocumentBlockQuote"
18854
+ },
18855
+ {
18856
+ "$ref": "#/components/schemas/DocumentBlockReusableContent"
18658
18857
  }
18659
18858
  ]
18660
18859
  },
@@ -19332,49 +19531,6 @@
19332
19531
  "isVoid"
19333
19532
  ]
19334
19533
  },
19335
- "DocumentBlockReusableContent": {
19336
- "type": "object",
19337
- "properties": {
19338
- "object": {
19339
- "type": "string",
19340
- "enum": [
19341
- "block"
19342
- ]
19343
- },
19344
- "type": {
19345
- "type": "string",
19346
- "enum": [
19347
- "reusable-content"
19348
- ]
19349
- },
19350
- "key": {
19351
- "type": "string"
19352
- },
19353
- "data": {
19354
- "type": "object",
19355
- "properties": {
19356
- "ref": {
19357
- "$ref": "#/components/schemas/ContentRefReusableContent"
19358
- }
19359
- },
19360
- "required": [
19361
- "ref"
19362
- ]
19363
- },
19364
- "isVoid": {
19365
- "type": "boolean",
19366
- "enum": [
19367
- true
19368
- ]
19369
- }
19370
- },
19371
- "required": [
19372
- "object",
19373
- "type",
19374
- "data",
19375
- "isVoid"
19376
- ]
19377
- },
19378
19534
  "DocumentBlockStepperStep": {
19379
19535
  "type": "object",
19380
19536
  "properties": {
@@ -19497,6 +19653,140 @@
19497
19653
  "nodes"
19498
19654
  ]
19499
19655
  },
19656
+ "DocumentBlock": {
19657
+ "oneOf": [
19658
+ {
19659
+ "$ref": "#/components/schemas/DocumentBlockParagraph"
19660
+ },
19661
+ {
19662
+ "$ref": "#/components/schemas/DocumentBlockHeading"
19663
+ },
19664
+ {
19665
+ "$ref": "#/components/schemas/DocumentBlockListOrdered"
19666
+ },
19667
+ {
19668
+ "$ref": "#/components/schemas/DocumentBlockListUnordered"
19669
+ },
19670
+ {
19671
+ "$ref": "#/components/schemas/DocumentBlockListTasks"
19672
+ },
19673
+ {
19674
+ "$ref": "#/components/schemas/DocumentBlockListItem"
19675
+ },
19676
+ {
19677
+ "$ref": "#/components/schemas/DocumentBlockDivider"
19678
+ },
19679
+ {
19680
+ "$ref": "#/components/schemas/DocumentBlockQuote"
19681
+ },
19682
+ {
19683
+ "$ref": "#/components/schemas/DocumentBlockHint"
19684
+ },
19685
+ {
19686
+ "$ref": "#/components/schemas/DocumentBlockImages"
19687
+ },
19688
+ {
19689
+ "$ref": "#/components/schemas/DocumentBlockImage"
19690
+ },
19691
+ {
19692
+ "$ref": "#/components/schemas/DocumentBlockFile"
19693
+ },
19694
+ {
19695
+ "$ref": "#/components/schemas/DocumentBlockDrawing"
19696
+ },
19697
+ {
19698
+ "$ref": "#/components/schemas/DocumentBlockEmbed"
19699
+ },
19700
+ {
19701
+ "$ref": "#/components/schemas/DocumentBlockCode"
19702
+ },
19703
+ {
19704
+ "$ref": "#/components/schemas/DocumentBlockCodeLine"
19705
+ },
19706
+ {
19707
+ "$ref": "#/components/schemas/DocumentBlockMath"
19708
+ },
19709
+ {
19710
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
19711
+ },
19712
+ {
19713
+ "$ref": "#/components/schemas/DocumentBlockTabs"
19714
+ },
19715
+ {
19716
+ "$ref": "#/components/schemas/DocumentBlockTabsItem"
19717
+ },
19718
+ {
19719
+ "$ref": "#/components/schemas/DocumentBlockTable"
19720
+ },
19721
+ {
19722
+ "$ref": "#/components/schemas/DocumentBlockOpenAPI"
19723
+ },
19724
+ {
19725
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
19726
+ },
19727
+ {
19728
+ "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
19729
+ },
19730
+ {
19731
+ "$ref": "#/components/schemas/DocumentBlockContentRef"
19732
+ },
19733
+ {
19734
+ "$ref": "#/components/schemas/DocumentBlockIntegration"
19735
+ },
19736
+ {
19737
+ "$ref": "#/components/schemas/DocumentBlockReusableContent"
19738
+ },
19739
+ {
19740
+ "$ref": "#/components/schemas/DocumentBlockStepper"
19741
+ },
19742
+ {
19743
+ "$ref": "#/components/schemas/DocumentBlockStepperStep"
19744
+ }
19745
+ ]
19746
+ },
19747
+ "DocumentInlineMention": {
19748
+ "type": "object",
19749
+ "properties": {
19750
+ "object": {
19751
+ "type": "string",
19752
+ "enum": [
19753
+ "inline"
19754
+ ]
19755
+ },
19756
+ "type": {
19757
+ "type": "string",
19758
+ "enum": [
19759
+ "mention"
19760
+ ]
19761
+ },
19762
+ "key": {
19763
+ "type": "string"
19764
+ },
19765
+ "data": {
19766
+ "type": "object",
19767
+ "properties": {
19768
+ "ref": {
19769
+ "$ref": "#/components/schemas/ContentRef"
19770
+ }
19771
+ },
19772
+ "required": [
19773
+ "ref"
19774
+ ]
19775
+ },
19776
+ "isVoid": {
19777
+ "type": "boolean",
19778
+ "enum": [
19779
+ true
19780
+ ]
19781
+ }
19782
+ },
19783
+ "required": [
19784
+ "object",
19785
+ "type",
19786
+ "data",
19787
+ "isVoid"
19788
+ ]
19789
+ },
19500
19790
  "DocumentBlocksTopLevels": {
19501
19791
  "oneOf": [
19502
19792
  {
@@ -19705,10 +19995,6 @@
19705
19995
  "type": "boolean",
19706
19996
  "description": "If true, the page is not indexable by search engine robots.",
19707
19997
  "default": false
19708
- },
19709
- "computed": {
19710
- "description": "Defined when the page was generated by a computed content.",
19711
- "$ref": "#/components/schemas/ComputedContentSource"
19712
19998
  }
19713
19999
  },
19714
20000
  "required": [
@@ -19720,6 +20006,36 @@
19720
20006
  "pages",
19721
20007
  "layout"
19722
20008
  ]
20009
+ },
20010
+ {
20011
+ "oneOf": [
20012
+ {
20013
+ "type": "object",
20014
+ "description": "Defined when the page was generated by a computed content.",
20015
+ "properties": {
20016
+ "computed": {
20017
+ "$ref": "#/components/schemas/ComputedContentSource"
20018
+ },
20019
+ "computedSeed": {
20020
+ "type": "string",
20021
+ "description": "Seed to use for the generation of IDs."
20022
+ }
20023
+ },
20024
+ "required": [
20025
+ "computed",
20026
+ "computedSeed"
20027
+ ]
20028
+ },
20029
+ {
20030
+ "type": "object",
20031
+ "properties": {
20032
+ "documentId": {
20033
+ "type": "string",
20034
+ "description": "ID of the document with the page body. If undefined, the page is empty."
20035
+ }
20036
+ }
20037
+ }
20038
+ ]
19723
20039
  }
19724
20040
  ]
19725
20041
  },
@@ -28454,6 +28770,210 @@
28454
28770
  "answer"
28455
28771
  ]
28456
28772
  },
28773
+ "OpenAPISpecVersion": {
28774
+ "type": "object",
28775
+ "properties": {
28776
+ "object": {
28777
+ "description": "The object type, which is always \"openapi-spec-version\"",
28778
+ "type": "string",
28779
+ "enum": [
28780
+ "openapi-spec-version"
28781
+ ]
28782
+ },
28783
+ "id": {
28784
+ "description": "Unique identifier",
28785
+ "type": "string"
28786
+ },
28787
+ "createdAt": {
28788
+ "description": "Date of creation",
28789
+ "$ref": "#/components/schemas/Timestamp"
28790
+ },
28791
+ "url": {
28792
+ "description": "URL where the specification is accessible.",
28793
+ "$ref": "#/components/schemas/URL"
28794
+ },
28795
+ "urls": {
28796
+ "type": "object",
28797
+ "description": "URLs associated with the object",
28798
+ "properties": {
28799
+ "location": {
28800
+ "description": "URL of the OpenAPI specification version in the API",
28801
+ "$ref": "#/components/schemas/URL"
28802
+ },
28803
+ "app": {
28804
+ "description": "URL of the OpenAPI specification version in the application",
28805
+ "$ref": "#/components/schemas/URL"
28806
+ }
28807
+ },
28808
+ "required": [
28809
+ "app",
28810
+ "location"
28811
+ ]
28812
+ }
28813
+ },
28814
+ "required": [
28815
+ "object",
28816
+ "id",
28817
+ "url",
28818
+ "urls"
28819
+ ]
28820
+ },
28821
+ "OpenAPISpecContent": {
28822
+ "description": "Content of the specification available through filesystem or public URL.",
28823
+ "type": "object",
28824
+ "properties": {
28825
+ "filesystem": {
28826
+ "description": "Filesystem containing all specifications.",
28827
+ "type": "object"
28828
+ },
28829
+ "url": {
28830
+ "$ref": "#/components/schemas/URL"
28831
+ }
28832
+ },
28833
+ "required": [
28834
+ "filesystem",
28835
+ "url"
28836
+ ]
28837
+ },
28838
+ "StorageFileMetadata": {
28839
+ "type": "object",
28840
+ "properties": {
28841
+ "name": {
28842
+ "type": "string",
28843
+ "description": "Original filename"
28844
+ },
28845
+ "type": {
28846
+ "type": "string",
28847
+ "description": "MIME type of the file"
28848
+ },
28849
+ "size": {
28850
+ "type": "number",
28851
+ "description": "Size of the file in bytes"
28852
+ }
28853
+ },
28854
+ "required": [
28855
+ "name",
28856
+ "type",
28857
+ "size"
28858
+ ]
28859
+ },
28860
+ "StorageUploadKind": {
28861
+ "type": "string",
28862
+ "enum": [
28863
+ "customization_font"
28864
+ ]
28865
+ },
28866
+ "StorageUploadURL": {
28867
+ "type": "object",
28868
+ "properties": {
28869
+ "object": {
28870
+ "type": "string",
28871
+ "description": "The kind of file to upload",
28872
+ "enum": [
28873
+ "storage-signed-url"
28874
+ ]
28875
+ },
28876
+ "url": {
28877
+ "$ref": "#/components/schemas/URL",
28878
+ "description": "Presigned URL for uploading the file"
28879
+ },
28880
+ "key": {
28881
+ "type": "string",
28882
+ "description": "The bucket object key for the file"
28883
+ }
28884
+ },
28885
+ "required": [
28886
+ "object",
28887
+ "url",
28888
+ "key"
28889
+ ]
28890
+ },
28891
+ "FontFamily": {
28892
+ "type": "string",
28893
+ "description": "The human-readable font-family name used in CSS (e.g., \"Open Sans\", \"Playfair Display\").",
28894
+ "minLength": 1,
28895
+ "maxLength": 50
28896
+ },
28897
+ "FontWeight": {
28898
+ "type": "integer",
28899
+ "description": "Numeric representation of the font weight (400=regular, 500=medium, 700=bold, 900=black).",
28900
+ "minimum": 1,
28901
+ "maximum": 1000
28902
+ },
28903
+ "FontSource": {
28904
+ "type": "object",
28905
+ "description": "A font file referenced within a font-face declaration, specifying the file's location and format.",
28906
+ "properties": {
28907
+ "url": {
28908
+ "description": "The absolute or relative URL pointing to the font file.",
28909
+ "$ref": "#/components/schemas/URL"
28910
+ },
28911
+ "format": {
28912
+ "type": "string",
28913
+ "description": "The format of the font file. Prefer 'woff2' for modern browsers.",
28914
+ "enum": [
28915
+ "woff2",
28916
+ "woff"
28917
+ ]
28918
+ }
28919
+ },
28920
+ "required": [
28921
+ "url"
28922
+ ]
28923
+ },
28924
+ "FontFace": {
28925
+ "type": "object",
28926
+ "description": "A single font-face declaration specifying the weight and source files for a particular variation of the font.",
28927
+ "properties": {
28928
+ "weight": {
28929
+ "$ref": "#/components/schemas/FontWeight"
28930
+ },
28931
+ "sources": {
28932
+ "type": "array",
28933
+ "description": "Font source files provided in supported formats (e.g., woff2, woff).",
28934
+ "items": {
28935
+ "$ref": "#/components/schemas/FontSource"
28936
+ },
28937
+ "minItems": 1
28938
+ }
28939
+ },
28940
+ "required": [
28941
+ "weight",
28942
+ "sources"
28943
+ ]
28944
+ },
28945
+ "CustomizationFontDefinition": {
28946
+ "type": "object",
28947
+ "description": "Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.",
28948
+ "properties": {
28949
+ "id": {
28950
+ "type": "string",
28951
+ "description": "A globally unique identifier for the font definition."
28952
+ },
28953
+ "fontFamily": {
28954
+ "$ref": "#/components/schemas/FontFamily"
28955
+ },
28956
+ "fontFaces": {
28957
+ "type": "array",
28958
+ "description": "A list of font-face definitions, specifying variations such as weight and style.",
28959
+ "items": {
28960
+ "$ref": "#/components/schemas/FontFace"
28961
+ },
28962
+ "minItems": 1
28963
+ }
28964
+ },
28965
+ "required": [
28966
+ "id",
28967
+ "fontFamily",
28968
+ "fontFaces"
28969
+ ]
28970
+ },
28971
+ "StorageFileKey": {
28972
+ "type": "string",
28973
+ "description": "The path of the file in the storage bucket",
28974
+ "minLength": 1,
28975
+ "maxLength": 512
28976
+ },
28457
28977
  "BillingOperationPreviewResponse": {
28458
28978
  "description": "A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.\n",
28459
28979
  "oneOf": [
@@ -28620,86 +29140,6 @@
28620
29140
  "FiraSans"
28621
29141
  ]
28622
29142
  },
28623
- "FontFamily": {
28624
- "type": "string",
28625
- "description": "The human-readable font-family name used in CSS (e.g., \"Open Sans\", \"Playfair Display\").",
28626
- "minLength": 1,
28627
- "maxLength": 50
28628
- },
28629
- "FontWeight": {
28630
- "type": "integer",
28631
- "description": "Numeric representation of the font weight (400=regular, 500=medium, 700=bold, 900=black).",
28632
- "minimum": 1,
28633
- "maximum": 1000
28634
- },
28635
- "FontSource": {
28636
- "type": "object",
28637
- "description": "A font file referenced within a font-face declaration, specifying the file's location and format.",
28638
- "properties": {
28639
- "url": {
28640
- "description": "The absolute or relative URL pointing to the font file.",
28641
- "$ref": "#/components/schemas/URL"
28642
- },
28643
- "format": {
28644
- "type": "string",
28645
- "description": "The format of the font file. Prefer 'woff2' for modern browsers.",
28646
- "enum": [
28647
- "woff2",
28648
- "woff"
28649
- ]
28650
- }
28651
- },
28652
- "required": [
28653
- "url"
28654
- ]
28655
- },
28656
- "FontFace": {
28657
- "type": "object",
28658
- "description": "A single font-face declaration specifying the weight and source files for a particular variation of the font.",
28659
- "properties": {
28660
- "weight": {
28661
- "$ref": "#/components/schemas/FontWeight"
28662
- },
28663
- "sources": {
28664
- "type": "array",
28665
- "description": "Font source files provided in supported formats (e.g., woff2, woff).",
28666
- "items": {
28667
- "$ref": "#/components/schemas/FontSource"
28668
- },
28669
- "minItems": 1
28670
- }
28671
- },
28672
- "required": [
28673
- "weight",
28674
- "sources"
28675
- ]
28676
- },
28677
- "CustomizationFontDefinition": {
28678
- "type": "object",
28679
- "description": "Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.",
28680
- "properties": {
28681
- "id": {
28682
- "type": "string",
28683
- "description": "A globally unique identifier for the font definition."
28684
- },
28685
- "fontFamily": {
28686
- "$ref": "#/components/schemas/FontFamily"
28687
- },
28688
- "fontFaces": {
28689
- "type": "array",
28690
- "description": "A list of font-face definitions, specifying variations such as weight and style.",
28691
- "items": {
28692
- "$ref": "#/components/schemas/FontFace"
28693
- },
28694
- "minItems": 1
28695
- }
28696
- },
28697
- "required": [
28698
- "id",
28699
- "fontFamily",
28700
- "fontFaces"
28701
- ]
28702
- },
28703
29143
  "CustomizationFont": {
28704
29144
  "oneOf": [
28705
29145
  {
@@ -28870,6 +29310,40 @@
28870
29310
  "links"
28871
29311
  ]
28872
29312
  },
29313
+ "CustomizationAnnouncement": {
29314
+ "type": "object",
29315
+ "properties": {
29316
+ "enabled": {
29317
+ "description": "Whether to show the site's announcement.",
29318
+ "type": "boolean"
29319
+ },
29320
+ "message": {
29321
+ "description": "The text content of the announcement.",
29322
+ "type": "string",
29323
+ "minLength": 2,
29324
+ "maxLength": 128
29325
+ },
29326
+ "link": {
29327
+ "description": "The content or URL the announcement links to when clicked.",
29328
+ "$ref": "#/components/schemas/CustomizationContentLink"
29329
+ },
29330
+ "style": {
29331
+ "description": "The style of the announcement. Used to style the banner with the right semantic color and enable/disable features like hiding the banner.",
29332
+ "type": "string",
29333
+ "enum": [
29334
+ "info",
29335
+ "warning",
29336
+ "danger",
29337
+ "success"
29338
+ ]
29339
+ }
29340
+ },
29341
+ "required": [
29342
+ "enabled",
29343
+ "message",
29344
+ "style"
29345
+ ]
29346
+ },
28873
29347
  "CustomizationThemeMode": {
28874
29348
  "type": "string",
28875
29349
  "enum": [
@@ -29053,6 +29527,9 @@
29053
29527
  "groups"
29054
29528
  ]
29055
29529
  },
29530
+ "announcement": {
29531
+ "$ref": "#/components/schemas/CustomizationAnnouncement"
29532
+ },
29056
29533
  "themes": {
29057
29534
  "description": "Customization options for the dark/light theme modes.\n",
29058
29535
  "type": "object",
@@ -29647,7 +30124,12 @@
29647
30124
  "visitorAuthToken": {
29648
30125
  "type": "string",
29649
30126
  "nullable": true,
29650
- "description": "Authentication token of the visitor.\nThis is used to identify the visitor with adaptive content.\n"
30127
+ "deprecated": true,
30128
+ "description": "Deprecated, use visitorAuthClaims instead."
30129
+ },
30130
+ "visitorAuthClaims": {
30131
+ "description": "Claims of the visitor.\nThis is used to identify the visitor with adaptive content.\n",
30132
+ "$ref": "#/components/schemas/PlainObject"
29651
30133
  }
29652
30134
  },
29653
30135
  "required": [
@@ -31993,59 +32475,6 @@
31993
32475
  "destination"
31994
32476
  ]
31995
32477
  },
31996
- "StorageFileMetadata": {
31997
- "type": "object",
31998
- "properties": {
31999
- "name": {
32000
- "type": "string",
32001
- "description": "Original filename"
32002
- },
32003
- "type": {
32004
- "type": "string",
32005
- "description": "MIME type of the file"
32006
- },
32007
- "size": {
32008
- "type": "number",
32009
- "description": "Size of the file in bytes"
32010
- }
32011
- },
32012
- "required": [
32013
- "name",
32014
- "type",
32015
- "size"
32016
- ]
32017
- },
32018
- "StorageUploadKind": {
32019
- "type": "string",
32020
- "enum": [
32021
- "customization_font"
32022
- ]
32023
- },
32024
- "StorageUploadURL": {
32025
- "type": "object",
32026
- "properties": {
32027
- "object": {
32028
- "type": "string",
32029
- "description": "The kind of file to upload",
32030
- "enum": [
32031
- "storage-signed-url"
32032
- ]
32033
- },
32034
- "url": {
32035
- "$ref": "#/components/schemas/URL",
32036
- "description": "Presigned URL for uploading the file"
32037
- },
32038
- "key": {
32039
- "type": "string",
32040
- "description": "The bucket object key for the file"
32041
- }
32042
- },
32043
- "required": [
32044
- "object",
32045
- "url",
32046
- "key"
32047
- ]
32048
- },
32049
32478
  "CustomHostnameDnsStatus": {
32050
32479
  "type": "string",
32051
32480
  "enum": [
@@ -32641,6 +33070,10 @@
32641
33070
  "type": "string",
32642
33071
  "description": "Prefix of the path in the URL dedicated to the space"
32643
33072
  },
33073
+ "siteBasePath": {
33074
+ "type": "string",
33075
+ "description": "Prefix of the path in the URL dedicated to the site"
33076
+ },
32644
33077
  "apiToken": {
32645
33078
  "type": "string",
32646
33079
  "description": "Short-lived API token to fetch content related to the space in the context of the URL."
@@ -32668,6 +33101,7 @@
32668
33101
  "space",
32669
33102
  "pathname",
32670
33103
  "basePath",
33104
+ "siteBasePath",
32671
33105
  "apiToken",
32672
33106
  "organization",
32673
33107
  "complete"
@@ -32702,71 +33136,6 @@
32702
33136
  }
32703
33137
  ]
32704
33138
  },
32705
- "OpenAPISpecVersion": {
32706
- "type": "object",
32707
- "properties": {
32708
- "object": {
32709
- "description": "The object type, which is always \"openapi-spec-version\"",
32710
- "type": "string",
32711
- "enum": [
32712
- "openapi-spec-version"
32713
- ]
32714
- },
32715
- "id": {
32716
- "description": "Unique identifier",
32717
- "type": "string"
32718
- },
32719
- "createdAt": {
32720
- "description": "Date of creation",
32721
- "$ref": "#/components/schemas/Timestamp"
32722
- },
32723
- "url": {
32724
- "description": "URL where the specification is accessible.",
32725
- "$ref": "#/components/schemas/URL"
32726
- },
32727
- "urls": {
32728
- "type": "object",
32729
- "description": "URLs associated with the object",
32730
- "properties": {
32731
- "location": {
32732
- "description": "URL of the OpenAPI specification version in the API",
32733
- "$ref": "#/components/schemas/URL"
32734
- },
32735
- "app": {
32736
- "description": "URL of the OpenAPI specification version in the application",
32737
- "$ref": "#/components/schemas/URL"
32738
- }
32739
- },
32740
- "required": [
32741
- "app",
32742
- "location"
32743
- ]
32744
- }
32745
- },
32746
- "required": [
32747
- "object",
32748
- "id",
32749
- "url",
32750
- "urls"
32751
- ]
32752
- },
32753
- "OpenAPISpecContent": {
32754
- "description": "Content of the specification available through filesystem or public URL.",
32755
- "type": "object",
32756
- "properties": {
32757
- "filesystem": {
32758
- "description": "Filesystem containing all specifications.",
32759
- "type": "object"
32760
- },
32761
- "url": {
32762
- "$ref": "#/components/schemas/URL"
32763
- }
32764
- },
32765
- "required": [
32766
- "filesystem",
32767
- "url"
32768
- ]
32769
- },
32770
33139
  "SHA256": {
32771
33140
  "type": "string",
32772
33141
  "minLength": 64,
@@ -32974,97 +33343,6 @@
32974
33343
  "privateKey"
32975
33344
  ]
32976
33345
  },
32977
- "DocumentBlock": {
32978
- "oneOf": [
32979
- {
32980
- "$ref": "#/components/schemas/DocumentBlockParagraph"
32981
- },
32982
- {
32983
- "$ref": "#/components/schemas/DocumentBlockHeading"
32984
- },
32985
- {
32986
- "$ref": "#/components/schemas/DocumentBlockListOrdered"
32987
- },
32988
- {
32989
- "$ref": "#/components/schemas/DocumentBlockListUnordered"
32990
- },
32991
- {
32992
- "$ref": "#/components/schemas/DocumentBlockListTasks"
32993
- },
32994
- {
32995
- "$ref": "#/components/schemas/DocumentBlockListItem"
32996
- },
32997
- {
32998
- "$ref": "#/components/schemas/DocumentBlockDivider"
32999
- },
33000
- {
33001
- "$ref": "#/components/schemas/DocumentBlockQuote"
33002
- },
33003
- {
33004
- "$ref": "#/components/schemas/DocumentBlockHint"
33005
- },
33006
- {
33007
- "$ref": "#/components/schemas/DocumentBlockImages"
33008
- },
33009
- {
33010
- "$ref": "#/components/schemas/DocumentBlockImage"
33011
- },
33012
- {
33013
- "$ref": "#/components/schemas/DocumentBlockFile"
33014
- },
33015
- {
33016
- "$ref": "#/components/schemas/DocumentBlockDrawing"
33017
- },
33018
- {
33019
- "$ref": "#/components/schemas/DocumentBlockEmbed"
33020
- },
33021
- {
33022
- "$ref": "#/components/schemas/DocumentBlockCode"
33023
- },
33024
- {
33025
- "$ref": "#/components/schemas/DocumentBlockCodeLine"
33026
- },
33027
- {
33028
- "$ref": "#/components/schemas/DocumentBlockMath"
33029
- },
33030
- {
33031
- "$ref": "#/components/schemas/DocumentBlockExpandable"
33032
- },
33033
- {
33034
- "$ref": "#/components/schemas/DocumentBlockTabs"
33035
- },
33036
- {
33037
- "$ref": "#/components/schemas/DocumentBlockTabsItem"
33038
- },
33039
- {
33040
- "$ref": "#/components/schemas/DocumentBlockTable"
33041
- },
33042
- {
33043
- "$ref": "#/components/schemas/DocumentBlockOpenAPI"
33044
- },
33045
- {
33046
- "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
33047
- },
33048
- {
33049
- "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
33050
- },
33051
- {
33052
- "$ref": "#/components/schemas/DocumentBlockContentRef"
33053
- },
33054
- {
33055
- "$ref": "#/components/schemas/DocumentBlockIntegration"
33056
- },
33057
- {
33058
- "$ref": "#/components/schemas/DocumentBlockReusableContent"
33059
- },
33060
- {
33061
- "$ref": "#/components/schemas/DocumentBlockStepper"
33062
- },
33063
- {
33064
- "$ref": "#/components/schemas/DocumentBlockStepperStep"
33065
- }
33066
- ]
33067
- },
33068
33346
  "ComputedContentDependency": {
33069
33347
  "type": "object",
33070
33348
  "description": "Dependency for a computation, before its resolution.",
@@ -34378,6 +34656,25 @@
34378
34656
  "organization"
34379
34657
  ]
34380
34658
  },
34659
+ "OrganizationCustomFontsChannel": {
34660
+ "type": "object",
34661
+ "description": "Subscription channel for changes in custom fonts in an organization.",
34662
+ "properties": {
34663
+ "channel": {
34664
+ "type": "string",
34665
+ "enum": [
34666
+ "organization-fonts"
34667
+ ]
34668
+ },
34669
+ "organization": {
34670
+ "type": "string"
34671
+ }
34672
+ },
34673
+ "required": [
34674
+ "channel",
34675
+ "organization"
34676
+ ]
34677
+ },
34381
34678
  "SpaceCommentsChannel": {
34382
34679
  "type": "object",
34383
34680
  "properties": {
@@ -35036,6 +35333,9 @@
35036
35333
  {
35037
35334
  "$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
35038
35335
  },
35336
+ {
35337
+ "$ref": "#/components/schemas/OrganizationCustomFontsChannel"
35338
+ },
35039
35339
  {
35040
35340
  "$ref": "#/components/schemas/SpaceCommentsChannel"
35041
35341
  },
@@ -35544,12 +35844,6 @@
35544
35844
  "disabled"
35545
35845
  ]
35546
35846
  },
35547
- "StorageFileKey": {
35548
- "type": "string",
35549
- "description": "The path of the file in the storage bucket",
35550
- "minLength": 1,
35551
- "maxLength": 512
35552
- },
35553
35847
  "Seat": {
35554
35848
  "type": "object",
35555
35849
  "properties": {