@gitbook/api 0.110.0 → 0.112.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
@@ -6323,6 +6323,78 @@
6323
6323
  }
6324
6324
  }
6325
6325
  },
6326
+ "/integrations/{integrationName}/sites": {
6327
+ "get": {
6328
+ "operationId": "listIntegrationSiteInstallations",
6329
+ "summary": "List all integration site installations",
6330
+ "tags": [
6331
+ "integrations"
6332
+ ],
6333
+ "security": [
6334
+ {
6335
+ "integration": []
6336
+ }
6337
+ ],
6338
+ "parameters": [
6339
+ {
6340
+ "$ref": "#/components/parameters/integrationName"
6341
+ },
6342
+ {
6343
+ "$ref": "#/components/parameters/listPage"
6344
+ },
6345
+ {
6346
+ "$ref": "#/components/parameters/listLimit"
6347
+ },
6348
+ {
6349
+ "name": "externalId",
6350
+ "in": "query",
6351
+ "description": "External ID to filter by",
6352
+ "schema": {
6353
+ "type": "string"
6354
+ }
6355
+ },
6356
+ {
6357
+ "name": "extended",
6358
+ "in": "query",
6359
+ "description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
6360
+ "schema": {
6361
+ "type": "boolean",
6362
+ "default": false
6363
+ }
6364
+ }
6365
+ ],
6366
+ "responses": {
6367
+ "200": {
6368
+ "description": "OK",
6369
+ "content": {
6370
+ "application/json": {
6371
+ "schema": {
6372
+ "allOf": [
6373
+ {
6374
+ "$ref": "#/components/schemas/List"
6375
+ },
6376
+ {
6377
+ "type": "object",
6378
+ "required": [
6379
+ "items"
6380
+ ],
6381
+ "properties": {
6382
+ "items": {
6383
+ "type": "array",
6384
+ "items": {
6385
+ "$ref": "#/components/schemas/IntegrationSiteInstallation"
6386
+ }
6387
+ }
6388
+ }
6389
+ }
6390
+ ]
6391
+ }
6392
+ }
6393
+ }
6394
+ }
6395
+ }
6396
+ }
6397
+ },
6326
6398
  "/integrations/{integrationName}/dev": {
6327
6399
  "put": {
6328
6400
  "operationId": "setIntegrationDevelopmentMode",
@@ -17243,6 +17315,10 @@
17243
17315
  },
17244
17316
  "reusableContent": {
17245
17317
  "type": "string"
17318
+ },
17319
+ "space": {
17320
+ "type": "string",
17321
+ "description": "The space in which the reusable content is defined. If undefined, the reusable content is assumed to be in the same space as the content reference."
17246
17322
  }
17247
17323
  },
17248
17324
  "required": [
@@ -19588,7 +19664,11 @@
19588
19664
  },
19589
19665
  "data": {
19590
19666
  "type": "object",
19591
- "properties": {},
19667
+ "properties": {
19668
+ "fullWidth": {
19669
+ "type": "boolean"
19670
+ }
19671
+ },
19592
19672
  "additionalProperties": false
19593
19673
  }
19594
19674
  },
@@ -19840,6 +19920,86 @@
19840
19920
  "isVoid"
19841
19921
  ]
19842
19922
  },
19923
+ "OpenAPIWebhookPointer": {
19924
+ "type": "object",
19925
+ "description": "Pointer to a webhook in the OpenAPI spec.",
19926
+ "properties": {
19927
+ "name": {
19928
+ "type": "string",
19929
+ "description": "Name of the webhook in the OpenAPI spec."
19930
+ },
19931
+ "method": {
19932
+ "type": "string",
19933
+ "description": "HTTP method of the webhook in the OpenAPI spec."
19934
+ }
19935
+ },
19936
+ "required": [
19937
+ "name",
19938
+ "method"
19939
+ ]
19940
+ },
19941
+ "DocumentBlockOpenAPIWebhook": {
19942
+ "type": "object",
19943
+ "properties": {
19944
+ "object": {
19945
+ "type": "string",
19946
+ "enum": [
19947
+ "block"
19948
+ ]
19949
+ },
19950
+ "type": {
19951
+ "type": "string",
19952
+ "enum": [
19953
+ "openapi-webhook"
19954
+ ]
19955
+ },
19956
+ "key": {
19957
+ "type": "string"
19958
+ },
19959
+ "data": {
19960
+ "allOf": [
19961
+ {
19962
+ "$ref": "#/components/schemas/OpenAPIWebhookPointer"
19963
+ },
19964
+ {
19965
+ "type": "object",
19966
+ "properties": {
19967
+ "ref": {
19968
+ "$ref": "#/components/schemas/ContentRefOpenAPI"
19969
+ }
19970
+ },
19971
+ "required": [
19972
+ "ref"
19973
+ ]
19974
+ }
19975
+ ]
19976
+ },
19977
+ "isVoid": {
19978
+ "type": "boolean",
19979
+ "enum": [
19980
+ true
19981
+ ]
19982
+ },
19983
+ "meta": {
19984
+ "type": "object",
19985
+ "properties": {
19986
+ "id": {
19987
+ "description": "Unique ID to be used in an URL for the block.",
19988
+ "type": "string"
19989
+ }
19990
+ },
19991
+ "required": [
19992
+ "id"
19993
+ ]
19994
+ }
19995
+ },
19996
+ "required": [
19997
+ "object",
19998
+ "type",
19999
+ "data",
20000
+ "isVoid"
20001
+ ]
20002
+ },
19843
20003
  "DocumentBlockStepperStep": {
19844
20004
  "type": "object",
19845
20005
  "properties": {
@@ -20036,6 +20196,9 @@
20036
20196
  {
20037
20197
  "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
20038
20198
  },
20199
+ {
20200
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
20201
+ },
20039
20202
  {
20040
20203
  "$ref": "#/components/schemas/DocumentBlockContentRef"
20041
20204
  },
@@ -20213,6 +20376,9 @@
20213
20376
  {
20214
20377
  "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
20215
20378
  },
20379
+ {
20380
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
20381
+ },
20216
20382
  {
20217
20383
  "$ref": "#/components/schemas/DocumentBlockContentRef"
20218
20384
  },
@@ -21592,8 +21758,7 @@
21592
21758
  "dropbox-paper",
21593
21759
  "notion",
21594
21760
  "quip",
21595
- "google-docs",
21596
- "open-api"
21761
+ "google-docs"
21597
21762
  ]
21598
21763
  },
21599
21764
  "ImportContent": {
@@ -26230,1756 +26395,1758 @@
26230
26395
  }
26231
26396
  ]
26232
26397
  },
26233
- "ContentKitIcon": {
26398
+ "SiteType": {
26234
26399
  "type": "string",
26400
+ "description": "The type of the site",
26235
26401
  "enum": [
26236
- "close",
26237
- "edit",
26238
- "github",
26239
- "gitlab",
26240
- "maximize",
26241
- "email",
26242
- "settings",
26243
- "search",
26244
- "delete",
26245
- "star",
26246
- "warning",
26247
- "link",
26248
- "link-external",
26249
- "eye",
26250
- "lock"
26402
+ "basic",
26403
+ "premium",
26404
+ "ultimate",
26405
+ "sponsored",
26406
+ "legacy-basic",
26407
+ "legacy-premium"
26251
26408
  ]
26252
26409
  },
26253
- "ContentKitConfirm": {
26410
+ "SiteTitle": {
26411
+ "type": "string",
26412
+ "description": "Title of the site",
26413
+ "minLength": 2,
26414
+ "maxLength": 128
26415
+ },
26416
+ "SiteHostname": {
26417
+ "type": "string",
26418
+ "description": "Custom hostname for the site, for e.g. docs.mycompany.com",
26419
+ "pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$",
26420
+ "maxLength": 512
26421
+ },
26422
+ "SiteBasename": {
26423
+ "type": "string",
26424
+ "description": "Basename for the site. For e.g. api",
26425
+ "minLength": 1,
26426
+ "maxLength": 100
26427
+ },
26428
+ "SiteProxyOrigin": {
26429
+ "type": "string",
26430
+ "description": "Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.",
26431
+ "pattern": "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$",
26432
+ "maxLength": 512
26433
+ },
26434
+ "SiteProxy": {
26254
26435
  "type": "object",
26255
- "description": "A confirm object that defines an optional confirmation dialog after the input is clicked.",
26256
26436
  "properties": {
26257
- "title": {
26258
- "type": "string",
26259
- "description": "A text value that defines the dialog's title.",
26260
- "maxLength": 100
26261
- },
26262
- "text": {
26263
- "type": "string",
26264
- "description": "A text value that defines the explanatory text that appears in the confirm dialog.",
26265
- "maxLength": 300
26266
- },
26267
- "confirm": {
26268
- "type": "string",
26269
- "description": "A text value to define the text of the button that confirms the action.",
26270
- "maxLength": 30
26437
+ "origin": {
26438
+ "$ref": "#/components/schemas/SiteProxyOrigin"
26271
26439
  },
26272
- "style": {
26440
+ "target": {
26273
26441
  "type": "string",
26274
- "enum": [
26275
- "primary",
26276
- "danger"
26277
- ]
26442
+ "description": "The target URL to which the requests at the origin URL should be proxied to."
26278
26443
  }
26279
26444
  },
26280
26445
  "required": [
26281
- "title",
26282
- "text",
26283
- "confirm"
26446
+ "origin",
26447
+ "target"
26284
26448
  ]
26285
26449
  },
26286
- "ContentKitButton": {
26450
+ "SiteVisibility": {
26451
+ "type": "string",
26452
+ "description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
26453
+ "enum": [
26454
+ "public",
26455
+ "unlisted",
26456
+ "share-link",
26457
+ "visitor-auth"
26458
+ ]
26459
+ },
26460
+ "SiteAdaptiveContent": {
26287
26461
  "type": "object",
26288
- "description": "Pressable button triggering an action.",
26289
26462
  "properties": {
26290
- "type": {
26291
- "type": "string",
26292
- "enum": [
26293
- "button"
26294
- ]
26295
- },
26296
- "style": {
26297
- "type": "string",
26298
- "enum": [
26299
- "primary",
26300
- "secondary",
26301
- "danger"
26302
- ]
26303
- },
26304
- "onPress": {
26305
- "$ref": "#/components/schemas/ContentKitAction"
26306
- },
26307
- "icon": {
26308
- "$ref": "#/components/schemas/ContentKitIcon"
26309
- },
26310
- "trailingIcon": {
26311
- "$ref": "#/components/schemas/ContentKitIcon"
26312
- },
26313
- "label": {
26314
- "type": "string"
26315
- },
26316
- "tooltip": {
26317
- "type": "string"
26318
- },
26319
- "confirm": {
26320
- "$ref": "#/components/schemas/ContentKitConfirm"
26321
- },
26322
- "disabled": {
26323
- "type": "boolean"
26463
+ "enabled": {
26464
+ "type": "boolean",
26465
+ "description": "Whether adaptive content should be enabled on the site."
26324
26466
  }
26325
26467
  },
26326
26468
  "required": [
26327
- "type",
26328
- "onPress"
26469
+ "enabled"
26329
26470
  ]
26330
26471
  },
26331
- "ContentKitTextInput": {
26332
- "type": "object",
26333
- "description": "Text input to prompt the user.",
26334
- "properties": {
26335
- "type": {
26336
- "type": "string",
26337
- "enum": [
26338
- "textinput"
26339
- ]
26340
- },
26341
- "disabled": {
26342
- "type": "boolean"
26343
- },
26344
- "state": {
26345
- "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
26346
- "type": "string"
26347
- },
26348
- "initialValue": {
26349
- "description": "Text value to initialize the input with.",
26350
- "type": "string"
26351
- },
26352
- "placeholder": {
26353
- "description": "Text that appears in the form control when it has no value set",
26354
- "type": "string"
26355
- },
26356
- "multiline": {
26357
- "type": "boolean"
26358
- },
26359
- "inputType": {
26360
- "type": "string",
26361
- "enum": [
26362
- "text",
26363
- "password",
26364
- "email"
26365
- ],
26366
- "default": "text"
26367
- }
26368
- },
26369
- "required": [
26370
- "type",
26371
- "state"
26472
+ "SiteAdsTopic": {
26473
+ "type": "string",
26474
+ "description": "Topic of the content",
26475
+ "enum": [
26476
+ "webdev",
26477
+ "crypto"
26372
26478
  ]
26373
26479
  },
26374
- "ContentKitDescendantElement": {
26375
- "description": "Any element that can be used as children.",
26480
+ "SiteAds": {
26376
26481
  "oneOf": [
26377
26482
  {
26378
- "$ref": "#/components/schemas/ContentKitButton"
26379
- },
26380
- {
26381
- "$ref": "#/components/schemas/ContentKitTextInput"
26382
- },
26383
- {
26384
- "$ref": "#/components/schemas/ContentKitHStack"
26385
- },
26386
- {
26387
- "$ref": "#/components/schemas/ContentKitVStack"
26388
- },
26389
- {
26390
- "$ref": "#/components/schemas/ContentKitBox"
26391
- },
26392
- {
26393
- "$ref": "#/components/schemas/ContentKitDivider"
26394
- },
26395
- {
26396
- "$ref": "#/components/schemas/ContentKitWebFrame"
26397
- },
26398
- {
26399
- "$ref": "#/components/schemas/ContentKitCodeBlock"
26400
- },
26401
- {
26402
- "$ref": "#/components/schemas/ContentKitMarkdown"
26403
- },
26404
- {
26405
- "$ref": "#/components/schemas/ContentKitCard"
26406
- },
26407
- {
26408
- "$ref": "#/components/schemas/ContentKitImage"
26409
- },
26410
- {
26411
- "$ref": "#/components/schemas/ContentKitInput"
26412
- },
26413
- {
26414
- "$ref": "#/components/schemas/ContentKitSelect"
26415
- },
26416
- {
26417
- "$ref": "#/components/schemas/ContentKitSwitch"
26418
- },
26419
- {
26420
- "$ref": "#/components/schemas/ContentKitCheckbox"
26421
- },
26422
- {
26423
- "$ref": "#/components/schemas/ContentKitRadio"
26424
- },
26425
- {
26426
- "$ref": "#/components/schemas/ContentKitText"
26427
- },
26428
- {
26429
- "$ref": "#/components/schemas/ContentKitHint"
26430
- },
26431
- {
26432
- "$ref": "#/components/schemas/ContentKitLink"
26483
+ "type": "object",
26484
+ "required": [
26485
+ "status",
26486
+ "submittable"
26487
+ ],
26488
+ "properties": {
26489
+ "status": {
26490
+ "type": "string",
26491
+ "enum": [
26492
+ "pending"
26493
+ ]
26494
+ },
26495
+ "submittable": {
26496
+ "type": "boolean",
26497
+ "description": "True if the user can submit the site for review."
26498
+ }
26499
+ }
26433
26500
  },
26434
26501
  {
26435
- "$ref": "#/components/schemas/ContentKitStepperStep"
26436
- }
26437
- ],
26438
- "discriminator": {
26439
- "propertyName": "type"
26440
- }
26441
- },
26442
- "ContentKitHStack": {
26443
- "type": "object",
26444
- "description": "Horizontal stack of boxes.",
26445
- "properties": {
26446
- "type": {
26447
- "type": "string",
26448
- "enum": [
26449
- "hstack"
26450
- ]
26451
- },
26452
- "align": {
26453
- "type": "string",
26454
- "default": "start",
26455
- "enum": [
26456
- "start",
26457
- "center",
26458
- "end"
26459
- ]
26460
- },
26461
- "children": {
26462
- "type": "array",
26463
- "items": {
26464
- "$ref": "#/components/schemas/ContentKitDescendantElement"
26502
+ "type": "object",
26503
+ "required": [
26504
+ "status",
26505
+ "topic",
26506
+ "accountEmail"
26507
+ ],
26508
+ "properties": {
26509
+ "status": {
26510
+ "type": "string",
26511
+ "enum": [
26512
+ "in-review"
26513
+ ]
26514
+ },
26515
+ "topic": {
26516
+ "$ref": "#/components/schemas/SiteAdsTopic"
26517
+ }
26465
26518
  }
26466
- }
26467
- },
26468
- "required": [
26469
- "type",
26470
- "children"
26471
- ]
26472
- },
26473
- "ContentKitVStack": {
26474
- "type": "object",
26475
- "description": "Vertical stack of boxes.",
26476
- "properties": {
26477
- "type": {
26478
- "type": "string",
26479
- "enum": [
26480
- "vstack"
26481
- ]
26482
26519
  },
26483
- "align": {
26484
- "type": "string",
26485
- "default": "start",
26486
- "enum": [
26487
- "start",
26488
- "center",
26489
- "end"
26490
- ]
26491
- },
26492
- "children": {
26493
- "type": "array",
26494
- "items": {
26495
- "$ref": "#/components/schemas/ContentKitDescendantElement"
26520
+ {
26521
+ "type": "object",
26522
+ "required": [
26523
+ "status"
26524
+ ],
26525
+ "properties": {
26526
+ "status": {
26527
+ "type": "string",
26528
+ "enum": [
26529
+ "rejected"
26530
+ ]
26531
+ },
26532
+ "reason": {
26533
+ "type": "string",
26534
+ "description": "Reason for the rejection"
26535
+ }
26496
26536
  }
26497
- }
26498
- },
26499
- "required": [
26500
- "type",
26501
- "children"
26502
- ]
26503
- },
26504
- "ContentKitBox": {
26505
- "type": "object",
26506
- "properties": {
26507
- "type": {
26508
- "type": "string",
26509
- "enum": [
26510
- "box"
26511
- ]
26512
- },
26513
- "grow": {
26514
- "description": "specifies how much of the remaining space in the container should be assigned to the element",
26515
- "type": "number"
26516
26537
  },
26517
- "children": {
26518
- "type": "array",
26519
- "items": {
26520
- "$ref": "#/components/schemas/ContentKitDescendantElement"
26538
+ {
26539
+ "type": "object",
26540
+ "required": [
26541
+ "status",
26542
+ "topic",
26543
+ "zoneId"
26544
+ ],
26545
+ "properties": {
26546
+ "status": {
26547
+ "type": "string",
26548
+ "enum": [
26549
+ "live",
26550
+ "disabled"
26551
+ ]
26552
+ },
26553
+ "topic": {
26554
+ "$ref": "#/components/schemas/SiteAdsTopic"
26555
+ },
26556
+ "zoneId": {
26557
+ "type": "string",
26558
+ "description": "The ad network zone ID"
26559
+ }
26521
26560
  }
26522
26561
  }
26523
- },
26524
- "required": [
26525
- "type",
26526
- "children"
26527
- ]
26528
- },
26529
- "ContentKitDivider": {
26530
- "type": "object",
26531
- "description": "Divider between 2 boxes in a stack.",
26532
- "properties": {
26533
- "type": {
26534
- "type": "string",
26535
- "enum": [
26536
- "divider"
26537
- ]
26538
- },
26539
- "size": {
26540
- "type": "string",
26541
- "enum": [
26542
- "small",
26543
- "medium",
26544
- "large"
26545
- ]
26546
- }
26547
- },
26548
- "required": [
26549
- "type"
26550
26562
  ]
26551
26563
  },
26552
- "ContentKitDynamicBinding": {
26553
- "type": "object",
26554
- "description": "Binding between a property and a state value.",
26555
- "properties": {
26556
- "$state": {
26557
- "type": "string",
26558
- "description": "Key in the state"
26559
- }
26560
- },
26561
- "required": [
26562
- "$state"
26564
+ "SiteCustomizationFeature": {
26565
+ "type": "string",
26566
+ "description": "A list of all premium customizations.",
26567
+ "enum": [
26568
+ "header-logo",
26569
+ "theme-preset",
26570
+ "premium-fonts",
26571
+ "custom-icons",
26572
+ "footer-logo",
26573
+ "footer-links",
26574
+ "footer-copyright",
26575
+ "semantic-colors"
26563
26576
  ]
26564
26577
  },
26565
- "ContentKitWebFrame": {
26566
- "type": "object",
26567
- "description": "Frame for a webpage",
26568
- "properties": {
26569
- "type": {
26570
- "type": "string",
26571
- "enum": [
26572
- "webframe"
26578
+ "SiteFeature": {
26579
+ "oneOf": [
26580
+ {
26581
+ "type": "object",
26582
+ "description": "A site feature and the plan it is available on.",
26583
+ "properties": {
26584
+ "id": {
26585
+ "description": "The feature identifier, matching the feature table keys in the pricing definition",
26586
+ "type": "string",
26587
+ "enum": [
26588
+ "sites-sections",
26589
+ "sites-visitor-authentication",
26590
+ "sites-adaptive-content",
26591
+ "sites-redirects",
26592
+ "sites-custom-domain",
26593
+ "sites-ai-search",
26594
+ "sites-pdf-export",
26595
+ "sites-page-feedback",
26596
+ "sites-unlisted-visibility",
26597
+ "sites-share-links",
26598
+ "sites-custom-fonts"
26599
+ ]
26600
+ },
26601
+ "plan": {
26602
+ "$ref": "#/components/schemas/SiteType"
26603
+ },
26604
+ "frozen": {
26605
+ "description": "A frozen feature is still enabled but cannot be changed or modified.",
26606
+ "type": "boolean"
26607
+ }
26608
+ },
26609
+ "required": [
26610
+ "id",
26611
+ "plan",
26612
+ "frozen"
26573
26613
  ]
26574
26614
  },
26575
- "aspectRatio": {
26576
- "type": "number",
26577
- "description": "Ratio between width and height. Used to size the webframe."
26578
- },
26579
- "source": {
26615
+ {
26580
26616
  "type": "object",
26581
- "description": "Content to load in the frame.",
26617
+ "description": "The advanced customizations feature, carrying also which individual customization are used",
26582
26618
  "properties": {
26583
- "url": {
26584
- "type": "string"
26619
+ "id": {
26620
+ "description": "The feature identifier, always set to `sites-advanced-customization`",
26621
+ "type": "string",
26622
+ "enum": [
26623
+ "sites-advanced-customization"
26624
+ ]
26625
+ },
26626
+ "plan": {
26627
+ "$ref": "#/components/schemas/SiteType"
26628
+ },
26629
+ "frozen": {
26630
+ "description": "A frozen feature is still enabled but cannot be changed or modified.",
26631
+ "type": "boolean"
26632
+ },
26633
+ "customizations": {
26634
+ "description": "A list of the actual advanced customizations used",
26635
+ "type": "array",
26636
+ "items": {
26637
+ "$ref": "#/components/schemas/SiteCustomizationFeature"
26638
+ }
26585
26639
  }
26586
26640
  },
26587
26641
  "required": [
26588
- "url"
26642
+ "id",
26643
+ "plan",
26644
+ "frozen",
26645
+ "customizations"
26589
26646
  ]
26590
- },
26591
- "buttons": {
26592
- "type": "array",
26593
- "description": "Controls button shown as an overlay in a corner of the frame.",
26594
- "items": {
26595
- "$ref": "#/components/schemas/ContentKitButton"
26596
- }
26597
- },
26598
- "data": {
26599
- "type": "object",
26600
- "description": "Data to communicated to the webframe's content. Each state update will cause the webframe to receive a message.",
26601
- "additionalProperties": {
26602
- "oneOf": [
26603
- {
26604
- "type": "string"
26605
- },
26606
- {
26607
- "$ref": "#/components/schemas/ContentKitDynamicBinding"
26608
- }
26609
- ]
26610
- }
26611
26647
  }
26612
- },
26613
- "required": [
26614
- "type",
26615
- "source"
26616
26648
  ]
26617
26649
  },
26618
- "ContentKitCodeBlock": {
26650
+ "Site": {
26619
26651
  "type": "object",
26620
- "description": "Code block with syntax highlighting",
26621
26652
  "properties": {
26622
- "type": {
26653
+ "object": {
26623
26654
  "type": "string",
26624
26655
  "enum": [
26625
- "codeblock"
26656
+ "site"
26626
26657
  ]
26627
26658
  },
26628
- "content": {
26629
- "oneOf": [
26630
- {
26631
- "$ref": "#/components/schemas/ContentKitDynamicBinding"
26632
- },
26633
- {
26634
- "type": "string",
26635
- "description": "Code content to display"
26636
- }
26637
- ]
26659
+ "id": {
26660
+ "type": "string",
26661
+ "description": "Unique identifier of the site"
26638
26662
  },
26639
- "syntax": {
26640
- "description": "Syntax to use for highlighting (ex: javascript, python)",
26641
- "type": "string"
26663
+ "type": {
26664
+ "$ref": "#/components/schemas/SiteType"
26642
26665
  },
26643
- "lineNumbers": {
26644
- "oneOf": [
26645
- {
26646
- "type": "boolean"
26647
- },
26648
- {
26649
- "type": "number",
26650
- "description": "Line number to start at."
26651
- }
26652
- ]
26666
+ "title": {
26667
+ "$ref": "#/components/schemas/SiteTitle"
26653
26668
  },
26654
- "buttons": {
26655
- "type": "array",
26656
- "description": "Controls button shown as an overlay in a corner of the code block.",
26657
- "items": {
26658
- "$ref": "#/components/schemas/ContentKitButton"
26659
- }
26669
+ "hostname": {
26670
+ "$ref": "#/components/schemas/SiteHostname"
26660
26671
  },
26661
- "state": {
26662
- "description": "State binding when editable. The value of the input will be stored as a property in the state named after this ID.",
26663
- "type": "string"
26672
+ "basename": {
26673
+ "$ref": "#/components/schemas/SiteBasename"
26664
26674
  },
26665
- "onContentChange": {
26666
- "$ref": "#/components/schemas/ContentKitAction"
26675
+ "proxy": {
26676
+ "$ref": "#/components/schemas/SiteProxy"
26667
26677
  },
26668
- "header": {
26669
- "type": "array",
26670
- "description": "Header displayed before the code lines",
26671
- "items": {
26672
- "$ref": "#/components/schemas/ContentKitDescendantElement"
26673
- }
26678
+ "visibility": {
26679
+ "$ref": "#/components/schemas/SiteVisibility"
26674
26680
  },
26675
- "footer": {
26681
+ "published": {
26682
+ "type": "boolean",
26683
+ "description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
26684
+ },
26685
+ "siteSpaces": {
26686
+ "type": "number"
26687
+ },
26688
+ "createdAt": {
26689
+ "type": "string",
26690
+ "format": "date-time"
26691
+ },
26692
+ "adaptiveContent": {
26693
+ "$ref": "#/components/schemas/SiteAdaptiveContent"
26694
+ },
26695
+ "ads": {
26696
+ "$ref": "#/components/schemas/SiteAds"
26697
+ },
26698
+ "features": {
26699
+ "description": "A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.\n",
26676
26700
  "type": "array",
26677
- "description": "Footer displayed after the code lines",
26678
26701
  "items": {
26679
- "$ref": "#/components/schemas/ContentKitDescendantElement"
26702
+ "$ref": "#/components/schemas/SiteFeature"
26680
26703
  }
26704
+ },
26705
+ "urls": {
26706
+ "type": "object",
26707
+ "description": "URLs associated with the object",
26708
+ "properties": {
26709
+ "location": {
26710
+ "type": "string",
26711
+ "description": "URL of the site in the API",
26712
+ "format": "uri"
26713
+ },
26714
+ "app": {
26715
+ "type": "string",
26716
+ "description": "URL of the site in the application",
26717
+ "format": "uri"
26718
+ },
26719
+ "published": {
26720
+ "type": "string",
26721
+ "description": "URL of the published version of the site. Only defined when site is published.",
26722
+ "format": "uri"
26723
+ }
26724
+ },
26725
+ "required": [
26726
+ "app",
26727
+ "location"
26728
+ ]
26681
26729
  }
26682
26730
  },
26683
26731
  "required": [
26732
+ "object",
26733
+ "id",
26684
26734
  "type",
26685
- "content"
26735
+ "title",
26736
+ "visibility",
26737
+ "published",
26738
+ "createdAt",
26739
+ "siteSpaces",
26740
+ "defaultSpace",
26741
+ "features",
26742
+ "urls"
26686
26743
  ]
26687
26744
  },
26688
- "ContentKitMarkdown": {
26745
+ "IntegrationSiteInstallation": {
26746
+ "allOf": [
26747
+ {
26748
+ "$ref": "#/components/schemas/IntegrationContentInstallationBase"
26749
+ },
26750
+ {
26751
+ "type": "object",
26752
+ "properties": {
26753
+ "site": {
26754
+ "description": "The site the integration is installed on. Using the string value is deprecated in favor of site.id",
26755
+ "oneOf": [
26756
+ {
26757
+ "type": "string"
26758
+ },
26759
+ {
26760
+ "$ref": "#/components/schemas/Site"
26761
+ }
26762
+ ]
26763
+ }
26764
+ },
26765
+ "required": [
26766
+ "site"
26767
+ ]
26768
+ }
26769
+ ]
26770
+ },
26771
+ "ContentKitIcon": {
26772
+ "type": "string",
26773
+ "enum": [
26774
+ "close",
26775
+ "edit",
26776
+ "github",
26777
+ "gitlab",
26778
+ "maximize",
26779
+ "email",
26780
+ "settings",
26781
+ "search",
26782
+ "delete",
26783
+ "star",
26784
+ "warning",
26785
+ "link",
26786
+ "link-external",
26787
+ "eye",
26788
+ "lock",
26789
+ "check",
26790
+ "check-circle"
26791
+ ]
26792
+ },
26793
+ "ContentKitConfirm": {
26689
26794
  "type": "object",
26690
- "description": "Block with rich text formatting of a markdown content.",
26795
+ "description": "A confirm object that defines an optional confirmation dialog after the input is clicked.",
26691
26796
  "properties": {
26692
- "type": {
26797
+ "title": {
26693
26798
  "type": "string",
26694
- "enum": [
26695
- "markdown"
26696
- ]
26799
+ "description": "A text value that defines the dialog's title.",
26800
+ "maxLength": 100
26697
26801
  },
26698
- "content": {
26699
- "oneOf": [
26700
- {
26701
- "$ref": "#/components/schemas/ContentKitDynamicBinding"
26702
- },
26703
- {
26704
- "type": "string",
26705
- "description": "Markdown content to display"
26706
- }
26802
+ "text": {
26803
+ "type": "string",
26804
+ "description": "A text value that defines the explanatory text that appears in the confirm dialog.",
26805
+ "maxLength": 300
26806
+ },
26807
+ "confirm": {
26808
+ "type": "string",
26809
+ "description": "A text value to define the text of the button that confirms the action.",
26810
+ "maxLength": 30
26811
+ },
26812
+ "style": {
26813
+ "type": "string",
26814
+ "enum": [
26815
+ "primary",
26816
+ "danger"
26707
26817
  ]
26708
26818
  }
26709
26819
  },
26710
26820
  "required": [
26711
- "type",
26712
- "content"
26821
+ "title",
26822
+ "text",
26823
+ "confirm"
26713
26824
  ]
26714
26825
  },
26715
- "ContentKitText": {
26826
+ "ContentKitButton": {
26716
26827
  "type": "object",
26717
- "description": "Low level text element.",
26828
+ "description": "Pressable button triggering an action.",
26718
26829
  "properties": {
26719
26830
  "type": {
26720
26831
  "type": "string",
26721
26832
  "enum": [
26722
- "text"
26833
+ "button"
26723
26834
  ]
26724
26835
  },
26725
26836
  "style": {
26726
26837
  "type": "string",
26727
26838
  "enum": [
26728
- "bold",
26729
- "italic",
26730
- "code",
26731
- "strikethrough"
26839
+ "primary",
26840
+ "secondary",
26841
+ "danger"
26732
26842
  ]
26733
26843
  },
26734
- "children": {
26735
- "oneOf": [
26736
- {
26737
- "type": "string"
26738
- },
26739
- {
26740
- "type": "array",
26741
- "items": {
26742
- "oneOf": [
26743
- {
26744
- "type": "string"
26745
- },
26746
- {
26747
- "$ref": "#/components/schemas/ContentKitText"
26748
- },
26749
- {
26750
- "$ref": "#/components/schemas/ContentKitLink"
26751
- }
26752
- ]
26753
- }
26754
- }
26755
- ]
26844
+ "onPress": {
26845
+ "$ref": "#/components/schemas/ContentKitAction"
26846
+ },
26847
+ "icon": {
26848
+ "$ref": "#/components/schemas/ContentKitIcon"
26849
+ },
26850
+ "trailingIcon": {
26851
+ "$ref": "#/components/schemas/ContentKitIcon"
26852
+ },
26853
+ "label": {
26854
+ "type": "string"
26855
+ },
26856
+ "tooltip": {
26857
+ "type": "string"
26858
+ },
26859
+ "confirm": {
26860
+ "$ref": "#/components/schemas/ContentKitConfirm"
26861
+ },
26862
+ "disabled": {
26863
+ "type": "boolean"
26756
26864
  }
26757
26865
  },
26758
26866
  "required": [
26759
26867
  "type",
26760
- "children"
26868
+ "onPress"
26761
26869
  ]
26762
26870
  },
26763
- "ContentKitURL": {
26871
+ "ContentKitTextInput": {
26764
26872
  "type": "object",
26765
- "description": "Specification for an URL in ContentKit.",
26873
+ "description": "Text input to prompt the user.",
26766
26874
  "properties": {
26767
- "host": {
26875
+ "type": {
26768
26876
  "type": "string",
26769
- "description": "Hostname of the URL along with the port number if required.",
26770
- "example": "api.example.com"
26877
+ "enum": [
26878
+ "textinput"
26879
+ ]
26771
26880
  },
26772
- "pathname": {
26773
- "type": "string",
26774
- "description": "Path of the URL prefixed with a `/`.",
26775
- "example": "/v1/options"
26881
+ "disabled": {
26882
+ "type": "boolean"
26776
26883
  },
26777
- "query": {
26778
- "type": "object",
26779
- "additionalProperties": {
26780
- "oneOf": [
26781
- {
26782
- "type": "string"
26783
- },
26784
- {
26785
- "$ref": "#/components/schemas/ContentKitDynamicBinding"
26786
- }
26787
- ]
26788
- }
26884
+ "state": {
26885
+ "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
26886
+ "type": "string"
26887
+ },
26888
+ "initialValue": {
26889
+ "description": "Text value to initialize the input with.",
26890
+ "type": "string"
26891
+ },
26892
+ "placeholder": {
26893
+ "description": "Text that appears in the form control when it has no value set",
26894
+ "type": "string"
26895
+ },
26896
+ "multiline": {
26897
+ "type": "boolean"
26898
+ },
26899
+ "inputType": {
26900
+ "type": "string",
26901
+ "enum": [
26902
+ "text",
26903
+ "password",
26904
+ "email"
26905
+ ],
26906
+ "default": "text"
26789
26907
  }
26790
26908
  },
26791
26909
  "required": [
26792
- "host",
26793
- "pathname"
26910
+ "type",
26911
+ "state"
26794
26912
  ]
26795
26913
  },
26796
- "ContentKitLink": {
26914
+ "ContentKitDescendantElement": {
26915
+ "description": "Any element that can be used as children.",
26916
+ "oneOf": [
26917
+ {
26918
+ "$ref": "#/components/schemas/ContentKitButton"
26919
+ },
26920
+ {
26921
+ "$ref": "#/components/schemas/ContentKitTextInput"
26922
+ },
26923
+ {
26924
+ "$ref": "#/components/schemas/ContentKitHStack"
26925
+ },
26926
+ {
26927
+ "$ref": "#/components/schemas/ContentKitVStack"
26928
+ },
26929
+ {
26930
+ "$ref": "#/components/schemas/ContentKitBox"
26931
+ },
26932
+ {
26933
+ "$ref": "#/components/schemas/ContentKitDivider"
26934
+ },
26935
+ {
26936
+ "$ref": "#/components/schemas/ContentKitWebFrame"
26937
+ },
26938
+ {
26939
+ "$ref": "#/components/schemas/ContentKitCodeBlock"
26940
+ },
26941
+ {
26942
+ "$ref": "#/components/schemas/ContentKitMarkdown"
26943
+ },
26944
+ {
26945
+ "$ref": "#/components/schemas/ContentKitCard"
26946
+ },
26947
+ {
26948
+ "$ref": "#/components/schemas/ContentKitImage"
26949
+ },
26950
+ {
26951
+ "$ref": "#/components/schemas/ContentKitInput"
26952
+ },
26953
+ {
26954
+ "$ref": "#/components/schemas/ContentKitSelect"
26955
+ },
26956
+ {
26957
+ "$ref": "#/components/schemas/ContentKitSwitch"
26958
+ },
26959
+ {
26960
+ "$ref": "#/components/schemas/ContentKitCheckbox"
26961
+ },
26962
+ {
26963
+ "$ref": "#/components/schemas/ContentKitRadio"
26964
+ },
26965
+ {
26966
+ "$ref": "#/components/schemas/ContentKitText"
26967
+ },
26968
+ {
26969
+ "$ref": "#/components/schemas/ContentKitHint"
26970
+ },
26971
+ {
26972
+ "$ref": "#/components/schemas/ContentKitLink"
26973
+ },
26974
+ {
26975
+ "$ref": "#/components/schemas/ContentKitStepperStep"
26976
+ }
26977
+ ],
26978
+ "discriminator": {
26979
+ "propertyName": "type"
26980
+ }
26981
+ },
26982
+ "ContentKitHStack": {
26797
26983
  "type": "object",
26984
+ "description": "Horizontal stack of boxes.",
26798
26985
  "properties": {
26799
26986
  "type": {
26800
26987
  "type": "string",
26801
26988
  "enum": [
26802
- "link"
26989
+ "hstack"
26803
26990
  ]
26804
26991
  },
26805
- "target": {
26806
- "type": "object",
26807
- "properties": {
26808
- "url": {
26809
- "oneOf": [
26810
- {
26811
- "type": "string"
26812
- },
26813
- {
26814
- "$ref": "#/components/schemas/ContentKitURL"
26815
- }
26816
- ]
26817
- }
26818
- },
26819
- "required": [
26820
- "url"
26992
+ "align": {
26993
+ "type": "string",
26994
+ "default": "start",
26995
+ "enum": [
26996
+ "start",
26997
+ "center",
26998
+ "end"
26821
26999
  ]
26822
27000
  },
26823
27001
  "children": {
26824
- "oneOf": [
26825
- {
26826
- "type": "string"
26827
- },
26828
- {
26829
- "type": "array",
26830
- "items": {
26831
- "type": "string"
26832
- }
26833
- }
26834
- ]
27002
+ "type": "array",
27003
+ "items": {
27004
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27005
+ }
26835
27006
  }
26836
27007
  },
26837
27008
  "required": [
26838
27009
  "type",
26839
- "target",
26840
27010
  "children"
26841
27011
  ]
26842
27012
  },
26843
- "ContentKitImage": {
27013
+ "ContentKitVStack": {
26844
27014
  "type": "object",
27015
+ "description": "Vertical stack of boxes.",
26845
27016
  "properties": {
26846
27017
  "type": {
26847
27018
  "type": "string",
26848
27019
  "enum": [
26849
- "image"
27020
+ "vstack"
26850
27021
  ]
26851
27022
  },
26852
- "source": {
26853
- "type": "object",
26854
- "properties": {
26855
- "url": {
26856
- "type": "string",
26857
- "format": "uri"
26858
- }
26859
- },
26860
- "required": [
26861
- "url"
27023
+ "align": {
27024
+ "type": "string",
27025
+ "default": "start",
27026
+ "enum": [
27027
+ "start",
27028
+ "center",
27029
+ "end"
26862
27030
  ]
26863
27031
  },
26864
- "aspectRatio": {
26865
- "type": "number"
27032
+ "children": {
27033
+ "type": "array",
27034
+ "items": {
27035
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27036
+ }
26866
27037
  }
26867
27038
  },
26868
27039
  "required": [
26869
27040
  "type",
26870
- "source",
26871
- "aspectRatio"
27041
+ "children"
26872
27042
  ]
26873
27043
  },
26874
- "ContentKitInlineElement": {
26875
- "description": "Any element that is inline.",
26876
- "oneOf": [
26877
- {
26878
- "$ref": "#/components/schemas/ContentKitText"
26879
- },
26880
- {
26881
- "$ref": "#/components/schemas/ContentKitImage"
26882
- },
26883
- {
26884
- "$ref": "#/components/schemas/ContentKitLink"
26885
- }
26886
- ],
26887
- "discriminator": {
26888
- "propertyName": "type"
26889
- }
26890
- },
26891
- "ContentKitCard": {
27044
+ "ContentKitBox": {
26892
27045
  "type": "object",
26893
27046
  "properties": {
26894
27047
  "type": {
26895
27048
  "type": "string",
26896
27049
  "enum": [
26897
- "card"
26898
- ]
26899
- },
26900
- "title": {
26901
- "type": "string"
26902
- },
26903
- "hint": {
26904
- "oneOf": [
26905
- {
26906
- "type": "string"
26907
- },
26908
- {
26909
- "type": "array",
26910
- "items": {
26911
- "$ref": "#/components/schemas/ContentKitInlineElement"
26912
- }
26913
- }
26914
- ]
26915
- },
26916
- "icon": {
26917
- "oneOf": [
26918
- {
26919
- "$ref": "#/components/schemas/ContentKitIcon"
26920
- },
26921
- {
26922
- "$ref": "#/components/schemas/ContentKitImage"
26923
- }
27050
+ "box"
26924
27051
  ]
26925
27052
  },
26926
- "onPress": {
26927
- "$ref": "#/components/schemas/ContentKitAction"
27053
+ "grow": {
27054
+ "description": "specifies how much of the remaining space in the container should be assigned to the element",
27055
+ "type": "number"
26928
27056
  },
26929
27057
  "children": {
26930
27058
  "type": "array",
26931
27059
  "items": {
26932
27060
  "$ref": "#/components/schemas/ContentKitDescendantElement"
26933
27061
  }
26934
- },
26935
- "buttons": {
26936
- "type": "array",
26937
- "description": "Buttons displayed in the top right corner of the card.",
26938
- "items": {
26939
- "$ref": "#/components/schemas/ContentKitButton"
26940
- }
26941
27062
  }
26942
27063
  },
26943
27064
  "required": [
26944
- "type"
27065
+ "type",
27066
+ "children"
26945
27067
  ]
26946
27068
  },
26947
- "ContentKitBuiltInSource": {
27069
+ "ContentKitDivider": {
26948
27070
  "type": "object",
26949
- "description": "Built-in sources that can be used to provide a ContentKitSelect.",
27071
+ "description": "Divider between 2 boxes in a stack.",
26950
27072
  "properties": {
26951
- "source": {
27073
+ "type": {
26952
27074
  "type": "string",
26953
27075
  "enum": [
26954
- "openapi"
27076
+ "divider"
27077
+ ]
27078
+ },
27079
+ "size": {
27080
+ "type": "string",
27081
+ "enum": [
27082
+ "small",
27083
+ "medium",
27084
+ "large"
26955
27085
  ]
26956
27086
  }
26957
27087
  },
26958
27088
  "required": [
26959
- "source"
27089
+ "type"
26960
27090
  ]
26961
27091
  },
26962
- "ContentKitSelectOption": {
27092
+ "ContentKitDynamicBinding": {
26963
27093
  "type": "object",
26964
- "description": "An individual option in a select element",
27094
+ "description": "Binding between a property and a state value.",
26965
27095
  "properties": {
26966
- "id": {
26967
- "type": "string"
26968
- },
26969
- "label": {
26970
- "type": "string"
26971
- },
26972
- "icon": {
26973
- "oneOf": [
26974
- {
26975
- "$ref": "#/components/schemas/ContentKitIcon"
26976
- },
26977
- {
26978
- "$ref": "#/components/schemas/ContentKitImage"
26979
- }
26980
- ]
27096
+ "$state": {
27097
+ "type": "string",
27098
+ "description": "Key in the state"
26981
27099
  }
26982
27100
  },
26983
27101
  "required": [
26984
- "id",
26985
- "label"
27102
+ "$state"
26986
27103
  ]
26987
27104
  },
26988
- "ContentKitSelect": {
27105
+ "ContentKitWebFrame": {
26989
27106
  "type": "object",
26990
- "description": "Creates a drop down menu with a list of options for a user to choose.",
27107
+ "description": "Frame for a webpage",
26991
27108
  "properties": {
26992
27109
  "type": {
26993
27110
  "type": "string",
26994
27111
  "enum": [
26995
- "select"
27112
+ "webframe"
26996
27113
  ]
26997
27114
  },
26998
- "disabled": {
26999
- "type": "boolean"
27000
- },
27001
- "state": {
27002
- "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27003
- "type": "string"
27115
+ "aspectRatio": {
27116
+ "type": "number",
27117
+ "description": "Ratio between width and height. Used to size the webframe."
27004
27118
  },
27005
- "initialValue": {
27006
- "description": "Value to initialize the select with.",
27007
- "oneOf": [
27008
- {
27119
+ "source": {
27120
+ "type": "object",
27121
+ "description": "Content to load in the frame.",
27122
+ "properties": {
27123
+ "url": {
27009
27124
  "type": "string"
27010
- },
27011
- {
27012
- "type": "array",
27013
- "items": {
27014
- "type": "string"
27015
- }
27016
27125
  }
27126
+ },
27127
+ "required": [
27128
+ "url"
27017
27129
  ]
27018
27130
  },
27019
- "onValueChange": {
27020
- "$ref": "#/components/schemas/ContentKitAction"
27021
- },
27022
- "placeholder": {
27023
- "description": "Text that appears in the form control when it has no value set",
27024
- "type": "string"
27025
- },
27026
- "multiple": {
27027
- "description": "Should the select accept the selection of multiple options. If true, the state will be an array.",
27028
- "type": "boolean"
27029
- },
27030
- "acceptInput": {
27031
- "description": "Should the filter input be allowed to be selected as an option.",
27032
- "type": "boolean"
27131
+ "buttons": {
27132
+ "type": "array",
27133
+ "description": "Controls button shown as an overlay in a corner of the frame.",
27134
+ "items": {
27135
+ "$ref": "#/components/schemas/ContentKitButton"
27136
+ }
27033
27137
  },
27034
- "options": {
27035
- "description": "Options to be displayed in the select.",
27036
- "oneOf": [
27037
- {
27038
- "$ref": "#/components/schemas/ContentKitBuiltInSource"
27039
- },
27040
- {
27041
- "type": "array",
27042
- "description": "Static list of options",
27043
- "items": {
27044
- "$ref": "#/components/schemas/ContentKitSelectOption"
27045
- }
27046
- },
27047
- {
27048
- "type": "object",
27049
- "properties": {
27050
- "url": {
27051
- "oneOf": [
27052
- {
27053
- "type": "string",
27054
- "description": "External source of options. The URL should respond with an array of options."
27055
- },
27056
- {
27057
- "$ref": "#/components/schemas/ContentKitURL"
27058
- }
27059
- ]
27060
- }
27138
+ "data": {
27139
+ "type": "object",
27140
+ "description": "Data to communicated to the webframe's content. Each state update will cause the webframe to receive a message.",
27141
+ "additionalProperties": {
27142
+ "oneOf": [
27143
+ {
27144
+ "type": "string"
27061
27145
  },
27062
- "required": [
27063
- "url"
27064
- ]
27065
- }
27066
- ]
27146
+ {
27147
+ "$ref": "#/components/schemas/ContentKitDynamicBinding"
27148
+ }
27149
+ ]
27150
+ }
27067
27151
  }
27068
27152
  },
27069
27153
  "required": [
27070
27154
  "type",
27071
- "state",
27072
- "options"
27155
+ "source"
27073
27156
  ]
27074
27157
  },
27075
- "ContentKitSwitch": {
27158
+ "ContentKitCodeBlock": {
27076
27159
  "type": "object",
27077
- "description": "Renders a boolean input.",
27160
+ "description": "Code block with syntax highlighting",
27078
27161
  "properties": {
27079
27162
  "type": {
27080
27163
  "type": "string",
27081
27164
  "enum": [
27082
- "switch"
27165
+ "codeblock"
27083
27166
  ]
27084
27167
  },
27085
- "disabled": {
27086
- "type": "boolean"
27168
+ "content": {
27169
+ "oneOf": [
27170
+ {
27171
+ "$ref": "#/components/schemas/ContentKitDynamicBinding"
27172
+ },
27173
+ {
27174
+ "type": "string",
27175
+ "description": "Code content to display"
27176
+ }
27177
+ ]
27087
27178
  },
27088
- "state": {
27089
- "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27179
+ "syntax": {
27180
+ "description": "Syntax to use for highlighting (ex: javascript, python)",
27090
27181
  "type": "string"
27091
27182
  },
27092
- "initialValue": {
27093
- "description": "Value to initialize the switch with.",
27094
- "type": "boolean"
27183
+ "lineNumbers": {
27184
+ "oneOf": [
27185
+ {
27186
+ "type": "boolean"
27187
+ },
27188
+ {
27189
+ "type": "number",
27190
+ "description": "Line number to start at."
27191
+ }
27192
+ ]
27095
27193
  },
27096
- "onValueChange": {
27194
+ "buttons": {
27195
+ "type": "array",
27196
+ "description": "Controls button shown as an overlay in a corner of the code block.",
27197
+ "items": {
27198
+ "$ref": "#/components/schemas/ContentKitButton"
27199
+ }
27200
+ },
27201
+ "state": {
27202
+ "description": "State binding when editable. The value of the input will be stored as a property in the state named after this ID.",
27203
+ "type": "string"
27204
+ },
27205
+ "onContentChange": {
27097
27206
  "$ref": "#/components/schemas/ContentKitAction"
27098
27207
  },
27099
- "confirm": {
27100
- "$ref": "#/components/schemas/ContentKitConfirm"
27208
+ "header": {
27209
+ "type": "array",
27210
+ "description": "Header displayed before the code lines",
27211
+ "items": {
27212
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27213
+ }
27214
+ },
27215
+ "footer": {
27216
+ "type": "array",
27217
+ "description": "Footer displayed after the code lines",
27218
+ "items": {
27219
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27220
+ }
27101
27221
  }
27102
27222
  },
27103
27223
  "required": [
27104
27224
  "type",
27105
- "state"
27225
+ "content"
27106
27226
  ]
27107
27227
  },
27108
- "ContentKitRadio": {
27228
+ "ContentKitMarkdown": {
27109
27229
  "type": "object",
27230
+ "description": "Block with rich text formatting of a markdown content.",
27110
27231
  "properties": {
27111
27232
  "type": {
27112
27233
  "type": "string",
27113
27234
  "enum": [
27114
- "radio"
27235
+ "markdown"
27115
27236
  ]
27116
27237
  },
27117
- "disabled": {
27118
- "type": "boolean"
27119
- },
27120
- "state": {
27121
- "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27122
- "type": "string"
27123
- },
27124
- "value": {
27125
- "description": "Value to store in th state when the checkbox is selected.",
27238
+ "content": {
27126
27239
  "oneOf": [
27127
27240
  {
27128
- "type": "string"
27241
+ "$ref": "#/components/schemas/ContentKitDynamicBinding"
27129
27242
  },
27130
27243
  {
27131
- "type": "number"
27244
+ "type": "string",
27245
+ "description": "Markdown content to display"
27132
27246
  }
27133
27247
  ]
27134
- },
27135
- "confirm": {
27136
- "$ref": "#/components/schemas/ContentKitConfirm"
27137
27248
  }
27138
27249
  },
27139
27250
  "required": [
27140
27251
  "type",
27141
- "state",
27142
- "value"
27252
+ "content"
27143
27253
  ]
27144
27254
  },
27145
- "ContentKitCheckbox": {
27255
+ "ContentKitText": {
27146
27256
  "type": "object",
27257
+ "description": "Low level text element.",
27147
27258
  "properties": {
27148
27259
  "type": {
27149
27260
  "type": "string",
27150
27261
  "enum": [
27151
- "checkbox"
27262
+ "text"
27152
27263
  ]
27153
27264
  },
27154
- "state": {
27155
- "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27156
- "type": "string"
27265
+ "style": {
27266
+ "type": "string",
27267
+ "enum": [
27268
+ "bold",
27269
+ "italic",
27270
+ "code",
27271
+ "strikethrough"
27272
+ ]
27157
27273
  },
27158
- "value": {
27159
- "description": "Value to store in a state array when the checkbox is selected.",
27274
+ "children": {
27160
27275
  "oneOf": [
27161
27276
  {
27162
27277
  "type": "string"
27163
27278
  },
27164
27279
  {
27165
- "type": "number"
27280
+ "type": "array",
27281
+ "items": {
27282
+ "oneOf": [
27283
+ {
27284
+ "type": "string"
27285
+ },
27286
+ {
27287
+ "$ref": "#/components/schemas/ContentKitText"
27288
+ },
27289
+ {
27290
+ "$ref": "#/components/schemas/ContentKitLink"
27291
+ }
27292
+ ]
27293
+ }
27166
27294
  }
27167
27295
  ]
27168
- },
27169
- "confirm": {
27170
- "$ref": "#/components/schemas/ContentKitConfirm"
27171
27296
  }
27172
27297
  },
27173
27298
  "required": [
27174
27299
  "type",
27175
- "state",
27176
- "value"
27300
+ "children"
27177
27301
  ]
27178
27302
  },
27179
- "ContentKitInput": {
27303
+ "ContentKitURL": {
27304
+ "type": "object",
27305
+ "description": "Specification for an URL in ContentKit.",
27306
+ "properties": {
27307
+ "host": {
27308
+ "type": "string",
27309
+ "description": "Hostname of the URL along with the port number if required.",
27310
+ "example": "api.example.com"
27311
+ },
27312
+ "pathname": {
27313
+ "type": "string",
27314
+ "description": "Path of the URL prefixed with a `/`.",
27315
+ "example": "/v1/options"
27316
+ },
27317
+ "query": {
27318
+ "type": "object",
27319
+ "additionalProperties": {
27320
+ "oneOf": [
27321
+ {
27322
+ "type": "string"
27323
+ },
27324
+ {
27325
+ "$ref": "#/components/schemas/ContentKitDynamicBinding"
27326
+ }
27327
+ ]
27328
+ }
27329
+ }
27330
+ },
27331
+ "required": [
27332
+ "host",
27333
+ "pathname"
27334
+ ]
27335
+ },
27336
+ "ContentKitLink": {
27180
27337
  "type": "object",
27181
- "description": "Field for an input.",
27182
27338
  "properties": {
27183
27339
  "type": {
27184
27340
  "type": "string",
27185
27341
  "enum": [
27186
- "input"
27342
+ "link"
27187
27343
  ]
27188
27344
  },
27189
- "label": {
27190
- "type": "string",
27191
- "description": "Text label displayed next to the input."
27192
- },
27193
- "hint": {
27194
- "oneOf": [
27195
- {
27196
- "type": "string"
27197
- },
27198
- {
27199
- "$ref": "#/components/schemas/ContentKitInlineElement"
27345
+ "target": {
27346
+ "type": "object",
27347
+ "properties": {
27348
+ "url": {
27349
+ "oneOf": [
27350
+ {
27351
+ "type": "string"
27352
+ },
27353
+ {
27354
+ "$ref": "#/components/schemas/ContentKitURL"
27355
+ }
27356
+ ]
27200
27357
  }
27358
+ },
27359
+ "required": [
27360
+ "url"
27201
27361
  ]
27202
27362
  },
27203
- "element": {
27363
+ "children": {
27204
27364
  "oneOf": [
27205
27365
  {
27206
- "$ref": "#/components/schemas/ContentKitTextInput"
27207
- },
27208
- {
27209
- "$ref": "#/components/schemas/ContentKitSelect"
27210
- },
27211
- {
27212
- "$ref": "#/components/schemas/ContentKitSwitch"
27213
- },
27214
- {
27215
- "$ref": "#/components/schemas/ContentKitRadio"
27216
- },
27217
- {
27218
- "$ref": "#/components/schemas/ContentKitCheckbox"
27219
- },
27220
- {
27221
- "$ref": "#/components/schemas/ContentKitButton"
27366
+ "type": "string"
27222
27367
  },
27223
27368
  {
27224
- "$ref": "#/components/schemas/ContentKitCodeBlock"
27369
+ "type": "array",
27370
+ "items": {
27371
+ "type": "string"
27372
+ }
27225
27373
  }
27226
27374
  ]
27227
27375
  }
27228
27376
  },
27229
27377
  "required": [
27230
27378
  "type",
27231
- "label",
27232
- "element"
27379
+ "target",
27380
+ "children"
27233
27381
  ]
27234
27382
  },
27235
- "ContentKitHint": {
27383
+ "ContentKitImage": {
27236
27384
  "type": "object",
27237
- "description": "Element used to contextualize other elements or info.",
27238
27385
  "properties": {
27239
27386
  "type": {
27240
27387
  "type": "string",
27241
27388
  "enum": [
27242
- "hint"
27389
+ "image"
27243
27390
  ]
27244
27391
  },
27245
- "children": {
27246
- "type": "array",
27247
- "items": {
27248
- "$ref": "#/components/schemas/ContentKitInlineElement"
27249
- }
27392
+ "source": {
27393
+ "type": "object",
27394
+ "properties": {
27395
+ "url": {
27396
+ "type": "string",
27397
+ "format": "uri"
27398
+ }
27399
+ },
27400
+ "required": [
27401
+ "url"
27402
+ ]
27403
+ },
27404
+ "aspectRatio": {
27405
+ "type": "number"
27250
27406
  }
27251
27407
  },
27252
27408
  "required": [
27253
27409
  "type",
27254
- "children"
27410
+ "source",
27411
+ "aspectRatio"
27255
27412
  ]
27256
27413
  },
27257
- "ContentKitStepperStep": {
27414
+ "ContentKitInlineElement": {
27415
+ "description": "Any element that is inline.",
27416
+ "oneOf": [
27417
+ {
27418
+ "$ref": "#/components/schemas/ContentKitText"
27419
+ },
27420
+ {
27421
+ "$ref": "#/components/schemas/ContentKitImage"
27422
+ },
27423
+ {
27424
+ "$ref": "#/components/schemas/ContentKitLink"
27425
+ }
27426
+ ],
27427
+ "discriminator": {
27428
+ "propertyName": "type"
27429
+ }
27430
+ },
27431
+ "ContentKitCard": {
27258
27432
  "type": "object",
27259
27433
  "properties": {
27260
27434
  "type": {
27261
27435
  "type": "string",
27262
27436
  "enum": [
27263
- "step"
27437
+ "card"
27264
27438
  ]
27265
27439
  },
27266
- "id": {
27267
- "description": "unique identifier for the step",
27440
+ "title": {
27268
27441
  "type": "string"
27269
27442
  },
27270
- "title": {
27271
- "description": "title of the step",
27272
- "type": "string",
27273
- "maxLength": 50
27443
+ "hint": {
27444
+ "oneOf": [
27445
+ {
27446
+ "type": "string"
27447
+ },
27448
+ {
27449
+ "type": "array",
27450
+ "items": {
27451
+ "$ref": "#/components/schemas/ContentKitInlineElement"
27452
+ }
27453
+ }
27454
+ ]
27274
27455
  },
27275
- "next": {
27276
- "description": "indicates if the user can progress to the next step based on some internal validation or condition",
27277
- "type": "boolean",
27278
- "default": false
27456
+ "icon": {
27457
+ "oneOf": [
27458
+ {
27459
+ "$ref": "#/components/schemas/ContentKitIcon"
27460
+ },
27461
+ {
27462
+ "$ref": "#/components/schemas/ContentKitImage"
27463
+ }
27464
+ ]
27465
+ },
27466
+ "onPress": {
27467
+ "$ref": "#/components/schemas/ContentKitAction"
27279
27468
  },
27280
27469
  "children": {
27281
27470
  "type": "array",
27282
27471
  "items": {
27283
27472
  "$ref": "#/components/schemas/ContentKitDescendantElement"
27284
- },
27285
- "minItems": 1
27473
+ }
27474
+ },
27475
+ "buttons": {
27476
+ "type": "array",
27477
+ "description": "Buttons displayed in the top right corner of the card.",
27478
+ "items": {
27479
+ "$ref": "#/components/schemas/ContentKitButton"
27480
+ }
27286
27481
  }
27287
27482
  },
27288
27483
  "required": [
27289
- "type",
27290
- "id",
27291
- "children"
27484
+ "type"
27292
27485
  ]
27293
27486
  },
27294
- "ContentKitBlockControl": {
27487
+ "ContentKitBuiltInSource": {
27295
27488
  "type": "object",
27296
- "description": "Control menu item displayed for the block.",
27489
+ "description": "Built-in sources that can be used to provide a ContentKitSelect.",
27297
27490
  "properties": {
27298
- "icon": {
27299
- "$ref": "#/components/schemas/ContentKitIcon"
27491
+ "source": {
27492
+ "type": "string",
27493
+ "enum": [
27494
+ "openapi"
27495
+ ]
27496
+ }
27497
+ },
27498
+ "required": [
27499
+ "source"
27500
+ ]
27501
+ },
27502
+ "ContentKitSelectOption": {
27503
+ "type": "object",
27504
+ "description": "An individual option in a select element",
27505
+ "properties": {
27506
+ "id": {
27507
+ "type": "string"
27300
27508
  },
27301
27509
  "label": {
27302
27510
  "type": "string"
27303
27511
  },
27304
- "onPress": {
27305
- "$ref": "#/components/schemas/ContentKitAction"
27306
- },
27307
- "confirm": {
27308
- "$ref": "#/components/schemas/ContentKitConfirm"
27512
+ "icon": {
27513
+ "oneOf": [
27514
+ {
27515
+ "$ref": "#/components/schemas/ContentKitIcon"
27516
+ },
27517
+ {
27518
+ "$ref": "#/components/schemas/ContentKitImage"
27519
+ }
27520
+ ]
27309
27521
  }
27310
27522
  },
27311
27523
  "required": [
27312
- "label",
27313
- "onPress"
27524
+ "id",
27525
+ "label"
27314
27526
  ]
27315
27527
  },
27316
- "ContentKitBlock": {
27528
+ "ContentKitSelect": {
27317
27529
  "type": "object",
27318
- "description": "Higher level element to represent a custom block.",
27530
+ "description": "Creates a drop down menu with a list of options for a user to choose.",
27319
27531
  "properties": {
27320
27532
  "type": {
27321
27533
  "type": "string",
27322
27534
  "enum": [
27323
- "block"
27535
+ "select"
27324
27536
  ]
27325
27537
  },
27326
- "children": {
27327
- "type": "array",
27328
- "items": {
27329
- "$ref": "#/components/schemas/ContentKitDescendantElement"
27330
- }
27538
+ "disabled": {
27539
+ "type": "boolean"
27331
27540
  },
27332
- "controls": {
27333
- "type": "array",
27334
- "items": {
27335
- "oneOf": [
27336
- {
27337
- "$ref": "#/components/schemas/ContentKitBlockControl"
27338
- },
27339
- {
27340
- "type": "array",
27341
- "items": {
27342
- "$ref": "#/components/schemas/ContentKitBlockControl"
27343
- }
27541
+ "state": {
27542
+ "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27543
+ "type": "string"
27544
+ },
27545
+ "initialValue": {
27546
+ "description": "Value to initialize the select with.",
27547
+ "oneOf": [
27548
+ {
27549
+ "type": "string"
27550
+ },
27551
+ {
27552
+ "type": "array",
27553
+ "items": {
27554
+ "type": "string"
27344
27555
  }
27345
- ]
27346
- }
27556
+ }
27557
+ ]
27558
+ },
27559
+ "onValueChange": {
27560
+ "$ref": "#/components/schemas/ContentKitAction"
27561
+ },
27562
+ "placeholder": {
27563
+ "description": "Text that appears in the form control when it has no value set",
27564
+ "type": "string"
27565
+ },
27566
+ "multiple": {
27567
+ "description": "Should the select accept the selection of multiple options. If true, the state will be an array.",
27568
+ "type": "boolean"
27569
+ },
27570
+ "acceptInput": {
27571
+ "description": "Should the filter input be allowed to be selected as an option.",
27572
+ "type": "boolean"
27573
+ },
27574
+ "options": {
27575
+ "description": "Options to be displayed in the select.",
27576
+ "oneOf": [
27577
+ {
27578
+ "$ref": "#/components/schemas/ContentKitBuiltInSource"
27579
+ },
27580
+ {
27581
+ "type": "array",
27582
+ "description": "Static list of options",
27583
+ "items": {
27584
+ "$ref": "#/components/schemas/ContentKitSelectOption"
27585
+ }
27586
+ },
27587
+ {
27588
+ "type": "object",
27589
+ "properties": {
27590
+ "url": {
27591
+ "oneOf": [
27592
+ {
27593
+ "type": "string",
27594
+ "description": "External source of options. The URL should respond with an array of options."
27595
+ },
27596
+ {
27597
+ "$ref": "#/components/schemas/ContentKitURL"
27598
+ }
27599
+ ]
27600
+ }
27601
+ },
27602
+ "required": [
27603
+ "url"
27604
+ ]
27605
+ }
27606
+ ]
27347
27607
  }
27348
27608
  },
27349
27609
  "required": [
27350
27610
  "type",
27351
- "children"
27611
+ "state",
27612
+ "options"
27352
27613
  ]
27353
27614
  },
27354
- "ContentKitModal": {
27615
+ "ContentKitSwitch": {
27355
27616
  "type": "object",
27356
- "description": "Overlay modal.",
27617
+ "description": "Renders a boolean input.",
27357
27618
  "properties": {
27358
27619
  "type": {
27359
27620
  "type": "string",
27360
27621
  "enum": [
27361
- "modal"
27622
+ "switch"
27362
27623
  ]
27363
27624
  },
27364
- "title": {
27365
- "type": "string"
27366
- },
27367
- "subtitle": {
27368
- "type": "array",
27369
- "items": {
27370
- "$ref": "#/components/schemas/ContentKitInlineElement"
27371
- }
27625
+ "disabled": {
27626
+ "type": "boolean"
27372
27627
  },
27373
- "size": {
27374
- "type": "string",
27375
- "enum": [
27376
- "medium",
27377
- "xlarge",
27378
- "fullscreen"
27379
- ]
27628
+ "state": {
27629
+ "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27630
+ "type": "string"
27380
27631
  },
27381
- "returnValue": {
27382
- "description": "Data passed back to the parent view when the modal is closed. These data are accessible in the \"@ui.modal.close\"",
27383
- "type": "object"
27632
+ "initialValue": {
27633
+ "description": "Value to initialize the switch with.",
27634
+ "type": "boolean"
27384
27635
  },
27385
- "children": {
27386
- "type": "array",
27387
- "items": {
27388
- "$ref": "#/components/schemas/ContentKitDescendantElement"
27389
- }
27636
+ "onValueChange": {
27637
+ "$ref": "#/components/schemas/ContentKitAction"
27390
27638
  },
27391
- "submit": {
27392
- "$ref": "#/components/schemas/ContentKitButton"
27639
+ "confirm": {
27640
+ "$ref": "#/components/schemas/ContentKitConfirm"
27393
27641
  }
27394
27642
  },
27395
27643
  "required": [
27396
27644
  "type",
27397
- "children"
27645
+ "state"
27398
27646
  ]
27399
27647
  },
27400
- "ContentKitStepper": {
27648
+ "ContentKitRadio": {
27401
27649
  "type": "object",
27402
27650
  "properties": {
27403
27651
  "type": {
27404
27652
  "type": "string",
27405
27653
  "enum": [
27406
- "stepper"
27654
+ "radio"
27407
27655
  ]
27408
27656
  },
27409
- "activeStep": {
27410
- "type": "string",
27411
- "description": "id of the currently active step"
27657
+ "disabled": {
27658
+ "type": "boolean"
27412
27659
  },
27413
- "onStepChange": {
27414
- "$ref": "#/components/schemas/ContentKitAction"
27660
+ "state": {
27661
+ "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27662
+ "type": "string"
27415
27663
  },
27416
- "onComplete": {
27417
- "$ref": "#/components/schemas/ContentKitAction"
27664
+ "value": {
27665
+ "description": "Value to store in th state when the checkbox is selected.",
27666
+ "oneOf": [
27667
+ {
27668
+ "type": "string"
27669
+ },
27670
+ {
27671
+ "type": "number"
27672
+ }
27673
+ ]
27418
27674
  },
27419
- "children": {
27420
- "type": "array",
27421
- "items": {
27422
- "$ref": "#/components/schemas/ContentKitStepperStep"
27423
- },
27424
- "minItems": 1
27675
+ "confirm": {
27676
+ "$ref": "#/components/schemas/ContentKitConfirm"
27425
27677
  }
27426
27678
  },
27427
27679
  "required": [
27428
27680
  "type",
27429
- "activeStep",
27430
- "onStepChange",
27431
- "onComplete",
27432
- "children"
27681
+ "state",
27682
+ "value"
27433
27683
  ]
27434
27684
  },
27435
- "ContentKitConfiguration": {
27685
+ "ContentKitCheckbox": {
27436
27686
  "type": "object",
27437
- "description": "Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration component.",
27438
27687
  "properties": {
27439
27688
  "type": {
27440
27689
  "type": "string",
27441
27690
  "enum": [
27442
- "configuration"
27691
+ "checkbox"
27443
27692
  ]
27444
27693
  },
27445
- "children": {
27694
+ "state": {
27695
+ "description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
27696
+ "type": "string"
27697
+ },
27698
+ "value": {
27699
+ "description": "Value to store in a state array when the checkbox is selected.",
27446
27700
  "oneOf": [
27447
- {
27448
- "type": "array",
27449
- "items": {
27450
- "$ref": "#/components/schemas/ContentKitStepper"
27451
- },
27452
- "minItems": 1,
27453
- "maxItems": 1
27701
+ {
27702
+ "type": "string"
27454
27703
  },
27455
27704
  {
27456
- "type": "array",
27457
- "items": {
27458
- "$ref": "#/components/schemas/ContentKitDescendantElement"
27459
- },
27460
- "minItems": 1
27705
+ "type": "number"
27461
27706
  }
27462
27707
  ]
27708
+ },
27709
+ "confirm": {
27710
+ "$ref": "#/components/schemas/ContentKitConfirm"
27463
27711
  }
27464
27712
  },
27465
27713
  "required": [
27466
27714
  "type",
27467
- "children"
27715
+ "state",
27716
+ "value"
27468
27717
  ]
27469
27718
  },
27470
- "ContentKitRootElement": {
27471
- "description": "Element used as root",
27472
- "oneOf": [
27473
- {
27474
- "$ref": "#/components/schemas/ContentKitBlock"
27475
- },
27476
- {
27477
- "$ref": "#/components/schemas/ContentKitModal"
27478
- },
27479
- {
27480
- "$ref": "#/components/schemas/ContentKitConfiguration"
27481
- }
27482
- ],
27483
- "discriminator": {
27484
- "propertyName": "type"
27485
- }
27486
- },
27487
- "ContentKitRenderOutputElement": {
27719
+ "ContentKitInput": {
27488
27720
  "type": "object",
27489
- "description": "Output of type element in the lifecycle of the component.",
27721
+ "description": "Field for an input.",
27490
27722
  "properties": {
27491
27723
  "type": {
27492
27724
  "type": "string",
27493
27725
  "enum": [
27494
- "element"
27726
+ "input"
27495
27727
  ]
27496
27728
  },
27497
- "element": {
27498
- "$ref": "#/components/schemas/ContentKitRootElement"
27729
+ "label": {
27730
+ "type": "string",
27731
+ "description": "Text label displayed next to the input."
27499
27732
  },
27500
- "state": {
27501
- "type": "object"
27733
+ "hint": {
27734
+ "oneOf": [
27735
+ {
27736
+ "type": "string"
27737
+ },
27738
+ {
27739
+ "$ref": "#/components/schemas/ContentKitInlineElement"
27740
+ }
27741
+ ]
27502
27742
  },
27503
- "props": {
27504
- "$ref": "#/components/schemas/PlainObject"
27743
+ "element": {
27744
+ "oneOf": [
27745
+ {
27746
+ "$ref": "#/components/schemas/ContentKitTextInput"
27747
+ },
27748
+ {
27749
+ "$ref": "#/components/schemas/ContentKitSelect"
27750
+ },
27751
+ {
27752
+ "$ref": "#/components/schemas/ContentKitSwitch"
27753
+ },
27754
+ {
27755
+ "$ref": "#/components/schemas/ContentKitRadio"
27756
+ },
27757
+ {
27758
+ "$ref": "#/components/schemas/ContentKitCheckbox"
27759
+ },
27760
+ {
27761
+ "$ref": "#/components/schemas/ContentKitButton"
27762
+ },
27763
+ {
27764
+ "$ref": "#/components/schemas/ContentKitCodeBlock"
27765
+ }
27766
+ ]
27505
27767
  }
27506
27768
  },
27507
27769
  "required": [
27508
- "element",
27509
- "state",
27510
- "props"
27770
+ "type",
27771
+ "label",
27772
+ "element"
27511
27773
  ]
27512
27774
  },
27513
- "ContentKitRenderOutputComplete": {
27775
+ "ContentKitHint": {
27514
27776
  "type": "object",
27515
- "description": "Output of completed lifecycle of the component.",
27777
+ "description": "Element used to contextualize other elements or info.",
27516
27778
  "properties": {
27517
27779
  "type": {
27518
27780
  "type": "string",
27519
27781
  "enum": [
27520
- "complete"
27782
+ "hint"
27521
27783
  ]
27522
27784
  },
27523
- "returnValue": {
27524
- "type": "object"
27785
+ "children": {
27786
+ "type": "array",
27787
+ "items": {
27788
+ "$ref": "#/components/schemas/ContentKitInlineElement"
27789
+ }
27525
27790
  }
27526
27791
  },
27527
27792
  "required": [
27528
- "type"
27529
- ]
27530
- },
27531
- "ContentKitRenderOutput": {
27532
- "type": "object",
27533
- "description": "Output of the integration when rendering a UI.",
27534
- "oneOf": [
27535
- {
27536
- "$ref": "#/components/schemas/ContentKitRenderOutputElement"
27537
- },
27538
- {
27539
- "$ref": "#/components/schemas/ContentKitRenderOutputComplete"
27540
- }
27793
+ "type",
27794
+ "children"
27541
27795
  ]
27542
27796
  },
27543
- "RenderIntegrationUI": {
27797
+ "ContentKitStepperStep": {
27544
27798
  "type": "object",
27545
27799
  "properties": {
27546
- "componentId": {
27800
+ "type": {
27547
27801
  "type": "string",
27548
- "description": "ID of the component to render in the integration."
27802
+ "enum": [
27803
+ "step"
27804
+ ]
27549
27805
  },
27550
- "props": {
27551
- "description": "Current properties of the UI.",
27552
- "$ref": "#/components/schemas/PlainObject"
27806
+ "id": {
27807
+ "description": "unique identifier for the step",
27808
+ "type": "string"
27553
27809
  },
27554
- "state": {
27555
- "type": "object",
27556
- "description": "Current local state of the UI."
27810
+ "title": {
27811
+ "description": "title of the step",
27812
+ "type": "string",
27813
+ "maxLength": 50
27557
27814
  },
27558
- "context": {
27559
- "$ref": "#/components/schemas/ContentKitContext"
27815
+ "next": {
27816
+ "description": "indicates if the user can progress to the next step based on some internal validation or condition",
27817
+ "type": "boolean",
27818
+ "default": false
27560
27819
  },
27561
- "action": {
27562
- "$ref": "#/components/schemas/ContentKitAction"
27820
+ "children": {
27821
+ "type": "array",
27822
+ "items": {
27823
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27824
+ },
27825
+ "minItems": 1
27563
27826
  }
27564
27827
  },
27565
27828
  "required": [
27566
- "componentId",
27567
- "props",
27568
- "context"
27829
+ "type",
27830
+ "id",
27831
+ "children"
27569
27832
  ]
27570
27833
  },
27571
- "UpdateIntegrationInstallation": {
27834
+ "ContentKitBlockControl": {
27572
27835
  "type": "object",
27836
+ "description": "Control menu item displayed for the block.",
27573
27837
  "properties": {
27574
- "externalIds": {
27575
- "$ref": "#/components/schemas/IntegrationInstallationExternalIds"
27576
- },
27577
- "configuration": {
27578
- "$ref": "#/components/schemas/IntegrationInstallationConfiguration"
27579
- },
27580
- "space_selection": {
27581
- "$ref": "#/components/schemas/IntegrationInstallationSpaceSelection"
27838
+ "icon": {
27839
+ "$ref": "#/components/schemas/ContentKitIcon"
27582
27840
  },
27583
- "site_selection": {
27584
- "$ref": "#/components/schemas/IntegrationInstallationSiteSelection"
27585
- }
27586
- }
27587
- },
27588
- "APITemporaryToken": {
27589
- "type": "object",
27590
- "properties": {
27591
- "token": {
27592
- "type": "string",
27593
- "description": "Temporary access token to authenticate with the API"
27594
- }
27595
- },
27596
- "required": [
27597
- "token"
27598
- ]
27599
- },
27600
- "UpdateIntegrationSpaceInstallation": {
27601
- "type": "object",
27602
- "properties": {
27603
- "externalIds": {
27604
- "$ref": "#/components/schemas/IntegrationInstallationExternalIds"
27841
+ "label": {
27842
+ "type": "string"
27605
27843
  },
27606
- "configuration": {
27607
- "$ref": "#/components/schemas/IntegrationInstallationConfiguration"
27608
- }
27609
- }
27610
- },
27611
- "SiteType": {
27612
- "type": "string",
27613
- "description": "The type of the site",
27614
- "enum": [
27615
- "basic",
27616
- "premium",
27617
- "ultimate",
27618
- "sponsored",
27619
- "legacy-basic",
27620
- "legacy-premium"
27621
- ]
27622
- },
27623
- "SiteTitle": {
27624
- "type": "string",
27625
- "description": "Title of the site",
27626
- "minLength": 2,
27627
- "maxLength": 128
27628
- },
27629
- "SiteHostname": {
27630
- "type": "string",
27631
- "description": "Custom hostname for the site, for e.g. docs.mycompany.com",
27632
- "pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$",
27633
- "maxLength": 512
27634
- },
27635
- "SiteBasename": {
27636
- "type": "string",
27637
- "description": "Basename for the site. For e.g. api",
27638
- "minLength": 1,
27639
- "maxLength": 100
27640
- },
27641
- "SiteProxyOrigin": {
27642
- "type": "string",
27643
- "description": "Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.",
27644
- "pattern": "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$",
27645
- "maxLength": 512
27646
- },
27647
- "SiteProxy": {
27648
- "type": "object",
27649
- "properties": {
27650
- "origin": {
27651
- "$ref": "#/components/schemas/SiteProxyOrigin"
27844
+ "onPress": {
27845
+ "$ref": "#/components/schemas/ContentKitAction"
27652
27846
  },
27653
- "target": {
27654
- "type": "string",
27655
- "description": "The target URL to which the requests at the origin URL should be proxied to."
27847
+ "confirm": {
27848
+ "$ref": "#/components/schemas/ContentKitConfirm"
27656
27849
  }
27657
27850
  },
27658
27851
  "required": [
27659
- "origin",
27660
- "target"
27661
- ]
27662
- },
27663
- "SiteVisibility": {
27664
- "type": "string",
27665
- "description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
27666
- "enum": [
27667
- "public",
27668
- "unlisted",
27669
- "share-link",
27670
- "visitor-auth"
27852
+ "label",
27853
+ "onPress"
27671
27854
  ]
27672
27855
  },
27673
- "SiteAdaptiveContent": {
27856
+ "ContentKitBlock": {
27674
27857
  "type": "object",
27858
+ "description": "Higher level element to represent a custom block.",
27675
27859
  "properties": {
27676
- "enabled": {
27677
- "type": "boolean",
27678
- "description": "Whether adaptive content should be enabled on the site."
27860
+ "type": {
27861
+ "type": "string",
27862
+ "enum": [
27863
+ "block"
27864
+ ]
27865
+ },
27866
+ "children": {
27867
+ "type": "array",
27868
+ "items": {
27869
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27870
+ }
27871
+ },
27872
+ "controls": {
27873
+ "type": "array",
27874
+ "items": {
27875
+ "oneOf": [
27876
+ {
27877
+ "$ref": "#/components/schemas/ContentKitBlockControl"
27878
+ },
27879
+ {
27880
+ "type": "array",
27881
+ "items": {
27882
+ "$ref": "#/components/schemas/ContentKitBlockControl"
27883
+ }
27884
+ }
27885
+ ]
27886
+ }
27679
27887
  }
27680
27888
  },
27681
27889
  "required": [
27682
- "enabled"
27683
- ]
27684
- },
27685
- "SiteAdsTopic": {
27686
- "type": "string",
27687
- "description": "Topic of the content",
27688
- "enum": [
27689
- "webdev",
27690
- "crypto"
27890
+ "type",
27891
+ "children"
27691
27892
  ]
27692
27893
  },
27693
- "SiteAds": {
27694
- "oneOf": [
27695
- {
27696
- "type": "object",
27697
- "required": [
27698
- "status",
27699
- "submittable"
27700
- ],
27701
- "properties": {
27702
- "status": {
27703
- "type": "string",
27704
- "enum": [
27705
- "pending"
27706
- ]
27707
- },
27708
- "submittable": {
27709
- "type": "boolean",
27710
- "description": "True if the user can submit the site for review."
27711
- }
27712
- }
27894
+ "ContentKitModal": {
27895
+ "type": "object",
27896
+ "description": "Overlay modal.",
27897
+ "properties": {
27898
+ "type": {
27899
+ "type": "string",
27900
+ "enum": [
27901
+ "modal"
27902
+ ]
27713
27903
  },
27714
- {
27715
- "type": "object",
27716
- "required": [
27717
- "status",
27718
- "topic",
27719
- "accountEmail"
27720
- ],
27721
- "properties": {
27722
- "status": {
27723
- "type": "string",
27724
- "enum": [
27725
- "in-review"
27726
- ]
27727
- },
27728
- "topic": {
27729
- "$ref": "#/components/schemas/SiteAdsTopic"
27730
- }
27731
- }
27904
+ "title": {
27905
+ "type": "string"
27732
27906
  },
27733
- {
27734
- "type": "object",
27735
- "required": [
27736
- "status"
27737
- ],
27738
- "properties": {
27739
- "status": {
27740
- "type": "string",
27741
- "enum": [
27742
- "rejected"
27743
- ]
27744
- },
27745
- "reason": {
27746
- "type": "string",
27747
- "description": "Reason for the rejection"
27748
- }
27907
+ "subtitle": {
27908
+ "type": "array",
27909
+ "items": {
27910
+ "$ref": "#/components/schemas/ContentKitInlineElement"
27749
27911
  }
27750
27912
  },
27751
- {
27752
- "type": "object",
27753
- "required": [
27754
- "status",
27755
- "topic",
27756
- "zoneId"
27757
- ],
27758
- "properties": {
27759
- "status": {
27760
- "type": "string",
27761
- "enum": [
27762
- "live",
27763
- "disabled"
27764
- ]
27765
- },
27766
- "topic": {
27767
- "$ref": "#/components/schemas/SiteAdsTopic"
27768
- },
27769
- "zoneId": {
27770
- "type": "string",
27771
- "description": "The ad network zone ID"
27772
- }
27913
+ "size": {
27914
+ "type": "string",
27915
+ "enum": [
27916
+ "medium",
27917
+ "xlarge",
27918
+ "fullscreen"
27919
+ ]
27920
+ },
27921
+ "returnValue": {
27922
+ "description": "Data passed back to the parent view when the modal is closed. These data are accessible in the \"@ui.modal.close\"",
27923
+ "type": "object"
27924
+ },
27925
+ "children": {
27926
+ "type": "array",
27927
+ "items": {
27928
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27773
27929
  }
27930
+ },
27931
+ "submit": {
27932
+ "$ref": "#/components/schemas/ContentKitButton"
27774
27933
  }
27934
+ },
27935
+ "required": [
27936
+ "type",
27937
+ "children"
27775
27938
  ]
27776
27939
  },
27777
- "SiteCustomizationFeature": {
27778
- "type": "string",
27779
- "description": "A list of all premium customizations.",
27780
- "enum": [
27781
- "header-logo",
27782
- "theme-preset",
27783
- "premium-fonts",
27784
- "custom-icons",
27785
- "footer-logo",
27786
- "footer-links",
27787
- "footer-copyright",
27788
- "semantic-colors"
27789
- ]
27790
- },
27791
- "SiteFeature": {
27792
- "oneOf": [
27793
- {
27794
- "type": "object",
27795
- "description": "A site feature and the plan it is available on.",
27796
- "properties": {
27797
- "id": {
27798
- "description": "The feature identifier, matching the feature table keys in the pricing definition",
27799
- "type": "string",
27800
- "enum": [
27801
- "sites-sections",
27802
- "sites-visitor-authentication",
27803
- "sites-adaptive-content",
27804
- "sites-redirects",
27805
- "sites-custom-domain",
27806
- "sites-ai-search",
27807
- "sites-pdf-export",
27808
- "sites-page-feedback",
27809
- "sites-unlisted-visibility",
27810
- "sites-share-links",
27811
- "sites-custom-fonts"
27812
- ]
27813
- },
27814
- "plan": {
27815
- "$ref": "#/components/schemas/SiteType"
27816
- },
27817
- "frozen": {
27818
- "description": "A frozen feature is still enabled but cannot be changed or modified.",
27819
- "type": "boolean"
27820
- }
27821
- },
27822
- "required": [
27823
- "id",
27824
- "plan",
27825
- "frozen"
27940
+ "ContentKitStepper": {
27941
+ "type": "object",
27942
+ "properties": {
27943
+ "type": {
27944
+ "type": "string",
27945
+ "enum": [
27946
+ "stepper"
27826
27947
  ]
27827
27948
  },
27828
- {
27829
- "type": "object",
27830
- "description": "The advanced customizations feature, carrying also which individual customization are used",
27831
- "properties": {
27832
- "id": {
27833
- "description": "The feature identifier, always set to `sites-advanced-customization`",
27834
- "type": "string",
27835
- "enum": [
27836
- "sites-advanced-customization"
27837
- ]
27838
- },
27839
- "plan": {
27840
- "$ref": "#/components/schemas/SiteType"
27841
- },
27842
- "frozen": {
27843
- "description": "A frozen feature is still enabled but cannot be changed or modified.",
27844
- "type": "boolean"
27949
+ "activeStep": {
27950
+ "type": "string",
27951
+ "description": "id of the currently active step"
27952
+ },
27953
+ "onStepChange": {
27954
+ "$ref": "#/components/schemas/ContentKitAction"
27955
+ },
27956
+ "onComplete": {
27957
+ "$ref": "#/components/schemas/ContentKitAction"
27958
+ },
27959
+ "children": {
27960
+ "type": "array",
27961
+ "items": {
27962
+ "$ref": "#/components/schemas/ContentKitStepperStep"
27963
+ },
27964
+ "minItems": 1
27965
+ }
27966
+ },
27967
+ "required": [
27968
+ "type",
27969
+ "activeStep",
27970
+ "onStepChange",
27971
+ "onComplete",
27972
+ "children"
27973
+ ]
27974
+ },
27975
+ "ContentKitConfiguration": {
27976
+ "type": "object",
27977
+ "description": "Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration component.",
27978
+ "properties": {
27979
+ "type": {
27980
+ "type": "string",
27981
+ "enum": [
27982
+ "configuration"
27983
+ ]
27984
+ },
27985
+ "children": {
27986
+ "oneOf": [
27987
+ {
27988
+ "type": "array",
27989
+ "items": {
27990
+ "$ref": "#/components/schemas/ContentKitStepper"
27991
+ },
27992
+ "minItems": 1,
27993
+ "maxItems": 1
27845
27994
  },
27846
- "customizations": {
27847
- "description": "A list of the actual advanced customizations used",
27995
+ {
27848
27996
  "type": "array",
27849
27997
  "items": {
27850
- "$ref": "#/components/schemas/SiteCustomizationFeature"
27851
- }
27998
+ "$ref": "#/components/schemas/ContentKitDescendantElement"
27999
+ },
28000
+ "minItems": 1
27852
28001
  }
27853
- },
27854
- "required": [
27855
- "id",
27856
- "plan",
27857
- "frozen",
27858
- "customizations"
27859
28002
  ]
27860
28003
  }
28004
+ },
28005
+ "required": [
28006
+ "type",
28007
+ "children"
27861
28008
  ]
27862
28009
  },
27863
- "Site": {
28010
+ "ContentKitRootElement": {
28011
+ "description": "Element used as root",
28012
+ "oneOf": [
28013
+ {
28014
+ "$ref": "#/components/schemas/ContentKitBlock"
28015
+ },
28016
+ {
28017
+ "$ref": "#/components/schemas/ContentKitModal"
28018
+ },
28019
+ {
28020
+ "$ref": "#/components/schemas/ContentKitConfiguration"
28021
+ }
28022
+ ],
28023
+ "discriminator": {
28024
+ "propertyName": "type"
28025
+ }
28026
+ },
28027
+ "ContentKitRenderOutputElement": {
27864
28028
  "type": "object",
28029
+ "description": "Output of type element in the lifecycle of the component.",
27865
28030
  "properties": {
27866
- "object": {
28031
+ "type": {
27867
28032
  "type": "string",
27868
28033
  "enum": [
27869
- "site"
28034
+ "element"
27870
28035
  ]
27871
28036
  },
27872
- "id": {
27873
- "type": "string",
27874
- "description": "Unique identifier of the site"
27875
- },
27876
- "type": {
27877
- "$ref": "#/components/schemas/SiteType"
27878
- },
27879
- "title": {
27880
- "$ref": "#/components/schemas/SiteTitle"
28037
+ "element": {
28038
+ "$ref": "#/components/schemas/ContentKitRootElement"
27881
28039
  },
27882
- "hostname": {
27883
- "$ref": "#/components/schemas/SiteHostname"
28040
+ "state": {
28041
+ "type": "object"
27884
28042
  },
27885
- "basename": {
27886
- "$ref": "#/components/schemas/SiteBasename"
28043
+ "props": {
28044
+ "$ref": "#/components/schemas/PlainObject"
28045
+ }
28046
+ },
28047
+ "required": [
28048
+ "element",
28049
+ "state",
28050
+ "props"
28051
+ ]
28052
+ },
28053
+ "ContentKitRenderOutputComplete": {
28054
+ "type": "object",
28055
+ "description": "Output of completed lifecycle of the component.",
28056
+ "properties": {
28057
+ "type": {
28058
+ "type": "string",
28059
+ "enum": [
28060
+ "complete"
28061
+ ]
27887
28062
  },
27888
- "proxy": {
27889
- "$ref": "#/components/schemas/SiteProxy"
28063
+ "returnValue": {
28064
+ "type": "object"
28065
+ }
28066
+ },
28067
+ "required": [
28068
+ "type"
28069
+ ]
28070
+ },
28071
+ "ContentKitRenderOutput": {
28072
+ "type": "object",
28073
+ "description": "Output of the integration when rendering a UI.",
28074
+ "oneOf": [
28075
+ {
28076
+ "$ref": "#/components/schemas/ContentKitRenderOutputElement"
27890
28077
  },
27891
- "visibility": {
27892
- "$ref": "#/components/schemas/SiteVisibility"
28078
+ {
28079
+ "$ref": "#/components/schemas/ContentKitRenderOutputComplete"
28080
+ }
28081
+ ]
28082
+ },
28083
+ "RenderIntegrationUI": {
28084
+ "type": "object",
28085
+ "properties": {
28086
+ "componentId": {
28087
+ "type": "string",
28088
+ "description": "ID of the component to render in the integration."
27893
28089
  },
27894
- "published": {
27895
- "type": "boolean",
27896
- "description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
28090
+ "props": {
28091
+ "description": "Current properties of the UI.",
28092
+ "$ref": "#/components/schemas/PlainObject"
27897
28093
  },
27898
- "siteSpaces": {
27899
- "type": "number"
28094
+ "state": {
28095
+ "type": "object",
28096
+ "description": "Current local state of the UI."
27900
28097
  },
27901
- "createdAt": {
27902
- "type": "string",
27903
- "format": "date-time"
28098
+ "context": {
28099
+ "$ref": "#/components/schemas/ContentKitContext"
27904
28100
  },
27905
- "adaptiveContent": {
27906
- "$ref": "#/components/schemas/SiteAdaptiveContent"
28101
+ "action": {
28102
+ "$ref": "#/components/schemas/ContentKitAction"
28103
+ }
28104
+ },
28105
+ "required": [
28106
+ "componentId",
28107
+ "props",
28108
+ "context"
28109
+ ]
28110
+ },
28111
+ "UpdateIntegrationInstallation": {
28112
+ "type": "object",
28113
+ "properties": {
28114
+ "externalIds": {
28115
+ "$ref": "#/components/schemas/IntegrationInstallationExternalIds"
27907
28116
  },
27908
- "ads": {
27909
- "$ref": "#/components/schemas/SiteAds"
28117
+ "configuration": {
28118
+ "$ref": "#/components/schemas/IntegrationInstallationConfiguration"
27910
28119
  },
27911
- "features": {
27912
- "description": "A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.\n",
27913
- "type": "array",
27914
- "items": {
27915
- "$ref": "#/components/schemas/SiteFeature"
27916
- }
28120
+ "space_selection": {
28121
+ "$ref": "#/components/schemas/IntegrationInstallationSpaceSelection"
27917
28122
  },
27918
- "urls": {
27919
- "type": "object",
27920
- "description": "URLs associated with the object",
27921
- "properties": {
27922
- "location": {
27923
- "type": "string",
27924
- "description": "URL of the site in the API",
27925
- "format": "uri"
27926
- },
27927
- "app": {
27928
- "type": "string",
27929
- "description": "URL of the site in the application",
27930
- "format": "uri"
27931
- },
27932
- "published": {
27933
- "type": "string",
27934
- "description": "URL of the published version of the site. Only defined when site is published.",
27935
- "format": "uri"
27936
- }
27937
- },
27938
- "required": [
27939
- "app",
27940
- "location"
27941
- ]
28123
+ "site_selection": {
28124
+ "$ref": "#/components/schemas/IntegrationInstallationSiteSelection"
28125
+ }
28126
+ }
28127
+ },
28128
+ "APITemporaryToken": {
28129
+ "type": "object",
28130
+ "properties": {
28131
+ "token": {
28132
+ "type": "string",
28133
+ "description": "Temporary access token to authenticate with the API"
27942
28134
  }
27943
28135
  },
27944
28136
  "required": [
27945
- "object",
27946
- "id",
27947
- "type",
27948
- "title",
27949
- "visibility",
27950
- "published",
27951
- "createdAt",
27952
- "siteSpaces",
27953
- "defaultSpace",
27954
- "features",
27955
- "urls"
28137
+ "token"
27956
28138
  ]
27957
28139
  },
27958
- "IntegrationSiteInstallation": {
27959
- "allOf": [
27960
- {
27961
- "$ref": "#/components/schemas/IntegrationContentInstallationBase"
28140
+ "UpdateIntegrationSpaceInstallation": {
28141
+ "type": "object",
28142
+ "properties": {
28143
+ "externalIds": {
28144
+ "$ref": "#/components/schemas/IntegrationInstallationExternalIds"
27962
28145
  },
27963
- {
27964
- "type": "object",
27965
- "properties": {
27966
- "site": {
27967
- "description": "The site the integration is installed on. Using the string value is deprecated in favor of site.id",
27968
- "oneOf": [
27969
- {
27970
- "type": "string"
27971
- },
27972
- {
27973
- "$ref": "#/components/schemas/Site"
27974
- }
27975
- ]
27976
- }
27977
- },
27978
- "required": [
27979
- "site"
27980
- ]
28146
+ "configuration": {
28147
+ "$ref": "#/components/schemas/IntegrationInstallationConfiguration"
27981
28148
  }
27982
- ]
28149
+ }
27983
28150
  },
27984
28151
  "UpdateIntegrationSiteInstallation": {
27985
28152
  "type": "object",
@@ -29673,14 +29840,9 @@
29673
29840
  "location": {
29674
29841
  "description": "URL of the OpenAPI specification version in the API",
29675
29842
  "$ref": "#/components/schemas/URL"
29676
- },
29677
- "app": {
29678
- "description": "URL of the OpenAPI specification version in the application",
29679
- "$ref": "#/components/schemas/URL"
29680
29843
  }
29681
29844
  },
29682
29845
  "required": [
29683
- "app",
29684
29846
  "location"
29685
29847
  ]
29686
29848
  }