@gitbook/api 0.12.0 → 0.13.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
@@ -337,6 +337,10 @@
337
337
  "type": "string",
338
338
  "format": "uri"
339
339
  },
340
+ "Color": {
341
+ "type": "string",
342
+ "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$"
343
+ },
340
344
  "Date": {
341
345
  "type": "string",
342
346
  "format": "date"
@@ -4530,13 +4534,17 @@
4530
4534
  "link"
4531
4535
  ]
4532
4536
  },
4537
+ "target": {
4538
+ "$ref": "#/components/schemas/ContentRef"
4539
+ },
4533
4540
  "href": {
4534
4541
  "type": "string"
4535
4542
  }
4536
4543
  },
4537
4544
  "required": [
4538
4545
  "kind",
4539
- "type"
4546
+ "type",
4547
+ "target"
4540
4548
  ]
4541
4549
  }
4542
4550
  ]
@@ -6254,7 +6262,7 @@
6254
6262
  "type": "string",
6255
6263
  "description": "Title of the collection",
6256
6264
  "minLength": 0,
6257
- "maxLength": 100
6265
+ "maxLength": 50
6258
6266
  },
6259
6267
  "path": {
6260
6268
  "type": "string",
@@ -6269,20 +6277,47 @@
6269
6277
  "variants"
6270
6278
  ]
6271
6279
  },
6272
- "primarySpace": {
6280
+ "organization": {
6281
+ "type": "string",
6282
+ "description": "ID of the organization owning this collection"
6283
+ },
6284
+ "parent": {
6273
6285
  "type": "string",
6274
- "description": "ID of the primary space for this collection"
6286
+ "description": "ID of the parent collection, if any"
6275
6287
  },
6276
6288
  "collection": {
6277
6289
  "type": "string",
6290
+ "deprecated": true,
6278
6291
  "description": "ID of the parent collection, if any"
6292
+ },
6293
+ "urls": {
6294
+ "type": "object",
6295
+ "description": "URLs associated with the object",
6296
+ "properties": {
6297
+ "location": {
6298
+ "type": "string",
6299
+ "description": "URL of the collection in the API",
6300
+ "format": "uri"
6301
+ },
6302
+ "app": {
6303
+ "type": "string",
6304
+ "description": "URL of the collection in the application",
6305
+ "format": "uri"
6306
+ }
6307
+ },
6308
+ "required": [
6309
+ "app",
6310
+ "location"
6311
+ ]
6279
6312
  }
6280
6313
  },
6281
6314
  "required": [
6282
6315
  "object",
6283
6316
  "id",
6284
6317
  "title",
6285
- "visibility"
6318
+ "organization",
6319
+ "visibility",
6320
+ "urls"
6286
6321
  ]
6287
6322
  },
6288
6323
  "Integration": {
@@ -8534,6 +8569,106 @@
8534
8569
  "impersonatorId"
8535
8570
  ]
8536
8571
  },
8572
+ "UserPermissions": {
8573
+ "type": "object",
8574
+ "description": "All the permissions of a user",
8575
+ "properties": {
8576
+ "updatedAt": {
8577
+ "$ref": "#/components/schemas/Date"
8578
+ },
8579
+ "searchKey": {
8580
+ "type": "string"
8581
+ },
8582
+ "organizations": {
8583
+ "type": "object",
8584
+ "additionalProperties": {
8585
+ "type": "object",
8586
+ "description": "The organizations permissions of a user",
8587
+ "properties": {
8588
+ "role": {
8589
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
8590
+ },
8591
+ "teams": {
8592
+ "type": "object",
8593
+ "additionalProperties": {
8594
+ "type": "object",
8595
+ "description": "The teams permissions of a user",
8596
+ "properties": {
8597
+ "role": {
8598
+ "$ref": "#/components/schemas/TeamMemberRole"
8599
+ }
8600
+ },
8601
+ "required": [
8602
+ "role"
8603
+ ]
8604
+ },
8605
+ "required": [
8606
+ "role"
8607
+ ]
8608
+ },
8609
+ "disabled": {
8610
+ "type": "boolean"
8611
+ }
8612
+ },
8613
+ "required": [
8614
+ "role",
8615
+ "teams"
8616
+ ]
8617
+ }
8618
+ },
8619
+ "collections": {
8620
+ "type": "object",
8621
+ "additionalProperties": {
8622
+ "type": "object",
8623
+ "description": "The collections permissions of a user",
8624
+ "properties": {
8625
+ "organization": {
8626
+ "type": "string"
8627
+ },
8628
+ "level": {
8629
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
8630
+ },
8631
+ "collection": {
8632
+ "type": "string"
8633
+ }
8634
+ },
8635
+ "required": [
8636
+ "organization",
8637
+ "level"
8638
+ ]
8639
+ }
8640
+ },
8641
+ "spaces": {
8642
+ "type": "object",
8643
+ "additionalProperties": {
8644
+ "type": "object",
8645
+ "description": "The spaces permissions of a user",
8646
+ "properties": {
8647
+ "organization": {
8648
+ "type": "string"
8649
+ },
8650
+ "level": {
8651
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
8652
+ },
8653
+ "collection": {
8654
+ "type": "string"
8655
+ }
8656
+ },
8657
+ "required": [
8658
+ "organization",
8659
+ "level"
8660
+ ]
8661
+ }
8662
+ }
8663
+ },
8664
+ "required": [
8665
+ "updatedAt",
8666
+ "searchKey",
8667
+ "organizations",
8668
+ "collections",
8669
+ "spaces"
8670
+ ]
8671
+ },
8537
8672
  "UserRiskEvaluation": {
8538
8673
  "type": "object",
8539
8674
  "description": "The GitBook User risk evaluation.",
@@ -10049,6 +10184,9 @@
10049
10184
  {
10050
10185
  "$ref": "#/components/schemas/SpacePublishingAuthChannel"
10051
10186
  },
10187
+ {
10188
+ "$ref": "#/components/schemas/SpacePublishingCustomizationChannel"
10189
+ },
10052
10190
  {
10053
10191
  "$ref": "#/components/schemas/SpaceEntitiesChannel"
10054
10192
  },
@@ -10073,6 +10211,9 @@
10073
10211
  {
10074
10212
  "$ref": "#/components/schemas/ChangeRequestReviewsChannel"
10075
10213
  },
10214
+ {
10215
+ "$ref": "#/components/schemas/CollectionPublishingCustomizationChannel"
10216
+ },
10076
10217
  {
10077
10218
  "$ref": "#/components/schemas/OrganizationMembersChannel"
10078
10219
  },
@@ -10094,6 +10235,9 @@
10094
10235
  {
10095
10236
  "$ref": "#/components/schemas/OrganizationSpacesChannel"
10096
10237
  },
10238
+ {
10239
+ "$ref": "#/components/schemas/OrganizationCollectionsChannel"
10240
+ },
10097
10241
  {
10098
10242
  "$ref": "#/components/schemas/OrganizationEntitiesChannel"
10099
10243
  },
@@ -10280,6 +10424,24 @@
10280
10424
  "space"
10281
10425
  ]
10282
10426
  },
10427
+ "SpacePublishingCustomizationChannel": {
10428
+ "type": "object",
10429
+ "properties": {
10430
+ "channel": {
10431
+ "type": "string",
10432
+ "enum": [
10433
+ "space-publishing-customization"
10434
+ ]
10435
+ },
10436
+ "space": {
10437
+ "type": "string"
10438
+ }
10439
+ },
10440
+ "required": [
10441
+ "channel",
10442
+ "space"
10443
+ ]
10444
+ },
10283
10445
  "SpaceEntitiesChannel": {
10284
10446
  "type": "object",
10285
10447
  "properties": {
@@ -10388,6 +10550,24 @@
10388
10550
  "user"
10389
10551
  ]
10390
10552
  },
10553
+ "CollectionPublishingCustomizationChannel": {
10554
+ "type": "object",
10555
+ "properties": {
10556
+ "channel": {
10557
+ "type": "string",
10558
+ "enum": [
10559
+ "collection-publishing-customization"
10560
+ ]
10561
+ },
10562
+ "collection": {
10563
+ "type": "string"
10564
+ }
10565
+ },
10566
+ "required": [
10567
+ "channel",
10568
+ "collection"
10569
+ ]
10570
+ },
10391
10571
  "ChangeRequestReviewsChannel": {
10392
10572
  "type": "object",
10393
10573
  "properties": {
@@ -10574,6 +10754,25 @@
10574
10754
  "organization"
10575
10755
  ]
10576
10756
  },
10757
+ "OrganizationCollectionsChannel": {
10758
+ "type": "object",
10759
+ "description": "Subscription channel for changes in collections in an organization.",
10760
+ "properties": {
10761
+ "channel": {
10762
+ "type": "string",
10763
+ "enum": [
10764
+ "organization-collections"
10765
+ ]
10766
+ },
10767
+ "organization": {
10768
+ "type": "string"
10769
+ }
10770
+ },
10771
+ "required": [
10772
+ "channel",
10773
+ "organization"
10774
+ ]
10775
+ },
10577
10776
  "OrganizationEntitiesChannel": {
10578
10777
  "type": "object",
10579
10778
  "description": "Subscription channel for entities in an organization.",
@@ -10916,88 +11115,495 @@
10916
11115
  "CustomFieldPlaceholder": {
10917
11116
  "type": "string",
10918
11117
  "maxLength": 100
10919
- }
10920
- },
10921
- "responses": {
10922
- "UnexpectedError": {
10923
- "description": "Unexpected Error",
10924
- "content": {
10925
- "application/json": {
10926
- "schema": {
10927
- "$ref": "#/components/schemas/Error"
10928
- }
10929
- }
10930
- }
10931
11118
  },
10932
- "BadRequestError": {
10933
- "description": "Bad Request",
10934
- "content": {
10935
- "application/json": {
10936
- "schema": {
10937
- "type": "object",
10938
- "required": [
10939
- "error"
10940
- ],
10941
- "properties": {
10942
- "error": {
10943
- "type": "object",
10944
- "properties": {
10945
- "code": {
10946
- "type": "integer",
10947
- "format": "int32",
10948
- "enum": [
10949
- 400
10950
- ]
10951
- },
10952
- "message": {
10953
- "type": "string"
10954
- }
10955
- },
10956
- "required": [
10957
- "code",
10958
- "message"
10959
- ]
10960
- }
11119
+ "CustomizationSettings": {
11120
+ "type": "object",
11121
+ "properties": {
11122
+ "inherit": {
11123
+ "type": "boolean",
11124
+ "description": "Inherit customization settings from the parent collection."
11125
+ },
11126
+ "title": {
11127
+ "type": "string",
11128
+ "description": "Title to use for the published content. If not defined, it'll fallback to the content title."
11129
+ },
11130
+ "styling": {
11131
+ "type": "object",
11132
+ "properties": {
11133
+ "primaryColor": {
11134
+ "$ref": "#/components/schemas/CustomizationThemedColor"
11135
+ },
11136
+ "corners": {
11137
+ "$ref": "#/components/schemas/CustomizationCorners"
11138
+ },
11139
+ "font": {
11140
+ "$ref": "#/components/schemas/CustomizationFont"
10961
11141
  }
10962
- }
10963
- }
10964
- }
10965
- },
10966
- "NotFoundError": {
10967
- "description": "Not Found",
10968
- "content": {
10969
- "application/json": {
10970
- "schema": {
10971
- "type": "object",
10972
- "required": [
10973
- "error"
10974
- ],
10975
- "properties": {
10976
- "error": {
10977
- "type": "object",
10978
- "properties": {
10979
- "code": {
10980
- "type": "integer",
10981
- "format": "int32",
10982
- "enum": [
10983
- 404
10984
- ]
10985
- },
10986
- "message": {
10987
- "type": "string"
10988
- }
10989
- },
10990
- "required": [
10991
- "code",
10992
- "message"
10993
- ]
10994
- }
11142
+ },
11143
+ "required": [
11144
+ "primaryColor",
11145
+ "corners",
11146
+ "font"
11147
+ ]
11148
+ },
11149
+ "internationalization": {
11150
+ "type": "object",
11151
+ "properties": {
11152
+ "locale": {
11153
+ "$ref": "#/components/schemas/CustomizationLocale"
11154
+ },
11155
+ "inherit": {
11156
+ "type": "boolean",
11157
+ "description": "Inherit locale from the parent collection."
10995
11158
  }
10996
- }
10997
- }
10998
- }
10999
- },
11000
- "ContentFilesResponse": {
11159
+ },
11160
+ "required": [
11161
+ "locale",
11162
+ "inherit"
11163
+ ]
11164
+ },
11165
+ "favicon": {
11166
+ "oneOf": [
11167
+ {
11168
+ "type": "object",
11169
+ "properties": {
11170
+ "icon": {
11171
+ "$ref": "#/components/schemas/CustomizationThemedURL"
11172
+ }
11173
+ },
11174
+ "required": [
11175
+ "icon"
11176
+ ]
11177
+ },
11178
+ {
11179
+ "type": "object",
11180
+ "properties": {
11181
+ "emoji": {
11182
+ "$ref": "#/components/schemas/Emoji"
11183
+ }
11184
+ },
11185
+ "required": [
11186
+ "emoji"
11187
+ ]
11188
+ },
11189
+ {
11190
+ "type": "object",
11191
+ "properties": {},
11192
+ "additionalProperties": false
11193
+ }
11194
+ ]
11195
+ },
11196
+ "header": {
11197
+ "type": "object",
11198
+ "properties": {
11199
+ "preset": {
11200
+ "$ref": "#/components/schemas/CustomizationHeaderPreset"
11201
+ },
11202
+ "logo": {
11203
+ "$ref": "#/components/schemas/CustomizationThemedURL"
11204
+ },
11205
+ "backgroundColor": {
11206
+ "$ref": "#/components/schemas/CustomizationThemedColor"
11207
+ },
11208
+ "linkColor": {
11209
+ "$ref": "#/components/schemas/CustomizationThemedColor"
11210
+ },
11211
+ "links": {
11212
+ "type": "array",
11213
+ "items": {
11214
+ "$ref": "#/components/schemas/CustomizationHeaderLink"
11215
+ }
11216
+ }
11217
+ },
11218
+ "required": [
11219
+ "preset",
11220
+ "links"
11221
+ ]
11222
+ },
11223
+ "footer": {
11224
+ "type": "object",
11225
+ "properties": {
11226
+ "logo": {
11227
+ "$ref": "#/components/schemas/CustomizationThemedURL"
11228
+ },
11229
+ "groups": {
11230
+ "type": "array",
11231
+ "items": {
11232
+ "$ref": "#/components/schemas/CustomizationFooterGroup"
11233
+ }
11234
+ },
11235
+ "copyright": {
11236
+ "type": "string",
11237
+ "maxLength": 300
11238
+ }
11239
+ },
11240
+ "required": [
11241
+ "groups"
11242
+ ]
11243
+ },
11244
+ "themes": {
11245
+ "type": "object",
11246
+ "properties": {
11247
+ "default": {
11248
+ "$ref": "#/components/schemas/CustomizationThemeMode"
11249
+ },
11250
+ "toggeable": {
11251
+ "description": "Should the reader be able to switch between dark and light mode",
11252
+ "type": "boolean"
11253
+ }
11254
+ },
11255
+ "required": [
11256
+ "default",
11257
+ "toggeable"
11258
+ ]
11259
+ },
11260
+ "pdf": {
11261
+ "type": "object",
11262
+ "properties": {
11263
+ "enabled": {
11264
+ "type": "boolean",
11265
+ "description": "If true, PDF export is enabled for the published content."
11266
+ }
11267
+ },
11268
+ "required": [
11269
+ "enabled"
11270
+ ]
11271
+ },
11272
+ "feedback": {
11273
+ "type": "object",
11274
+ "properties": {
11275
+ "enabled": {
11276
+ "type": "boolean",
11277
+ "description": "If true, feedback gathering is enabled"
11278
+ }
11279
+ },
11280
+ "required": [
11281
+ "enabled"
11282
+ ]
11283
+ },
11284
+ "aiSearch": {
11285
+ "type": "object",
11286
+ "properties": {
11287
+ "enabled": {
11288
+ "type": "boolean",
11289
+ "description": "If true, AI search is enabled"
11290
+ }
11291
+ },
11292
+ "required": [
11293
+ "enabled"
11294
+ ]
11295
+ },
11296
+ "git": {
11297
+ "type": "object",
11298
+ "properties": {
11299
+ "showEditLink": {
11300
+ "type": "boolean",
11301
+ "description": "Whether the public content should show a link to edit the content on the git provider set up in the GitSync"
11302
+ }
11303
+ },
11304
+ "required": [
11305
+ "showEditLink"
11306
+ ]
11307
+ },
11308
+ "pagination": {
11309
+ "type": "object",
11310
+ "properties": {
11311
+ "enabled": {
11312
+ "type": "boolean",
11313
+ "description": "Whether the pagination navigation should be displayed on pages."
11314
+ }
11315
+ },
11316
+ "required": [
11317
+ "enabled"
11318
+ ]
11319
+ },
11320
+ "trademark": {
11321
+ "type": "object",
11322
+ "properties": {
11323
+ "enabled": {
11324
+ "type": "boolean",
11325
+ "description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
11326
+ }
11327
+ },
11328
+ "required": [
11329
+ "enabled"
11330
+ ]
11331
+ },
11332
+ "privacyPolicy": {
11333
+ "type": "object",
11334
+ "properties": {
11335
+ "url": {
11336
+ "$ref": "#/components/schemas/URL"
11337
+ }
11338
+ }
11339
+ },
11340
+ "socialPreview": {
11341
+ "type": "object",
11342
+ "properties": {
11343
+ "url": {
11344
+ "$ref": "#/components/schemas/URL"
11345
+ }
11346
+ }
11347
+ }
11348
+ },
11349
+ "required": [
11350
+ "inherit",
11351
+ "styling",
11352
+ "internationalization",
11353
+ "favicon",
11354
+ "header",
11355
+ "footer",
11356
+ "themes",
11357
+ "pdf",
11358
+ "feedback",
11359
+ "aiSearch",
11360
+ "trademark",
11361
+ "pagination",
11362
+ "git",
11363
+ "privacyPolicy",
11364
+ "socialPreview"
11365
+ ]
11366
+ },
11367
+ "CustomizationCollectionSettings": {
11368
+ "allOf": [
11369
+ {
11370
+ "$ref": "#/components/schemas/CustomizationSettings"
11371
+ },
11372
+ {
11373
+ "type": "object",
11374
+ "properties": {
11375
+ "collection": {
11376
+ "type": "object",
11377
+ "properties": {
11378
+ "defaultSpace": {
11379
+ "type": "string",
11380
+ "description": "ID of the space used by default in the collection"
11381
+ }
11382
+ }
11383
+ }
11384
+ },
11385
+ "required": [
11386
+ "collection"
11387
+ ]
11388
+ }
11389
+ ]
11390
+ },
11391
+ "CustomizationLocale": {
11392
+ "type": "string",
11393
+ "description": "Language for the UI element",
11394
+ "enum": [
11395
+ "en",
11396
+ "fr",
11397
+ "es",
11398
+ "zh",
11399
+ "ja"
11400
+ ]
11401
+ },
11402
+ "CustomizationFont": {
11403
+ "type": "string",
11404
+ "enum": [
11405
+ "Inter",
11406
+ "Roboto",
11407
+ "RobotoSlab",
11408
+ "OpenSans",
11409
+ "SourceSansPro",
11410
+ "Lato",
11411
+ "Ubuntu",
11412
+ "Raleway",
11413
+ "Merriweather",
11414
+ "Overpass",
11415
+ "NotoSans",
11416
+ "IBMPlexSerif",
11417
+ "Poppins",
11418
+ "FiraSans"
11419
+ ]
11420
+ },
11421
+ "CustomizationHeaderPreset": {
11422
+ "type": "string",
11423
+ "enum": [
11424
+ "default",
11425
+ "bold",
11426
+ "contrast",
11427
+ "custom",
11428
+ "none"
11429
+ ]
11430
+ },
11431
+ "CustomizationThemeMode": {
11432
+ "type": "string",
11433
+ "enum": [
11434
+ "light",
11435
+ "dark"
11436
+ ]
11437
+ },
11438
+ "CustomizationHeaderLink": {
11439
+ "allOf": [
11440
+ {
11441
+ "$ref": "#/components/schemas/CustomizationContentLink"
11442
+ },
11443
+ {
11444
+ "type": "object",
11445
+ "properties": {
11446
+ "links": {
11447
+ "type": "array",
11448
+ "items": {
11449
+ "$ref": "#/components/schemas/CustomizationContentLink"
11450
+ }
11451
+ }
11452
+ }
11453
+ }
11454
+ ]
11455
+ },
11456
+ "CustomizationContentLink": {
11457
+ "type": "object",
11458
+ "properties": {
11459
+ "title": {
11460
+ "type": "string"
11461
+ },
11462
+ "to": {
11463
+ "$ref": "#/components/schemas/ContentRef"
11464
+ }
11465
+ },
11466
+ "required": [
11467
+ "title",
11468
+ "to"
11469
+ ]
11470
+ },
11471
+ "CustomizationFooterGroup": {
11472
+ "type": "object",
11473
+ "properties": {
11474
+ "title": {
11475
+ "type": "string"
11476
+ },
11477
+ "links": {
11478
+ "type": "array",
11479
+ "items": {
11480
+ "$ref": "#/components/schemas/CustomizationContentLink"
11481
+ }
11482
+ }
11483
+ },
11484
+ "required": [
11485
+ "title",
11486
+ "links"
11487
+ ]
11488
+ },
11489
+ "CustomizationCorners": {
11490
+ "type": "string",
11491
+ "enum": [
11492
+ "straight",
11493
+ "rounded"
11494
+ ]
11495
+ },
11496
+ "CustomizationThemedURL": {
11497
+ "type": "object",
11498
+ "properties": {
11499
+ "light": {
11500
+ "$ref": "#/components/schemas/URL"
11501
+ },
11502
+ "dark": {
11503
+ "$ref": "#/components/schemas/URL"
11504
+ }
11505
+ },
11506
+ "required": [
11507
+ "light",
11508
+ "dark"
11509
+ ]
11510
+ },
11511
+ "CustomizationThemedColor": {
11512
+ "type": "object",
11513
+ "properties": {
11514
+ "light": {
11515
+ "$ref": "#/components/schemas/Color"
11516
+ },
11517
+ "dark": {
11518
+ "$ref": "#/components/schemas/Color"
11519
+ }
11520
+ },
11521
+ "required": [
11522
+ "light",
11523
+ "dark"
11524
+ ]
11525
+ }
11526
+ },
11527
+ "responses": {
11528
+ "UnexpectedError": {
11529
+ "description": "Unexpected Error",
11530
+ "content": {
11531
+ "application/json": {
11532
+ "schema": {
11533
+ "$ref": "#/components/schemas/Error"
11534
+ }
11535
+ }
11536
+ }
11537
+ },
11538
+ "BadRequestError": {
11539
+ "description": "Bad Request",
11540
+ "content": {
11541
+ "application/json": {
11542
+ "schema": {
11543
+ "type": "object",
11544
+ "required": [
11545
+ "error"
11546
+ ],
11547
+ "properties": {
11548
+ "error": {
11549
+ "type": "object",
11550
+ "properties": {
11551
+ "code": {
11552
+ "type": "integer",
11553
+ "format": "int32",
11554
+ "enum": [
11555
+ 400
11556
+ ]
11557
+ },
11558
+ "message": {
11559
+ "type": "string"
11560
+ }
11561
+ },
11562
+ "required": [
11563
+ "code",
11564
+ "message"
11565
+ ]
11566
+ }
11567
+ }
11568
+ }
11569
+ }
11570
+ }
11571
+ },
11572
+ "NotFoundError": {
11573
+ "description": "Not Found",
11574
+ "content": {
11575
+ "application/json": {
11576
+ "schema": {
11577
+ "type": "object",
11578
+ "required": [
11579
+ "error"
11580
+ ],
11581
+ "properties": {
11582
+ "error": {
11583
+ "type": "object",
11584
+ "properties": {
11585
+ "code": {
11586
+ "type": "integer",
11587
+ "format": "int32",
11588
+ "enum": [
11589
+ 404
11590
+ ]
11591
+ },
11592
+ "message": {
11593
+ "type": "string"
11594
+ }
11595
+ },
11596
+ "required": [
11597
+ "code",
11598
+ "message"
11599
+ ]
11600
+ }
11601
+ }
11602
+ }
11603
+ }
11604
+ }
11605
+ },
11606
+ "ContentFilesResponse": {
11001
11607
  "description": "OK",
11002
11608
  "content": {
11003
11609
  "application/json": {
@@ -14165,6 +14771,88 @@
14165
14771
  }
14166
14772
  }
14167
14773
  },
14774
+ "/spaces/{spaceId}/publishing/customization": {
14775
+ "get": {
14776
+ "operationId": "getSpacePublishingCustomizationById",
14777
+ "summary": "Get the publishing customization configuration for a space.",
14778
+ "tags": [
14779
+ "spaces"
14780
+ ],
14781
+ "security": [
14782
+ {
14783
+ "user": []
14784
+ }
14785
+ ],
14786
+ "parameters": [
14787
+ {
14788
+ "$ref": "#/components/parameters/spaceId"
14789
+ }
14790
+ ],
14791
+ "responses": {
14792
+ "200": {
14793
+ "description": "OK",
14794
+ "content": {
14795
+ "application/json": {
14796
+ "schema": {
14797
+ "$ref": "#/components/schemas/CustomizationSettings"
14798
+ }
14799
+ }
14800
+ }
14801
+ },
14802
+ "400": {
14803
+ "$ref": "#/components/responses/BadRequestError"
14804
+ },
14805
+ "default": {
14806
+ "$ref": "#/components/responses/UnexpectedError"
14807
+ }
14808
+ }
14809
+ },
14810
+ "put": {
14811
+ "operationId": "updateSpacePublishingCustomizationById",
14812
+ "summary": "Update the publishing customization configuration for a space.",
14813
+ "tags": [
14814
+ "spaces"
14815
+ ],
14816
+ "security": [
14817
+ {
14818
+ "user": []
14819
+ }
14820
+ ],
14821
+ "parameters": [
14822
+ {
14823
+ "$ref": "#/components/parameters/spaceId"
14824
+ }
14825
+ ],
14826
+ "requestBody": {
14827
+ "required": true,
14828
+ "content": {
14829
+ "application/json": {
14830
+ "schema": {
14831
+ "$ref": "#/components/schemas/CustomizationSettings"
14832
+ }
14833
+ }
14834
+ }
14835
+ },
14836
+ "responses": {
14837
+ "200": {
14838
+ "description": "OK",
14839
+ "content": {
14840
+ "application/json": {
14841
+ "schema": {
14842
+ "$ref": "#/components/schemas/CustomizationSettings"
14843
+ }
14844
+ }
14845
+ }
14846
+ },
14847
+ "400": {
14848
+ "$ref": "#/components/responses/BadRequestError"
14849
+ },
14850
+ "default": {
14851
+ "$ref": "#/components/responses/UnexpectedError"
14852
+ }
14853
+ }
14854
+ }
14855
+ },
14168
14856
  "/spaces/{spaceId}/publishing/auth": {
14169
14857
  "get": {
14170
14858
  "operationId": "getSpacePublishingAuthById",
@@ -14636,6 +15324,88 @@
14636
15324
  }
14637
15325
  }
14638
15326
  },
15327
+ "/collections/{collectionId}/publishing/customization": {
15328
+ "get": {
15329
+ "operationId": "getCollectionPublishingCustomizationById",
15330
+ "summary": "Get the publishing customization configuration for a collection.",
15331
+ "tags": [
15332
+ "collections"
15333
+ ],
15334
+ "security": [
15335
+ {
15336
+ "user": []
15337
+ }
15338
+ ],
15339
+ "parameters": [
15340
+ {
15341
+ "$ref": "#/components/parameters/collectionId"
15342
+ }
15343
+ ],
15344
+ "responses": {
15345
+ "200": {
15346
+ "description": "OK",
15347
+ "content": {
15348
+ "application/json": {
15349
+ "schema": {
15350
+ "$ref": "#/components/schemas/CustomizationCollectionSettings"
15351
+ }
15352
+ }
15353
+ }
15354
+ },
15355
+ "400": {
15356
+ "$ref": "#/components/responses/BadRequestError"
15357
+ },
15358
+ "default": {
15359
+ "$ref": "#/components/responses/UnexpectedError"
15360
+ }
15361
+ }
15362
+ },
15363
+ "put": {
15364
+ "operationId": "updateCollectionPublishingCustomizationById",
15365
+ "summary": "Update the publishing customization configuration for a collection.",
15366
+ "tags": [
15367
+ "collections"
15368
+ ],
15369
+ "security": [
15370
+ {
15371
+ "user": []
15372
+ }
15373
+ ],
15374
+ "parameters": [
15375
+ {
15376
+ "$ref": "#/components/parameters/collectionId"
15377
+ }
15378
+ ],
15379
+ "requestBody": {
15380
+ "required": true,
15381
+ "content": {
15382
+ "application/json": {
15383
+ "schema": {
15384
+ "$ref": "#/components/schemas/CustomizationCollectionSettings"
15385
+ }
15386
+ }
15387
+ }
15388
+ },
15389
+ "responses": {
15390
+ "200": {
15391
+ "description": "OK",
15392
+ "content": {
15393
+ "application/json": {
15394
+ "schema": {
15395
+ "$ref": "#/components/schemas/CustomizationCollectionSettings"
15396
+ }
15397
+ }
15398
+ }
15399
+ },
15400
+ "400": {
15401
+ "$ref": "#/components/responses/BadRequestError"
15402
+ },
15403
+ "default": {
15404
+ "$ref": "#/components/responses/UnexpectedError"
15405
+ }
15406
+ }
15407
+ }
15408
+ },
14639
15409
  "/integrations": {
14640
15410
  "get": {
14641
15411
  "operationId": "listIntegrations",
@@ -17320,6 +18090,65 @@
17320
18090
  "$ref": "#/components/responses/UnexpectedError"
17321
18091
  }
17322
18092
  }
18093
+ },
18094
+ "post": {
18095
+ "operationId": "createCollection",
18096
+ "summary": "Create an organization collection",
18097
+ "tags": [
18098
+ "collections"
18099
+ ],
18100
+ "security": [
18101
+ {
18102
+ "user": []
18103
+ }
18104
+ ],
18105
+ "parameters": [
18106
+ {
18107
+ "$ref": "#/components/parameters/organizationId"
18108
+ }
18109
+ ],
18110
+ "requestBody": {
18111
+ "content": {
18112
+ "application/json": {
18113
+ "schema": {
18114
+ "type": "object",
18115
+ "properties": {
18116
+ "title": {
18117
+ "type": "string",
18118
+ "maxLength": 50
18119
+ },
18120
+ "parent": {
18121
+ "type": "string",
18122
+ "description": "ID of a parent collection"
18123
+ }
18124
+ }
18125
+ }
18126
+ }
18127
+ }
18128
+ },
18129
+ "responses": {
18130
+ "201": {
18131
+ "description": "Collection created",
18132
+ "headers": {
18133
+ "Location": {
18134
+ "description": "API URL for the newly created collection",
18135
+ "schema": {
18136
+ "type": "string"
18137
+ }
18138
+ }
18139
+ },
18140
+ "content": {
18141
+ "application/json": {
18142
+ "schema": {
18143
+ "$ref": "#/components/schemas/Collection"
18144
+ }
18145
+ }
18146
+ }
18147
+ },
18148
+ "default": {
18149
+ "$ref": "#/components/responses/UnexpectedError"
18150
+ }
18151
+ }
17323
18152
  }
17324
18153
  },
17325
18154
  "/orgs/{organizationId}/dsync": {