@gitbook/api 0.89.0 → 0.90.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
@@ -1343,6 +1343,53 @@
1343
1343
  }
1344
1344
  },
1345
1345
  "/spaces/{spaceId}/permissions/teams/{teamId}": {
1346
+ "patch": {
1347
+ "operationId": "updateTeamPermissionInSpace",
1348
+ "summary": "Update a team's permission in a space",
1349
+ "tags": [
1350
+ "spaces"
1351
+ ],
1352
+ "security": [
1353
+ {
1354
+ "user": []
1355
+ }
1356
+ ],
1357
+ "parameters": [
1358
+ {
1359
+ "$ref": "#/components/parameters/spaceId"
1360
+ },
1361
+ {
1362
+ "$ref": "#/components/parameters/teamId"
1363
+ }
1364
+ ],
1365
+ "requestBody": {
1366
+ "required": true,
1367
+ "content": {
1368
+ "application/json": {
1369
+ "schema": {
1370
+ "type": "object",
1371
+ "properties": {
1372
+ "role": {
1373
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
1374
+ }
1375
+ }
1376
+ }
1377
+ }
1378
+ }
1379
+ },
1380
+ "responses": {
1381
+ "204": {
1382
+ "description": "Team permission was updated"
1383
+ },
1384
+ "404": {
1385
+ "description": "No team found with the given ID",
1386
+ "$ref": "#/components/responses/NotFoundError"
1387
+ },
1388
+ "default": {
1389
+ "$ref": "#/components/responses/UnexpectedError"
1390
+ }
1391
+ }
1392
+ },
1346
1393
  "delete": {
1347
1394
  "operationId": "removeTeamFromSpace",
1348
1395
  "summary": "Remove a team from a space",
@@ -1380,7 +1427,117 @@
1380
1427
  }
1381
1428
  }
1382
1429
  },
1430
+ "/spaces/{spaceId}/permissions/users": {
1431
+ "get": {
1432
+ "operationId": "listUserPermissionsInSpace",
1433
+ "summary": "List permissions for users in a space.",
1434
+ "tags": [
1435
+ "permissions",
1436
+ "spaces"
1437
+ ],
1438
+ "security": [
1439
+ {
1440
+ "user": []
1441
+ }
1442
+ ],
1443
+ "parameters": [
1444
+ {
1445
+ "$ref": "#/components/parameters/spaceId"
1446
+ },
1447
+ {
1448
+ "$ref": "#/components/parameters/listPage"
1449
+ },
1450
+ {
1451
+ "$ref": "#/components/parameters/listLimit"
1452
+ }
1453
+ ],
1454
+ "responses": {
1455
+ "200": {
1456
+ "description": "Listing of users who have been added to a space.",
1457
+ "content": {
1458
+ "application/json": {
1459
+ "schema": {
1460
+ "allOf": [
1461
+ {
1462
+ "$ref": "#/components/schemas/List"
1463
+ },
1464
+ {
1465
+ "type": "object",
1466
+ "required": [
1467
+ "items"
1468
+ ],
1469
+ "properties": {
1470
+ "items": {
1471
+ "type": "array",
1472
+ "items": {
1473
+ "$ref": "#/components/schemas/UserContentPermission"
1474
+ }
1475
+ }
1476
+ }
1477
+ }
1478
+ ]
1479
+ }
1480
+ }
1481
+ }
1482
+ },
1483
+ "404": {
1484
+ "description": "No space was found with the given Id",
1485
+ "$ref": "#/components/responses/NotFoundError"
1486
+ },
1487
+ "default": {
1488
+ "$ref": "#/components/responses/UnexpectedError"
1489
+ }
1490
+ }
1491
+ }
1492
+ },
1383
1493
  "/spaces/{spaceId}/permissions/users/{userId}": {
1494
+ "patch": {
1495
+ "operationId": "updateUserPermissionInSpace",
1496
+ "summary": "Update a user's permission a space",
1497
+ "tags": [
1498
+ "spaces"
1499
+ ],
1500
+ "security": [
1501
+ {
1502
+ "user": []
1503
+ }
1504
+ ],
1505
+ "parameters": [
1506
+ {
1507
+ "$ref": "#/components/parameters/spaceId"
1508
+ },
1509
+ {
1510
+ "$ref": "#/components/parameters/userId"
1511
+ }
1512
+ ],
1513
+ "requestBody": {
1514
+ "required": true,
1515
+ "content": {
1516
+ "application/json": {
1517
+ "schema": {
1518
+ "type": "object",
1519
+ "properties": {
1520
+ "role": {
1521
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
1522
+ }
1523
+ }
1524
+ }
1525
+ }
1526
+ }
1527
+ },
1528
+ "responses": {
1529
+ "204": {
1530
+ "description": "User permission was updated"
1531
+ },
1532
+ "404": {
1533
+ "description": "No user found with the given ID",
1534
+ "$ref": "#/components/responses/NotFoundError"
1535
+ },
1536
+ "default": {
1537
+ "$ref": "#/components/responses/UnexpectedError"
1538
+ }
1539
+ }
1540
+ },
1384
1541
  "delete": {
1385
1542
  "operationId": "removeUserFromSpace",
1386
1543
  "summary": "Remove a user from a space",
@@ -1414,6 +1571,82 @@
1414
1571
  }
1415
1572
  }
1416
1573
  },
1574
+ "/spaces/{spaceId}/permissions/teams": {
1575
+ "get": {
1576
+ "operationId": "listTeamPermissionsInSpace",
1577
+ "summary": "List permissions for teams in a space.",
1578
+ "tags": [
1579
+ "permissions",
1580
+ "spaces"
1581
+ ],
1582
+ "security": [
1583
+ {
1584
+ "user": []
1585
+ }
1586
+ ],
1587
+ "parameters": [
1588
+ {
1589
+ "$ref": "#/components/parameters/spaceId"
1590
+ },
1591
+ {
1592
+ "$ref": "#/components/parameters/listPage"
1593
+ },
1594
+ {
1595
+ "$ref": "#/components/parameters/listLimit"
1596
+ }
1597
+ ],
1598
+ "responses": {
1599
+ "200": {
1600
+ "description": "Listing of teams who have been added to a space.",
1601
+ "content": {
1602
+ "application/json": {
1603
+ "schema": {
1604
+ "allOf": [
1605
+ {
1606
+ "$ref": "#/components/schemas/List"
1607
+ },
1608
+ {
1609
+ "type": "object",
1610
+ "required": [
1611
+ "items"
1612
+ ],
1613
+ "properties": {
1614
+ "items": {
1615
+ "type": "array",
1616
+ "items": {
1617
+ "type": "object",
1618
+ "description": "Permission of a team in a space.",
1619
+ "properties": {
1620
+ "permission": {
1621
+ "$ref": "#/components/schemas/MemberRole"
1622
+ },
1623
+ "team": {
1624
+ "$ref": "#/components/schemas/OrganizationTeam"
1625
+ }
1626
+ },
1627
+ "required": [
1628
+ "permission",
1629
+ "team"
1630
+ ]
1631
+ }
1632
+ }
1633
+ }
1634
+ }
1635
+ ]
1636
+ }
1637
+ }
1638
+ }
1639
+ },
1640
+ "404": {
1641
+ "description": "No space was found with the given Id",
1642
+ "$ref": "#/components/responses/NotFoundError"
1643
+ },
1644
+ "default": {
1645
+ "$ref": "#/components/responses/UnexpectedError"
1646
+ }
1647
+ }
1648
+ }
1649
+ },
1417
1650
  "/spaces/{spaceId}/content": {
1418
1651
  "get": {
1419
1652
  "operationId": "getCurrentRevision",
@@ -6014,11 +6247,12 @@
6014
6247
  }
6015
6248
  }
6016
6249
  },
6017
- "/collections/{collectionId}/permissions/teams/{teamId}": {
6018
- "delete": {
6019
- "operationId": "removeTeamFromCollection",
6020
- "summary": "Remove a team from a collection",
6250
+ "/collections/{collectionId}/permissions/teams": {
6251
+ "get": {
6252
+ "operationId": "listTeamPermissionsInCollection",
6253
+ "summary": "List permissions for teams in a collection.",
6021
6254
  "tags": [
6255
+ "permissions",
6022
6256
  "collections"
6023
6257
  ],
6024
6258
  "security": [
@@ -6031,47 +6265,275 @@
6031
6265
  "$ref": "#/components/parameters/collectionId"
6032
6266
  },
6033
6267
  {
6034
- "$ref": "#/components/parameters/teamId"
6035
- }
6036
- ],
6037
- "responses": {
6038
- "205": {
6039
- "description": "The team has been removed from the collection"
6040
- },
6041
- "404": {
6042
- "description": "No team found with the given ID",
6043
- "$ref": "#/components/responses/NotFoundError"
6044
- },
6045
- "default": {
6046
- "$ref": "#/components/responses/UnexpectedError"
6047
- }
6048
- }
6049
- }
6050
- },
6051
- "/collections/{collectionId}/permissions/users/{userId}": {
6052
- "delete": {
6053
- "operationId": "removeUserFromCollection",
6054
- "summary": "Remove a user from a collection",
6055
- "tags": [
6056
- "collections"
6057
- ],
6058
- "security": [
6059
- {
6060
- "user": []
6061
- }
6062
- ],
6063
- "parameters": [
6064
- {
6065
- "$ref": "#/components/parameters/collectionId"
6268
+ "$ref": "#/components/parameters/listPage"
6066
6269
  },
6067
6270
  {
6068
- "$ref": "#/components/parameters/userId"
6271
+ "$ref": "#/components/parameters/listLimit"
6069
6272
  }
6070
6273
  ],
6071
6274
  "responses": {
6072
- "205": {
6073
- "description": "The user has been removed from the collection"
6074
- },
6275
+ "200": {
6276
+ "description": "Listing of teams who have been added to a collection.",
6277
+ "content": {
6278
+ "application/json": {
6279
+ "schema": {
6280
+ "allOf": [
6281
+ {
6282
+ "$ref": "#/components/schemas/List"
6283
+ },
6284
+ {
6285
+ "type": "object",
6286
+ "required": [
6287
+ "items"
6288
+ ],
6289
+ "properties": {
6290
+ "items": {
6291
+ "type": "array",
6292
+ "items": {
6293
+ "type": "object",
6294
+ "description": "Permission of a team in a content.",
6295
+ "properties": {
6296
+ "permission": {
6297
+ "$ref": "#/components/schemas/MemberRole"
6298
+ },
6299
+ "team": {
6300
+ "$ref": "#/components/schemas/OrganizationTeam"
6301
+ }
6302
+ },
6303
+ "required": [
6304
+ "permission",
6305
+ "team"
6306
+ ]
6307
+ }
6308
+ }
6309
+ }
6310
+ }
6311
+ ]
6312
+ }
6313
+ }
6314
+ }
6315
+ },
6316
+ "default": {
6317
+ "$ref": "#/components/responses/UnexpectedError"
6318
+ }
6319
+ }
6320
+ }
6321
+ },
6322
+ "/collections/{collectionId}/permissions/teams/{teamId}": {
6323
+ "patch": {
6324
+ "operationId": "updateTeamPermissionInCollection",
6325
+ "summary": "Update a team's permission a collection",
6326
+ "tags": [
6327
+ "collections"
6328
+ ],
6329
+ "security": [
6330
+ {
6331
+ "user": []
6332
+ }
6333
+ ],
6334
+ "parameters": [
6335
+ {
6336
+ "$ref": "#/components/parameters/collectionId"
6337
+ },
6338
+ {
6339
+ "$ref": "#/components/parameters/teamId"
6340
+ }
6341
+ ],
6342
+ "requestBody": {
6343
+ "required": true,
6344
+ "content": {
6345
+ "application/json": {
6346
+ "schema": {
6347
+ "type": "object",
6348
+ "properties": {
6349
+ "role": {
6350
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
6351
+ }
6352
+ }
6353
+ }
6354
+ }
6355
+ }
6356
+ },
6357
+ "responses": {
6358
+ "204": {
6359
+ "description": "Team permission was updated"
6360
+ },
6361
+ "404": {
6362
+ "description": "No team found with the given ID",
6363
+ "$ref": "#/components/responses/NotFoundError"
6364
+ },
6365
+ "default": {
6366
+ "$ref": "#/components/responses/UnexpectedError"
6367
+ }
6368
+ }
6369
+ },
6370
+ "delete": {
6371
+ "operationId": "removeTeamFromCollection",
6372
+ "summary": "Remove a team from a collection",
6373
+ "tags": [
6374
+ "collections"
6375
+ ],
6376
+ "security": [
6377
+ {
6378
+ "user": []
6379
+ }
6380
+ ],
6381
+ "parameters": [
6382
+ {
6383
+ "$ref": "#/components/parameters/collectionId"
6384
+ },
6385
+ {
6386
+ "$ref": "#/components/parameters/teamId"
6387
+ }
6388
+ ],
6389
+ "responses": {
6390
+ "205": {
6391
+ "description": "The team has been removed from the collection"
6392
+ },
6393
+ "404": {
6394
+ "description": "No team found with the given ID",
6395
+ "$ref": "#/components/responses/NotFoundError"
6396
+ },
6397
+ "default": {
6398
+ "$ref": "#/components/responses/UnexpectedError"
6399
+ }
6400
+ }
6401
+ }
6402
+ },
6403
+ "/collections/{collectionId}/permissions/users": {
6404
+ "get": {
6405
+ "operationId": "listUserPermissionsInCollection",
6406
+ "summary": "List permissions for users in a collection.",
6407
+ "tags": [
6408
+ "permissions",
6409
+ "collections"
6410
+ ],
6411
+ "security": [
6412
+ {
6413
+ "user": []
6414
+ }
6415
+ ],
6416
+ "parameters": [
6417
+ {
6418
+ "$ref": "#/components/parameters/collectionId"
6419
+ },
6420
+ {
6421
+ "$ref": "#/components/parameters/listPage"
6422
+ },
6423
+ {
6424
+ "$ref": "#/components/parameters/listLimit"
6425
+ }
6426
+ ],
6427
+ "responses": {
6428
+ "200": {
6429
+ "description": "Listing of users who have been added to a collection.",
6430
+ "content": {
6431
+ "application/json": {
6432
+ "schema": {
6433
+ "allOf": [
6434
+ {
6435
+ "$ref": "#/components/schemas/List"
6436
+ },
6437
+ {
6438
+ "type": "object",
6439
+ "required": [
6440
+ "items"
6441
+ ],
6442
+ "properties": {
6443
+ "items": {
6444
+ "type": "array",
6445
+ "items": {
6446
+ "$ref": "#/components/schemas/UserContentPermission"
6447
+ }
6448
+ }
6449
+ }
6450
+ }
6451
+ ]
6452
+ }
6453
+ }
6454
+ }
6455
+ },
6456
+ "404": {
6457
+ "description": "No space found with the given Id",
6458
+ "$ref": "#/components/responses/NotFoundError"
6459
+ },
6460
+ "default": {
6461
+ "$ref": "#/components/responses/UnexpectedError"
6462
+ }
6463
+ }
6464
+ }
6465
+ },
6466
+ "/collections/{collectionId}/permissions/users/{userId}": {
6467
+ "patch": {
6468
+ "operationId": "updateUserPermissionInCollection",
6469
+ "summary": "Update a user's permission a collection",
6470
+ "tags": [
6471
+ "collections"
6472
+ ],
6473
+ "security": [
6474
+ {
6475
+ "user": []
6476
+ }
6477
+ ],
6478
+ "parameters": [
6479
+ {
6480
+ "$ref": "#/components/parameters/collectionId"
6481
+ },
6482
+ {
6483
+ "$ref": "#/components/parameters/userId"
6484
+ }
6485
+ ],
6486
+ "requestBody": {
6487
+ "required": true,
6488
+ "content": {
6489
+ "application/json": {
6490
+ "schema": {
6491
+ "type": "object",
6492
+ "properties": {
6493
+ "role": {
6494
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
6495
+ }
6496
+ }
6497
+ }
6498
+ }
6499
+ }
6500
+ },
6501
+ "responses": {
6502
+ "204": {
6503
+ "description": "User permission was updated"
6504
+ },
6505
+ "404": {
6506
+ "description": "No user found with the given ID",
6507
+ "$ref": "#/components/responses/NotFoundError"
6508
+ },
6509
+ "default": {
6510
+ "$ref": "#/components/responses/UnexpectedError"
6511
+ }
6512
+ }
6513
+ },
6514
+ "delete": {
6515
+ "operationId": "removeUserFromCollection",
6516
+ "summary": "Remove a user from a collection",
6517
+ "tags": [
6518
+ "collections"
6519
+ ],
6520
+ "security": [
6521
+ {
6522
+ "user": []
6523
+ }
6524
+ ],
6525
+ "parameters": [
6526
+ {
6527
+ "$ref": "#/components/parameters/collectionId"
6528
+ },
6529
+ {
6530
+ "$ref": "#/components/parameters/userId"
6531
+ }
6532
+ ],
6533
+ "responses": {
6534
+ "205": {
6535
+ "description": "The user has been removed from the collection"
6536
+ },
6075
6537
  "404": {
6076
6538
  "description": "No user found with the given ID",
6077
6539
  "$ref": "#/components/responses/NotFoundError"
@@ -9133,31 +9595,77 @@
9133
9595
  "parameters": [
9134
9596
  {
9135
9597
  "$ref": "#/components/parameters/organizationId"
9136
- },
9137
- {
9138
- "name": "interval",
9139
- "in": "query",
9140
- "required": true,
9141
- "description": "The desired billing interval",
9142
- "schema": {
9143
- "$ref": "#/components/schemas/BillingInterval"
9144
- }
9145
- },
9146
- {
9147
- "name": "product",
9148
- "in": "query",
9149
- "required": true,
9150
- "description": "The new product to upgrade to",
9151
- "schema": {
9152
- "type": "string",
9153
- "enum": [
9154
- "free_2024",
9155
- "plus_2024",
9156
- "pro_2024"
9157
- ]
9158
- }
9159
9598
  }
9160
9599
  ],
9600
+ "requestBody": {
9601
+ "required": true,
9602
+ "content": {
9603
+ "application/json": {
9604
+ "schema": {
9605
+ "type": "object",
9606
+ "properties": {
9607
+ "interval": {
9608
+ "description": "The desired billing interval",
9609
+ "$ref": "#/components/schemas/BillingInterval"
9610
+ },
9611
+ "product": {
9612
+ "type": "string",
9613
+ "description": "The new product to upgrade to",
9614
+ "enum": [
9615
+ "free_2024",
9616
+ "plus_2024",
9617
+ "pro_2024"
9618
+ ]
9619
+ },
9620
+ "changes": {
9621
+ "type": "object",
9622
+ "description": "Changes to apply to the organization and its sites before upgrading",
9623
+ "minProperties": 1,
9624
+ "properties": {
9625
+ "removeMembers": {
9626
+ "description": "A list of member identifiers to be removed",
9627
+ "type": "array",
9628
+ "items": {
9629
+ "type": "string"
9630
+ }
9631
+ },
9632
+ "updateSiteTypes": {
9633
+ "description": "A list of site type updates to be applied before upgrading. If a site is not present in this list, it'll be upgraded to whichever type matches its features and its published status will be unchanged.",
9634
+ "type": "array",
9635
+ "items": {
9636
+ "type": "object",
9637
+ "properties": {
9638
+ "id": {
9639
+ "description": "The site identifier",
9640
+ "type": "string"
9641
+ },
9642
+ "type": {
9643
+ "description": "The new site type",
9644
+ "type": "string",
9645
+ "enum": [
9646
+ "basic",
9647
+ "premium",
9648
+ "ultimate"
9649
+ ]
9650
+ }
9651
+ },
9652
+ "required": [
9653
+ "id",
9654
+ "type"
9655
+ ]
9656
+ }
9657
+ }
9658
+ }
9659
+ }
9660
+ },
9661
+ "required": [
9662
+ "product",
9663
+ "interval"
9664
+ ]
9665
+ }
9666
+ }
9667
+ }
9668
+ },
9161
9669
  "responses": {
9162
9670
  "205": {
9163
9671
  "description": "Organization migrated to new pricing"
@@ -9204,6 +9712,15 @@
9204
9712
  "pro_2024"
9205
9713
  ]
9206
9714
  }
9715
+ },
9716
+ {
9717
+ "name": "removedMembersCount",
9718
+ "in": "query",
9719
+ "required": true,
9720
+ "description": "How many members have been deselected by the user",
9721
+ "schema": {
9722
+ "type": "number"
9723
+ }
9207
9724
  }
9208
9725
  ],
9209
9726
  "responses": {
@@ -9214,10 +9731,35 @@
9214
9731
  "schema": {
9215
9732
  "type": "object",
9216
9733
  "properties": {
9734
+ "totals": {
9735
+ "type": "object",
9736
+ "properties": {
9737
+ "members": {
9738
+ "description": "Count of all members",
9739
+ "type": "number"
9740
+ },
9741
+ "premiumSites": {
9742
+ "description": "Count of all premium sites",
9743
+ "type": "number"
9744
+ },
9745
+ "ultimateSites": {
9746
+ "description": "Count of all ultimate sites",
9747
+ "type": "number"
9748
+ }
9749
+ },
9750
+ "required": [
9751
+ "members",
9752
+ "premiumSites",
9753
+ "ultimateSites"
9754
+ ]
9755
+ },
9217
9756
  "invoice": {
9218
9757
  "$ref": "#/components/schemas/BillingInvoicePreview"
9219
9758
  }
9220
- }
9759
+ },
9760
+ "required": [
9761
+ "totals"
9762
+ ]
9221
9763
  }
9222
9764
  }
9223
9765
  }
@@ -13910,6 +14452,40 @@
13910
14452
  }
13911
14453
  }
13912
14454
  },
14455
+ "/orgs/{organizationId}/sites/{siteId}/ask/questions": {
14456
+ "get": {
14457
+ "operationId": "streamRecommendedQuestionsInSite",
14458
+ "summary": "Stream a list of questions that can be asked in a site.",
14459
+ "security": [
14460
+ {
14461
+ "user": []
14462
+ }
14463
+ ],
14464
+ "parameters": [
14465
+ {
14466
+ "$ref": "#/components/parameters/organizationId"
14467
+ },
14468
+ {
14469
+ "$ref": "#/components/parameters/siteId"
14470
+ }
14471
+ ],
14472
+ "responses": {
14473
+ "200": {
14474
+ "description": "OK",
14475
+ "content": {
14476
+ "text/event-stream": {
14477
+ "schema": {
14478
+ "$ref": "#/components/schemas/SearchAIRecommendedQuestionStream"
14479
+ }
14480
+ }
14481
+ }
14482
+ },
14483
+ "default": {
14484
+ "$ref": "#/components/responses/UnexpectedError"
14485
+ }
14486
+ }
14487
+ }
14488
+ },
13913
14489
  "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}": {
13914
14490
  "patch": {
13915
14491
  "operationId": "updateSiteSpaceById",
@@ -15084,6 +15660,53 @@
15084
15660
  }
15085
15661
  }
15086
15662
  },
15663
+ "/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments": {
15664
+ "get": {
15665
+ "operationId": "listSiteVisitorSegments",
15666
+ "summary": "List visitor segments in a site.",
15667
+ "tags": [
15668
+ "sites"
15669
+ ],
15670
+ "parameters": [
15671
+ {
15672
+ "$ref": "#/components/parameters/organizationId"
15673
+ },
15674
+ {
15675
+ "$ref": "#/components/parameters/siteId"
15676
+ }
15677
+ ],
15678
+ "responses": {
15679
+ "200": {
15680
+ "description": "List of visitor segments in the site.",
15681
+ "content": {
15682
+ "application/json": {
15683
+ "schema": {
15684
+ "allOf": [
15685
+ {
15686
+ "$ref": "#/components/schemas/List"
15687
+ },
15688
+ {
15689
+ "type": "object",
15690
+ "required": [
15691
+ "items"
15692
+ ],
15693
+ "properties": {
15694
+ "items": {
15695
+ "type": "array",
15696
+ "items": {
15697
+ "$ref": "#/components/schemas/SiteInsightsVisitorSegment"
15698
+ }
15699
+ }
15700
+ }
15701
+ }
15702
+ ]
15703
+ }
15704
+ }
15705
+ }
15706
+ }
15707
+ }
15708
+ }
15709
+ },
15087
15710
  "/orgs/{organizationId}/sites/{siteId}/insights/ads": {
15088
15711
  "get": {
15089
15712
  "operationId": "getAdsInsightsForSiteById",
@@ -21633,6 +22256,67 @@
21633
22256
  "role"
21634
22257
  ]
21635
22258
  },
22259
+ "UserContentPermission": {
22260
+ "type": "object",
22261
+ "description": "Permission of a user in a content.",
22262
+ "properties": {
22263
+ "permission": {
22264
+ "$ref": "#/components/schemas/MemberRole"
22265
+ },
22266
+ "user": {
22267
+ "$ref": "#/components/schemas/User"
22268
+ }
22269
+ },
22270
+ "required": [
22271
+ "permission",
22272
+ "user"
22273
+ ]
22274
+ },
22275
+ "OrganizationTeamTitle": {
22276
+ "type": "string",
22277
+ "description": "Title of the team",
22278
+ "minLength": 1,
22279
+ "maxLength": 64
22280
+ },
22281
+ "OrganizationTeam": {
22282
+ "type": "object",
22283
+ "properties": {
22284
+ "object": {
22285
+ "type": "string",
22286
+ "description": "Type of Object, always equals to \"team\"",
22287
+ "enum": [
22288
+ "team"
22289
+ ]
22290
+ },
22291
+ "id": {
22292
+ "type": "string",
22293
+ "description": "Unique identifier for the team."
22294
+ },
22295
+ "title": {
22296
+ "$ref": "#/components/schemas/OrganizationTeamTitle"
22297
+ },
22298
+ "members": {
22299
+ "type": "integer",
22300
+ "description": "Count of members in this team."
22301
+ },
22302
+ "spaces": {
22303
+ "type": "number",
22304
+ "description": "Count of spaces this team has access to."
22305
+ },
22306
+ "createdAt": {
22307
+ "description": "Date at which the team was created.",
22308
+ "$ref": "#/components/schemas/Timestamp"
22309
+ }
22310
+ },
22311
+ "required": [
22312
+ "object",
22313
+ "id",
22314
+ "title",
22315
+ "members",
22316
+ "spaces",
22317
+ "createdAt"
22318
+ ]
22319
+ },
21636
22320
  "RevisionPageGroup": {
21637
22321
  "allOf": [
21638
22322
  {
@@ -25078,22 +25762,6 @@
25078
25762
  }
25079
25763
  }
25080
25764
  },
25081
- "UserContentPermission": {
25082
- "type": "object",
25083
- "description": "Permission of a user in a content.",
25084
- "properties": {
25085
- "permission": {
25086
- "$ref": "#/components/schemas/MemberRole"
25087
- },
25088
- "user": {
25089
- "$ref": "#/components/schemas/User"
25090
- }
25091
- },
25092
- "required": [
25093
- "permission",
25094
- "user"
25095
- ]
25096
- },
25097
25765
  "Color": {
25098
25766
  "type": "string",
25099
25767
  "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$"
@@ -29196,76 +29864,31 @@
29196
29864
  "space"
29197
29865
  ]
29198
29866
  },
29199
- "OrganizationTeamTitle": {
29867
+ "TeamMemberRole": {
29200
29868
  "type": "string",
29201
- "description": "Title of the team",
29202
- "minLength": 1,
29203
- "maxLength": 64
29869
+ "description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
29870
+ "enum": [
29871
+ "owner",
29872
+ "member"
29873
+ ]
29204
29874
  },
29205
- "OrganizationTeam": {
29875
+ "TeamMember": {
29206
29876
  "type": "object",
29207
29877
  "properties": {
29208
- "object": {
29209
- "type": "string",
29210
- "description": "Type of Object, always equals to \"team\"",
29211
- "enum": [
29212
- "team"
29213
- ]
29214
- },
29215
- "id": {
29216
- "type": "string",
29217
- "description": "Unique identifier for the team."
29218
- },
29219
- "title": {
29220
- "$ref": "#/components/schemas/OrganizationTeamTitle"
29221
- },
29222
- "members": {
29223
- "type": "integer",
29224
- "description": "Count of members in this team."
29225
- },
29226
- "spaces": {
29227
- "type": "number",
29228
- "description": "Count of spaces this team has access to."
29229
- },
29230
- "createdAt": {
29231
- "description": "Date at which the team was created.",
29232
- "$ref": "#/components/schemas/Timestamp"
29233
- }
29234
- },
29235
- "required": [
29236
- "object",
29237
- "id",
29238
- "title",
29239
- "members",
29240
- "spaces",
29241
- "createdAt"
29242
- ]
29243
- },
29244
- "TeamMemberRole": {
29245
- "type": "string",
29246
- "description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
29247
- "enum": [
29248
- "owner",
29249
- "member"
29250
- ]
29251
- },
29252
- "TeamMember": {
29253
- "type": "object",
29254
- "properties": {
29255
- "role": {
29256
- "$ref": "#/components/schemas/TeamMemberRole"
29257
- }
29258
- },
29259
- "required": [
29260
- "role"
29261
- ]
29262
- },
29263
- "OrganizationTeamMember": {
29264
- "type": "object",
29265
- "description": "A member of a team in an organization, including its relationship to it",
29266
- "properties": {
29267
- "organization": {
29268
- "$ref": "#/components/schemas/OrganizationMember"
29878
+ "role": {
29879
+ "$ref": "#/components/schemas/TeamMemberRole"
29880
+ }
29881
+ },
29882
+ "required": [
29883
+ "role"
29884
+ ]
29885
+ },
29886
+ "OrganizationTeamMember": {
29887
+ "type": "object",
29888
+ "description": "A member of a team in an organization, including its relationship to it",
29889
+ "properties": {
29890
+ "organization": {
29891
+ "$ref": "#/components/schemas/OrganizationMember"
29269
29892
  },
29270
29893
  "team": {
29271
29894
  "$ref": "#/components/schemas/TeamMember"
@@ -30601,6 +31224,16 @@
30601
31224
  }
30602
31225
  ]
30603
31226
  },
31227
+ "CustomizationTheme": {
31228
+ "type": "string",
31229
+ "description": "The theme to apply to the site. Supercedes the old header preset themes.\n- `clean`: Modern theme featuring translucency and minimally-styled elements.\n- `muted`: Sophisticated theme with decreased contrast between elements.\n- `bold`: High-impact theme with prominent colors and strong contrasts.\n- `gradient`: Trendy theme featuring colorful gradients and splashes of color.\n",
31230
+ "enum": [
31231
+ "clean",
31232
+ "muted",
31233
+ "bold",
31234
+ "gradient"
31235
+ ]
31236
+ },
30604
31237
  "CustomizationTint": {
30605
31238
  "type": "object",
30606
31239
  "properties": {
@@ -30649,6 +31282,9 @@
30649
31282
  "styling": {
30650
31283
  "type": "object",
30651
31284
  "properties": {
31285
+ "theme": {
31286
+ "$ref": "#/components/schemas/CustomizationTheme"
31287
+ },
30652
31288
  "primaryColor": {
30653
31289
  "$ref": "#/components/schemas/CustomizationThemedColor"
30654
31290
  },
@@ -30784,6 +31420,7 @@
30784
31420
  ]
30785
31421
  },
30786
31422
  "themes": {
31423
+ "description": "Customization options for the dark/light theme modes.\n",
30787
31424
  "type": "object",
30788
31425
  "properties": {
30789
31426
  "default": {
@@ -31864,7 +32501,8 @@
31864
32501
  "enum": [
31865
32502
  "sidebar",
31866
32503
  "ad",
31867
- "footer"
32504
+ "footer",
32505
+ "pdf"
31868
32506
  ]
31869
32507
  },
31870
32508
  "SiteInsightsEventTrademarkClick": {
@@ -32010,98 +32648,52 @@
32010
32648
  }
32011
32649
  ]
32012
32650
  },
32013
- "SiteInsightsEventType": {
32014
- "type": "string",
32015
- "enum": [
32016
- "page_view",
32017
- "search_open",
32018
- "search_type_query",
32019
- "search_open_result",
32020
- "page_post_feedback",
32021
- "page_post_feedback_comment",
32022
- "ask_question",
32023
- "link_click",
32024
- "api_client_open",
32025
- "api_client_request",
32026
- "ad_click",
32027
- "ad_display",
32028
- "trademark_click"
32029
- ]
32030
- },
32031
- "SiteInsightsVisitorBrowser": {
32032
- "type": "string",
32033
- "enum": [
32034
- "chrome",
32035
- "firefox",
32036
- "safari",
32037
- "edge",
32038
- "ie",
32039
- "opera",
32040
- "unknown"
32041
- ]
32042
- },
32043
- "SiteInsightsVisitorDevice": {
32044
- "type": "string",
32045
- "enum": [
32046
- "desktop",
32047
- "tablet",
32048
- "mobile",
32049
- "unknown"
32050
- ]
32051
- },
32052
- "SiteInsightsVisitorOS": {
32053
- "type": "string",
32054
- "enum": [
32055
- "windows",
32056
- "macos",
32057
- "linux",
32058
- "android",
32059
- "ios",
32060
- "unknown"
32061
- ]
32062
- },
32063
- "SiteInsightsVisitorBot": {
32064
- "type": "string",
32065
- "nullable": true,
32066
- "enum": [
32067
- "unknown",
32068
- "googlebot",
32069
- "bingbot",
32070
- "duckduckbot",
32071
- "facebookbot",
32072
- "applebot",
32073
- "chatgpt",
32074
- "anthropic"
32075
- ]
32651
+ "SiteInsightsQueryDateTimeColumn": {
32652
+ "type": "object",
32653
+ "required": [
32654
+ "column"
32655
+ ],
32656
+ "properties": {
32657
+ "column": {
32658
+ "type": "string",
32659
+ "enum": [
32660
+ "datetime"
32661
+ ]
32662
+ },
32663
+ "interval": {
32664
+ "type": "string",
32665
+ "enum": [
32666
+ "hour",
32667
+ "day",
32668
+ "week",
32669
+ "month"
32670
+ ]
32671
+ }
32672
+ }
32076
32673
  },
32077
- "SiteInsightsQueryEventsValues": {
32674
+ "SiteInsightsQueryEventsColumn": {
32078
32675
  "oneOf": [
32676
+ {
32677
+ "$ref": "#/components/schemas/SiteInsightsQueryDateTimeColumn"
32678
+ },
32079
32679
  {
32080
32680
  "type": "object",
32081
32681
  "required": [
32082
- "column",
32083
- "values"
32682
+ "column"
32084
32683
  ],
32085
32684
  "properties": {
32086
32685
  "column": {
32087
32686
  "type": "string",
32088
32687
  "enum": [
32089
- "datetime"
32688
+ "eventType"
32090
32689
  ]
32091
- },
32092
- "values": {
32093
- "type": "array",
32094
- "items": {
32095
- "$ref": "#/components/schemas/Timestamp"
32096
- }
32097
32690
  }
32098
32691
  }
32099
32692
  },
32100
32693
  {
32101
32694
  "type": "object",
32102
32695
  "required": [
32103
- "column",
32104
- "values"
32696
+ "column"
32105
32697
  ],
32106
32698
  "properties": {
32107
32699
  "column": {
@@ -32109,20 +32701,13 @@
32109
32701
  "enum": [
32110
32702
  "eventsCount"
32111
32703
  ]
32112
- },
32113
- "values": {
32114
- "type": "array",
32115
- "items": {
32116
- "type": "number"
32117
- }
32118
32704
  }
32119
32705
  }
32120
32706
  },
32121
32707
  {
32122
32708
  "type": "object",
32123
32709
  "required": [
32124
- "column",
32125
- "values"
32710
+ "column"
32126
32711
  ],
32127
32712
  "properties": {
32128
32713
  "column": {
@@ -32130,20 +32715,13 @@
32130
32715
  "enum": [
32131
32716
  "sessionsCount"
32132
32717
  ]
32133
- },
32134
- "values": {
32135
- "type": "array",
32136
- "items": {
32137
- "type": "number"
32138
- }
32139
32718
  }
32140
32719
  }
32141
32720
  },
32142
32721
  {
32143
32722
  "type": "object",
32144
32723
  "required": [
32145
- "column",
32146
- "values"
32724
+ "column"
32147
32725
  ],
32148
32726
  "properties": {
32149
32727
  "column": {
@@ -32151,475 +32729,298 @@
32151
32729
  "enum": [
32152
32730
  "visitorsCount"
32153
32731
  ]
32154
- },
32155
- "values": {
32156
- "type": "array",
32157
- "items": {
32158
- "type": "number"
32159
- }
32160
32732
  }
32161
32733
  }
32162
32734
  },
32163
32735
  {
32164
32736
  "type": "object",
32165
32737
  "required": [
32166
- "column",
32167
- "values"
32738
+ "column"
32168
32739
  ],
32169
32740
  "properties": {
32170
32741
  "column": {
32171
32742
  "type": "string",
32172
32743
  "enum": [
32173
- "eventType"
32744
+ "siteSection"
32174
32745
  ]
32175
- },
32176
- "values": {
32177
- "type": "array",
32178
- "items": {
32179
- "$ref": "#/components/schemas/SiteInsightsEventType"
32180
- }
32181
32746
  }
32182
32747
  }
32183
32748
  },
32184
32749
  {
32185
32750
  "type": "object",
32186
32751
  "required": [
32187
- "column",
32188
- "claim",
32189
- "values"
32752
+ "column"
32190
32753
  ],
32191
32754
  "properties": {
32192
32755
  "column": {
32193
32756
  "type": "string",
32194
32757
  "enum": [
32195
- "visitorClaim"
32758
+ "siteSpace"
32196
32759
  ]
32197
- },
32198
- "claim": {
32199
- "type": "string"
32200
- },
32201
- "values": {
32202
- "type": "array",
32203
- "items": {
32204
- "type": "string"
32205
- }
32206
32760
  }
32207
32761
  }
32208
32762
  },
32209
32763
  {
32210
32764
  "type": "object",
32211
32765
  "required": [
32212
- "column",
32213
- "values"
32766
+ "column"
32214
32767
  ],
32215
32768
  "properties": {
32216
32769
  "column": {
32217
32770
  "type": "string",
32218
32771
  "enum": [
32219
- "visitorClaimProperty"
32772
+ "siteShareKey"
32220
32773
  ]
32221
- },
32222
- "values": {
32223
- "type": "array",
32224
- "items": {
32225
- "type": "string"
32226
- }
32227
32774
  }
32228
32775
  }
32229
32776
  },
32230
32777
  {
32231
32778
  "type": "object",
32232
32779
  "required": [
32233
- "column",
32234
- "values"
32780
+ "column"
32235
32781
  ],
32236
32782
  "properties": {
32237
32783
  "column": {
32238
32784
  "type": "string",
32239
32785
  "enum": [
32240
- "visitorBrowser"
32786
+ "page"
32241
32787
  ]
32242
- },
32243
- "values": {
32244
- "type": "array",
32245
- "items": {
32246
- "$ref": "#/components/schemas/SiteInsightsVisitorBrowser"
32247
- }
32248
32788
  }
32249
32789
  }
32250
32790
  },
32251
32791
  {
32252
32792
  "type": "object",
32253
32793
  "required": [
32254
- "column",
32255
- "values"
32794
+ "column"
32256
32795
  ],
32257
32796
  "properties": {
32258
32797
  "column": {
32259
32798
  "type": "string",
32260
32799
  "enum": [
32261
- "visitorDevice"
32800
+ "visitorGeoCountry"
32262
32801
  ]
32263
- },
32264
- "values": {
32265
- "type": "array",
32266
- "items": {
32267
- "$ref": "#/components/schemas/SiteInsightsVisitorDevice"
32268
- }
32269
32802
  }
32270
32803
  }
32271
32804
  },
32272
32805
  {
32273
32806
  "type": "object",
32274
32807
  "required": [
32275
- "column",
32276
- "values"
32808
+ "column"
32277
32809
  ],
32278
32810
  "properties": {
32279
32811
  "column": {
32280
32812
  "type": "string",
32281
32813
  "enum": [
32282
- "visitorOS"
32814
+ "visitorGeoPoint"
32283
32815
  ]
32284
32816
  },
32285
- "values": {
32286
- "type": "array",
32287
- "items": {
32288
- "$ref": "#/components/schemas/SiteInsightsVisitorOS"
32289
- }
32817
+ "precision": {
32818
+ "type": "integer",
32819
+ "minimum": 0,
32820
+ "maximum": 15
32290
32821
  }
32291
32822
  }
32292
32823
  },
32293
32824
  {
32294
32825
  "type": "object",
32295
32826
  "required": [
32296
- "column",
32297
- "values"
32827
+ "column"
32298
32828
  ],
32299
32829
  "properties": {
32300
32830
  "column": {
32301
32831
  "type": "string",
32302
32832
  "enum": [
32303
- "visitorBot"
32833
+ "visitorDevice"
32304
32834
  ]
32305
- },
32306
- "values": {
32307
- "type": "array",
32308
- "items": {
32309
- "$ref": "#/components/schemas/SiteInsightsVisitorBot"
32310
- }
32311
32835
  }
32312
32836
  }
32313
32837
  },
32314
32838
  {
32315
32839
  "type": "object",
32316
32840
  "required": [
32317
- "column",
32318
- "values"
32841
+ "column"
32319
32842
  ],
32320
32843
  "properties": {
32321
32844
  "column": {
32322
32845
  "type": "string",
32323
32846
  "enum": [
32324
- "eventLinkTargetValue"
32847
+ "visitorBrowser"
32325
32848
  ]
32326
- },
32327
- "values": {
32328
- "type": "array",
32329
- "items": {
32330
- "$ref": "#/components/schemas/ContentRef"
32331
- }
32332
32849
  }
32333
32850
  }
32334
32851
  },
32335
32852
  {
32336
32853
  "type": "object",
32337
32854
  "required": [
32338
- "column",
32339
- "values"
32855
+ "column"
32340
32856
  ],
32341
32857
  "properties": {
32342
32858
  "column": {
32343
32859
  "type": "string",
32344
32860
  "enum": [
32345
- "eventLinkTargetKind"
32861
+ "visitorOS"
32346
32862
  ]
32347
- },
32348
- "values": {
32349
- "type": "array",
32350
- "items": {
32351
- "type": "string",
32352
- "enum": [
32353
- "url",
32354
- "page",
32355
- "file",
32356
- "anchor",
32357
- "space",
32358
- "collection",
32359
- "user",
32360
- "reusable-content"
32361
- ]
32362
- }
32363
32863
  }
32364
32864
  }
32365
32865
  },
32366
32866
  {
32367
32867
  "type": "object",
32368
32868
  "required": [
32369
- "column",
32370
- "values"
32869
+ "column"
32371
32870
  ],
32372
32871
  "properties": {
32373
32872
  "column": {
32374
32873
  "type": "string",
32375
32874
  "enum": [
32376
- "eventLinkPosition"
32875
+ "visitorBot"
32377
32876
  ]
32378
- },
32379
- "values": {
32380
- "type": "array",
32381
- "items": {
32382
- "$ref": "#/components/schemas/SiteInsightsLinkPosition"
32383
- }
32384
32877
  }
32385
32878
  }
32386
32879
  },
32387
32880
  {
32388
32881
  "type": "object",
32389
32882
  "required": [
32390
- "column",
32391
- "values"
32883
+ "column"
32392
32884
  ],
32393
32885
  "properties": {
32394
32886
  "column": {
32395
32887
  "type": "string",
32396
32888
  "enum": [
32397
- "siteSection"
32889
+ "visitorLanguage"
32398
32890
  ]
32399
- },
32400
- "values": {
32401
- "type": "array",
32402
- "items": {
32403
- "type": "string",
32404
- "nullable": true
32405
- }
32406
32891
  }
32407
32892
  }
32408
32893
  },
32409
32894
  {
32410
32895
  "type": "object",
32411
32896
  "required": [
32412
- "column",
32413
- "values"
32897
+ "column"
32414
32898
  ],
32415
32899
  "properties": {
32416
32900
  "column": {
32417
32901
  "type": "string",
32418
32902
  "enum": [
32419
- "siteSpace"
32903
+ "eventLinkTargetValue"
32420
32904
  ]
32421
- },
32422
- "values": {
32423
- "type": "array",
32424
- "items": {
32425
- "type": "string",
32426
- "nullable": true
32427
- }
32428
32905
  }
32429
32906
  }
32430
32907
  },
32431
32908
  {
32432
32909
  "type": "object",
32433
32910
  "required": [
32434
- "column",
32435
- "values"
32911
+ "column"
32436
32912
  ],
32437
32913
  "properties": {
32438
32914
  "column": {
32439
32915
  "type": "string",
32440
32916
  "enum": [
32441
- "siteShareKey"
32917
+ "eventLinkTargetKind"
32442
32918
  ]
32443
- },
32444
- "values": {
32445
- "type": "array",
32446
- "items": {
32447
- "type": "string",
32448
- "nullable": true
32449
- }
32450
32919
  }
32451
32920
  }
32452
32921
  },
32453
32922
  {
32454
32923
  "type": "object",
32455
32924
  "required": [
32456
- "column",
32457
- "values"
32925
+ "column"
32458
32926
  ],
32459
32927
  "properties": {
32460
32928
  "column": {
32461
32929
  "type": "string",
32462
32930
  "enum": [
32463
- "page"
32931
+ "eventLinkTargetDomain"
32464
32932
  ]
32465
- },
32466
- "values": {
32467
- "type": "array",
32468
- "items": {
32469
- "type": "object",
32470
- "required": [
32471
- "page",
32472
- "space"
32473
- ],
32474
- "properties": {
32475
- "page": {
32476
- "type": "string",
32477
- "nullable": true
32478
- },
32479
- "space": {
32480
- "type": "string"
32481
- }
32482
- }
32483
- }
32484
32933
  }
32485
32934
  }
32486
32935
  },
32487
32936
  {
32488
32937
  "type": "object",
32489
32938
  "required": [
32490
- "column",
32491
- "values"
32939
+ "column"
32492
32940
  ],
32493
32941
  "properties": {
32494
32942
  "column": {
32495
32943
  "type": "string",
32496
32944
  "enum": [
32497
- "visitorGeoCountry"
32945
+ "eventLinkPosition"
32498
32946
  ]
32499
- },
32500
- "values": {
32501
- "type": "array",
32502
- "items": {
32503
- "type": "string",
32504
- "nullable": true
32505
- }
32506
32947
  }
32507
32948
  }
32508
32949
  },
32509
32950
  {
32510
32951
  "type": "object",
32511
32952
  "required": [
32512
- "column",
32513
- "values"
32953
+ "column"
32514
32954
  ],
32515
32955
  "properties": {
32516
32956
  "column": {
32517
32957
  "type": "string",
32518
32958
  "enum": [
32519
- "visitorLanguage"
32959
+ "eventAPIOperationPath"
32520
32960
  ]
32521
- },
32522
- "values": {
32523
- "type": "array",
32524
- "items": {
32525
- "type": "string",
32526
- "nullable": true
32527
- }
32528
32961
  }
32529
32962
  }
32530
32963
  },
32531
32964
  {
32532
32965
  "type": "object",
32533
32966
  "required": [
32534
- "column",
32535
- "values"
32967
+ "column"
32536
32968
  ],
32537
32969
  "properties": {
32538
32970
  "column": {
32539
32971
  "type": "string",
32540
32972
  "enum": [
32541
- "eventLinkTargetDomain"
32973
+ "eventAPIOperationMethod"
32542
32974
  ]
32543
- },
32544
- "values": {
32545
- "type": "array",
32546
- "items": {
32547
- "type": "string",
32548
- "nullable": true
32549
- }
32550
32975
  }
32551
32976
  }
32552
32977
  },
32553
32978
  {
32554
32979
  "type": "object",
32555
32980
  "required": [
32556
- "column",
32557
- "values"
32981
+ "column"
32558
32982
  ],
32559
32983
  "properties": {
32560
32984
  "column": {
32561
32985
  "type": "string",
32562
32986
  "enum": [
32563
- "eventAPIOperationPath"
32987
+ "eventSearchQuery"
32564
32988
  ]
32565
- },
32566
- "values": {
32567
- "type": "array",
32568
- "items": {
32569
- "type": "string",
32570
- "nullable": true
32571
- }
32572
32989
  }
32573
32990
  }
32574
32991
  },
32575
32992
  {
32576
32993
  "type": "object",
32577
32994
  "required": [
32578
- "column",
32579
- "values"
32995
+ "column"
32580
32996
  ],
32581
32997
  "properties": {
32582
32998
  "column": {
32583
32999
  "type": "string",
32584
33000
  "enum": [
32585
- "eventAPIOperationMethod"
33001
+ "eventPageFeedbackRating"
32586
33002
  ]
32587
- },
32588
- "values": {
32589
- "type": "array",
32590
- "items": {
32591
- "type": "string",
32592
- "nullable": true
32593
- }
32594
33003
  }
32595
33004
  }
32596
33005
  },
32597
33006
  {
32598
33007
  "type": "object",
32599
33008
  "required": [
32600
- "column",
32601
- "values"
33009
+ "column"
32602
33010
  ],
32603
33011
  "properties": {
32604
33012
  "column": {
32605
33013
  "type": "string",
32606
33014
  "enum": [
32607
- "eventSearchQuery"
33015
+ "eventPageFeedbackComment"
32608
33016
  ]
32609
- },
32610
- "values": {
32611
- "type": "array",
32612
- "items": {
32613
- "type": "string"
32614
- }
32615
33017
  }
32616
33018
  }
32617
33019
  },
32618
33020
  {
32619
33021
  "type": "object",
32620
33022
  "required": [
32621
- "column",
32622
- "values"
33023
+ "column"
32623
33024
  ],
32624
33025
  "properties": {
32625
33026
  "column": {
@@ -32627,36 +33028,13 @@
32627
33028
  "enum": [
32628
33029
  "pageFeedbackRating"
32629
33030
  ]
32630
- },
32631
- "values": {
32632
- "type": "array",
32633
- "items": {
32634
- "type": "object",
32635
- "required": [
32636
- "ok",
32637
- "good",
32638
- "bad"
32639
- ],
32640
- "properties": {
32641
- "ok": {
32642
- "type": "number"
32643
- },
32644
- "good": {
32645
- "type": "number"
32646
- },
32647
- "bad": {
32648
- "type": "number"
32649
- }
32650
- }
32651
- }
32652
33031
  }
32653
33032
  }
32654
33033
  },
32655
33034
  {
32656
33035
  "type": "object",
32657
33036
  "required": [
32658
- "column",
32659
- "values"
33037
+ "column"
32660
33038
  ],
32661
33039
  "properties": {
32662
33040
  "column": {
@@ -32664,20 +33042,13 @@
32664
33042
  "enum": [
32665
33043
  "referrer"
32666
33044
  ]
32667
- },
32668
- "values": {
32669
- "type": "array",
32670
- "items": {
32671
- "type": "string"
32672
- }
32673
33045
  }
32674
33046
  }
32675
33047
  },
32676
33048
  {
32677
33049
  "type": "object",
32678
33050
  "required": [
32679
- "column",
32680
- "values"
33051
+ "column"
32681
33052
  ],
32682
33053
  "properties": {
32683
33054
  "column": {
@@ -32685,20 +33056,13 @@
32685
33056
  "enum": [
32686
33057
  "referrerDomain"
32687
33058
  ]
32688
- },
32689
- "values": {
32690
- "type": "array",
32691
- "items": {
32692
- "type": "string"
32693
- }
32694
33059
  }
32695
33060
  }
32696
33061
  },
32697
33062
  {
32698
33063
  "type": "object",
32699
33064
  "required": [
32700
- "column",
32701
- "values"
33065
+ "column"
32702
33066
  ],
32703
33067
  "properties": {
32704
33068
  "column": {
@@ -32706,20 +33070,13 @@
32706
33070
  "enum": [
32707
33071
  "utmSource"
32708
33072
  ]
32709
- },
32710
- "values": {
32711
- "type": "array",
32712
- "items": {
32713
- "type": "string"
32714
- }
32715
33073
  }
32716
33074
  }
32717
33075
  },
32718
33076
  {
32719
33077
  "type": "object",
32720
33078
  "required": [
32721
- "column",
32722
- "values"
33079
+ "column"
32723
33080
  ],
32724
33081
  "properties": {
32725
33082
  "column": {
@@ -32727,20 +33084,13 @@
32727
33084
  "enum": [
32728
33085
  "utmMedium"
32729
33086
  ]
32730
- },
32731
- "values": {
32732
- "type": "array",
32733
- "items": {
32734
- "type": "string"
32735
- }
32736
33087
  }
32737
33088
  }
32738
33089
  },
32739
33090
  {
32740
33091
  "type": "object",
32741
33092
  "required": [
32742
- "column",
32743
- "values"
33093
+ "column"
32744
33094
  ],
32745
33095
  "properties": {
32746
33096
  "column": {
@@ -32748,20 +33098,13 @@
32748
33098
  "enum": [
32749
33099
  "utmCampaign"
32750
33100
  ]
32751
- },
32752
- "values": {
32753
- "type": "array",
32754
- "items": {
32755
- "type": "string"
32756
- }
32757
33101
  }
32758
33102
  }
32759
33103
  },
32760
33104
  {
32761
33105
  "type": "object",
32762
33106
  "required": [
32763
- "column",
32764
- "values"
33107
+ "column"
32765
33108
  ],
32766
33109
  "properties": {
32767
33110
  "column": {
@@ -32769,15 +33112,165 @@
32769
33112
  "enum": [
32770
33113
  "utmTerm"
32771
33114
  ]
33115
+ }
33116
+ }
33117
+ },
33118
+ {
33119
+ "type": "object",
33120
+ "required": [
33121
+ "column"
33122
+ ],
33123
+ "properties": {
33124
+ "column": {
33125
+ "type": "string",
33126
+ "enum": [
33127
+ "utmContent"
33128
+ ]
33129
+ }
33130
+ }
33131
+ },
33132
+ {
33133
+ "type": "object",
33134
+ "required": [
33135
+ "column"
33136
+ ],
33137
+ "properties": {
33138
+ "column": {
33139
+ "type": "string",
33140
+ "enum": [
33141
+ "visitorClaimProperty"
33142
+ ]
33143
+ }
33144
+ }
33145
+ },
33146
+ {
33147
+ "type": "object",
33148
+ "required": [
33149
+ "column",
33150
+ "claim"
33151
+ ],
33152
+ "properties": {
33153
+ "column": {
33154
+ "type": "string",
33155
+ "enum": [
33156
+ "visitorClaim"
33157
+ ]
32772
33158
  },
32773
- "values": {
32774
- "type": "array",
32775
- "items": {
32776
- "type": "string"
32777
- }
33159
+ "claim": {
33160
+ "type": "string"
33161
+ }
33162
+ }
33163
+ },
33164
+ {
33165
+ "type": "object",
33166
+ "required": [
33167
+ "column"
33168
+ ],
33169
+ "properties": {
33170
+ "column": {
33171
+ "type": "string",
33172
+ "enum": [
33173
+ "eventAdDomain"
33174
+ ]
32778
33175
  }
32779
33176
  }
32780
33177
  },
33178
+ {
33179
+ "type": "object",
33180
+ "required": [
33181
+ "column"
33182
+ ],
33183
+ "properties": {
33184
+ "column": {
33185
+ "type": "string",
33186
+ "enum": [
33187
+ "eventAdPlacement"
33188
+ ]
33189
+ }
33190
+ }
33191
+ },
33192
+ {
33193
+ "type": "object",
33194
+ "required": [
33195
+ "column"
33196
+ ],
33197
+ "properties": {
33198
+ "column": {
33199
+ "type": "string",
33200
+ "enum": [
33201
+ "eventTrademarkPlacement"
33202
+ ]
33203
+ }
33204
+ }
33205
+ }
33206
+ ]
33207
+ },
33208
+ "SiteInsightsEventType": {
33209
+ "type": "string",
33210
+ "enum": [
33211
+ "page_view",
33212
+ "search_open",
33213
+ "search_type_query",
33214
+ "search_open_result",
33215
+ "page_post_feedback",
33216
+ "page_post_feedback_comment",
33217
+ "ask_question",
33218
+ "link_click",
33219
+ "api_client_open",
33220
+ "api_client_request",
33221
+ "ad_click",
33222
+ "ad_display",
33223
+ "trademark_click"
33224
+ ]
33225
+ },
33226
+ "SiteInsightsVisitorBrowser": {
33227
+ "type": "string",
33228
+ "enum": [
33229
+ "chrome",
33230
+ "firefox",
33231
+ "safari",
33232
+ "edge",
33233
+ "ie",
33234
+ "opera",
33235
+ "unknown"
33236
+ ]
33237
+ },
33238
+ "SiteInsightsVisitorDevice": {
33239
+ "type": "string",
33240
+ "enum": [
33241
+ "desktop",
33242
+ "tablet",
33243
+ "mobile",
33244
+ "unknown"
33245
+ ]
33246
+ },
33247
+ "SiteInsightsVisitorOS": {
33248
+ "type": "string",
33249
+ "enum": [
33250
+ "windows",
33251
+ "macos",
33252
+ "linux",
33253
+ "android",
33254
+ "ios",
33255
+ "unknown"
33256
+ ]
33257
+ },
33258
+ "SiteInsightsVisitorBot": {
33259
+ "type": "string",
33260
+ "nullable": true,
33261
+ "enum": [
33262
+ "unknown",
33263
+ "googlebot",
33264
+ "bingbot",
33265
+ "duckduckbot",
33266
+ "facebookbot",
33267
+ "applebot",
33268
+ "chatgpt",
33269
+ "anthropic"
33270
+ ]
33271
+ },
33272
+ "SiteInsightsQueryEventsValues": {
33273
+ "oneOf": [
32781
33274
  {
32782
33275
  "type": "object",
32783
33276
  "required": [
@@ -32788,13 +33281,13 @@
32788
33281
  "column": {
32789
33282
  "type": "string",
32790
33283
  "enum": [
32791
- "utmContent"
33284
+ "datetime"
32792
33285
  ]
32793
33286
  },
32794
33287
  "values": {
32795
33288
  "type": "array",
32796
33289
  "items": {
32797
- "type": "string"
33290
+ "$ref": "#/components/schemas/Timestamp"
32798
33291
  }
32799
33292
  }
32800
33293
  }
@@ -32809,13 +33302,13 @@
32809
33302
  "column": {
32810
33303
  "type": "string",
32811
33304
  "enum": [
32812
- "eventAdDomain"
33305
+ "eventsCount"
32813
33306
  ]
32814
33307
  },
32815
33308
  "values": {
32816
33309
  "type": "array",
32817
33310
  "items": {
32818
- "type": "string"
33311
+ "type": "number"
32819
33312
  }
32820
33313
  }
32821
33314
  }
@@ -32830,13 +33323,13 @@
32830
33323
  "column": {
32831
33324
  "type": "string",
32832
33325
  "enum": [
32833
- "eventAdPlacement"
33326
+ "sessionsCount"
32834
33327
  ]
32835
33328
  },
32836
33329
  "values": {
32837
33330
  "type": "array",
32838
33331
  "items": {
32839
- "$ref": "#/components/schemas/SiteInsightsAdPlacement"
33332
+ "type": "number"
32840
33333
  }
32841
33334
  }
32842
33335
  }
@@ -32851,77 +33344,22 @@
32851
33344
  "column": {
32852
33345
  "type": "string",
32853
33346
  "enum": [
32854
- "eventTrademarkPlacement"
33347
+ "visitorsCount"
32855
33348
  ]
32856
33349
  },
32857
33350
  "values": {
32858
33351
  "type": "array",
32859
33352
  "items": {
32860
- "$ref": "#/components/schemas/SiteInsightsTrademarkPlacement"
33353
+ "type": "number"
32861
33354
  }
32862
33355
  }
32863
33356
  }
32864
- }
32865
- ]
32866
- },
32867
- "SiteInsightsQueryOperator": {
32868
- "type": "string",
32869
- "enum": [
32870
- "in",
32871
- "notIn",
32872
- "greaterThan",
32873
- "greaterThanOrEqual",
32874
- "lessThan",
32875
- "lessThanOrEqual"
32876
- ]
32877
- },
32878
- "SiteInsightsQueryEventsFilter": {
32879
- "allOf": [
32880
- {
32881
- "$ref": "#/components/schemas/SiteInsightsQueryEventsValues"
32882
- },
32883
- {
32884
- "type": "object",
32885
- "properties": {
32886
- "operator": {
32887
- "$ref": "#/components/schemas/SiteInsightsQueryOperator"
32888
- }
32889
- }
32890
- }
32891
- ]
32892
- },
32893
- "SiteInsightsQueryDateTimeColumn": {
32894
- "type": "object",
32895
- "required": [
32896
- "column"
32897
- ],
32898
- "properties": {
32899
- "column": {
32900
- "type": "string",
32901
- "enum": [
32902
- "datetime"
32903
- ]
32904
- },
32905
- "interval": {
32906
- "type": "string",
32907
- "enum": [
32908
- "hour",
32909
- "day",
32910
- "week",
32911
- "month"
32912
- ]
32913
- }
32914
- }
32915
- },
32916
- "SiteInsightsQueryEventsColumn": {
32917
- "oneOf": [
32918
- {
32919
- "$ref": "#/components/schemas/SiteInsightsQueryDateTimeColumn"
32920
33357
  },
32921
33358
  {
32922
33359
  "type": "object",
32923
33360
  "required": [
32924
- "column"
33361
+ "column",
33362
+ "values"
32925
33363
  ],
32926
33364
  "properties": {
32927
33365
  "column": {
@@ -32929,251 +33367,438 @@
32929
33367
  "enum": [
32930
33368
  "eventType"
32931
33369
  ]
33370
+ },
33371
+ "values": {
33372
+ "type": "array",
33373
+ "items": {
33374
+ "$ref": "#/components/schemas/SiteInsightsEventType"
33375
+ }
32932
33376
  }
32933
33377
  }
32934
33378
  },
32935
33379
  {
32936
33380
  "type": "object",
32937
33381
  "required": [
32938
- "column"
33382
+ "column",
33383
+ "claim",
33384
+ "values"
32939
33385
  ],
32940
33386
  "properties": {
32941
33387
  "column": {
32942
33388
  "type": "string",
32943
33389
  "enum": [
32944
- "eventsCount"
33390
+ "visitorClaim"
32945
33391
  ]
33392
+ },
33393
+ "claim": {
33394
+ "type": "string"
33395
+ },
33396
+ "values": {
33397
+ "type": "array",
33398
+ "items": {
33399
+ "type": "string"
33400
+ }
32946
33401
  }
32947
33402
  }
32948
33403
  },
32949
33404
  {
32950
33405
  "type": "object",
32951
33406
  "required": [
32952
- "column"
33407
+ "column",
33408
+ "values"
32953
33409
  ],
32954
33410
  "properties": {
32955
33411
  "column": {
32956
33412
  "type": "string",
32957
33413
  "enum": [
32958
- "sessionsCount"
33414
+ "visitorClaimProperty"
32959
33415
  ]
33416
+ },
33417
+ "values": {
33418
+ "type": "array",
33419
+ "items": {
33420
+ "type": "string"
33421
+ }
32960
33422
  }
32961
33423
  }
32962
33424
  },
32963
33425
  {
32964
33426
  "type": "object",
32965
33427
  "required": [
32966
- "column"
33428
+ "column",
33429
+ "values"
32967
33430
  ],
32968
33431
  "properties": {
32969
33432
  "column": {
32970
33433
  "type": "string",
32971
33434
  "enum": [
32972
- "visitorsCount"
33435
+ "visitorBrowser"
32973
33436
  ]
33437
+ },
33438
+ "values": {
33439
+ "type": "array",
33440
+ "items": {
33441
+ "$ref": "#/components/schemas/SiteInsightsVisitorBrowser"
33442
+ }
32974
33443
  }
32975
33444
  }
32976
33445
  },
32977
33446
  {
32978
33447
  "type": "object",
32979
33448
  "required": [
32980
- "column"
33449
+ "column",
33450
+ "values"
32981
33451
  ],
32982
33452
  "properties": {
32983
33453
  "column": {
32984
33454
  "type": "string",
32985
33455
  "enum": [
32986
- "siteSection"
33456
+ "visitorDevice"
32987
33457
  ]
33458
+ },
33459
+ "values": {
33460
+ "type": "array",
33461
+ "items": {
33462
+ "$ref": "#/components/schemas/SiteInsightsVisitorDevice"
33463
+ }
32988
33464
  }
32989
33465
  }
32990
33466
  },
32991
33467
  {
32992
33468
  "type": "object",
32993
33469
  "required": [
32994
- "column"
33470
+ "column",
33471
+ "values"
32995
33472
  ],
32996
33473
  "properties": {
32997
33474
  "column": {
32998
33475
  "type": "string",
32999
33476
  "enum": [
33000
- "siteSpace"
33477
+ "visitorOS"
33001
33478
  ]
33479
+ },
33480
+ "values": {
33481
+ "type": "array",
33482
+ "items": {
33483
+ "$ref": "#/components/schemas/SiteInsightsVisitorOS"
33484
+ }
33002
33485
  }
33003
33486
  }
33004
33487
  },
33005
33488
  {
33006
33489
  "type": "object",
33007
33490
  "required": [
33008
- "column"
33491
+ "column",
33492
+ "values"
33009
33493
  ],
33010
33494
  "properties": {
33011
33495
  "column": {
33012
33496
  "type": "string",
33013
33497
  "enum": [
33014
- "siteShareKey"
33498
+ "visitorBot"
33015
33499
  ]
33500
+ },
33501
+ "values": {
33502
+ "type": "array",
33503
+ "items": {
33504
+ "$ref": "#/components/schemas/SiteInsightsVisitorBot"
33505
+ }
33016
33506
  }
33017
33507
  }
33018
33508
  },
33019
33509
  {
33020
33510
  "type": "object",
33021
33511
  "required": [
33022
- "column"
33512
+ "column",
33513
+ "values"
33023
33514
  ],
33024
33515
  "properties": {
33025
33516
  "column": {
33026
33517
  "type": "string",
33027
33518
  "enum": [
33028
- "page"
33519
+ "eventLinkTargetValue"
33029
33520
  ]
33521
+ },
33522
+ "values": {
33523
+ "type": "array",
33524
+ "items": {
33525
+ "$ref": "#/components/schemas/ContentRef"
33526
+ }
33030
33527
  }
33031
33528
  }
33032
33529
  },
33033
33530
  {
33034
33531
  "type": "object",
33035
33532
  "required": [
33036
- "column"
33533
+ "column",
33534
+ "values"
33037
33535
  ],
33038
33536
  "properties": {
33039
33537
  "column": {
33040
33538
  "type": "string",
33041
33539
  "enum": [
33042
- "visitorGeoCountry"
33540
+ "eventLinkTargetKind"
33043
33541
  ]
33542
+ },
33543
+ "values": {
33544
+ "type": "array",
33545
+ "items": {
33546
+ "type": "string",
33547
+ "enum": [
33548
+ "url",
33549
+ "page",
33550
+ "file",
33551
+ "anchor",
33552
+ "space",
33553
+ "collection",
33554
+ "user",
33555
+ "reusable-content"
33556
+ ]
33557
+ }
33044
33558
  }
33045
33559
  }
33046
33560
  },
33047
33561
  {
33048
33562
  "type": "object",
33049
33563
  "required": [
33050
- "column"
33564
+ "column",
33565
+ "values"
33051
33566
  ],
33052
33567
  "properties": {
33053
33568
  "column": {
33054
33569
  "type": "string",
33055
33570
  "enum": [
33056
- "visitorDevice"
33571
+ "eventLinkPosition"
33057
33572
  ]
33573
+ },
33574
+ "values": {
33575
+ "type": "array",
33576
+ "items": {
33577
+ "$ref": "#/components/schemas/SiteInsightsLinkPosition"
33578
+ }
33058
33579
  }
33059
33580
  }
33060
33581
  },
33061
33582
  {
33062
33583
  "type": "object",
33063
33584
  "required": [
33064
- "column"
33585
+ "column",
33586
+ "values"
33065
33587
  ],
33066
33588
  "properties": {
33067
33589
  "column": {
33068
33590
  "type": "string",
33069
33591
  "enum": [
33070
- "visitorBrowser"
33592
+ "siteSection"
33071
33593
  ]
33594
+ },
33595
+ "values": {
33596
+ "type": "array",
33597
+ "items": {
33598
+ "type": "string",
33599
+ "nullable": true
33600
+ }
33072
33601
  }
33073
33602
  }
33074
33603
  },
33075
33604
  {
33076
33605
  "type": "object",
33077
33606
  "required": [
33078
- "column"
33607
+ "column",
33608
+ "values"
33079
33609
  ],
33080
33610
  "properties": {
33081
33611
  "column": {
33082
33612
  "type": "string",
33083
33613
  "enum": [
33084
- "visitorOS"
33614
+ "siteSpace"
33085
33615
  ]
33616
+ },
33617
+ "values": {
33618
+ "type": "array",
33619
+ "items": {
33620
+ "type": "string",
33621
+ "nullable": true
33622
+ }
33086
33623
  }
33087
33624
  }
33088
33625
  },
33089
33626
  {
33090
33627
  "type": "object",
33091
33628
  "required": [
33092
- "column"
33629
+ "column",
33630
+ "values"
33093
33631
  ],
33094
33632
  "properties": {
33095
33633
  "column": {
33096
33634
  "type": "string",
33097
33635
  "enum": [
33098
- "visitorBot"
33636
+ "siteShareKey"
33099
33637
  ]
33638
+ },
33639
+ "values": {
33640
+ "type": "array",
33641
+ "items": {
33642
+ "type": "string",
33643
+ "nullable": true
33644
+ }
33100
33645
  }
33101
33646
  }
33102
33647
  },
33103
33648
  {
33104
33649
  "type": "object",
33105
33650
  "required": [
33106
- "column"
33651
+ "column",
33652
+ "values"
33107
33653
  ],
33108
33654
  "properties": {
33109
33655
  "column": {
33110
33656
  "type": "string",
33111
33657
  "enum": [
33112
- "visitorLanguage"
33658
+ "page"
33113
33659
  ]
33660
+ },
33661
+ "values": {
33662
+ "type": "array",
33663
+ "items": {
33664
+ "oneOf": [
33665
+ {
33666
+ "type": "string",
33667
+ "nullable": true,
33668
+ "enum": [
33669
+ null
33670
+ ]
33671
+ },
33672
+ {
33673
+ "type": "object",
33674
+ "required": [
33675
+ "page",
33676
+ "space"
33677
+ ],
33678
+ "properties": {
33679
+ "page": {
33680
+ "type": "string",
33681
+ "nullable": true
33682
+ },
33683
+ "space": {
33684
+ "type": "string"
33685
+ }
33686
+ }
33687
+ }
33688
+ ]
33689
+ }
33114
33690
  }
33115
33691
  }
33116
33692
  },
33117
33693
  {
33118
33694
  "type": "object",
33119
33695
  "required": [
33120
- "column"
33696
+ "column",
33697
+ "values"
33121
33698
  ],
33122
33699
  "properties": {
33123
33700
  "column": {
33124
33701
  "type": "string",
33125
33702
  "enum": [
33126
- "eventLinkTargetValue"
33703
+ "visitorGeoCountry"
33127
33704
  ]
33705
+ },
33706
+ "values": {
33707
+ "type": "array",
33708
+ "items": {
33709
+ "type": "string",
33710
+ "nullable": true
33711
+ }
33128
33712
  }
33129
33713
  }
33130
33714
  },
33131
33715
  {
33132
33716
  "type": "object",
33133
33717
  "required": [
33134
- "column"
33718
+ "column",
33719
+ "values"
33135
33720
  ],
33136
33721
  "properties": {
33137
33722
  "column": {
33138
33723
  "type": "string",
33139
33724
  "enum": [
33140
- "eventLinkTargetKind"
33725
+ "visitorGeoPoint"
33141
33726
  ]
33727
+ },
33728
+ "values": {
33729
+ "type": "array",
33730
+ "items": {
33731
+ "type": "object",
33732
+ "nullable": true,
33733
+ "required": [
33734
+ "latitude",
33735
+ "longitude",
33736
+ "h3"
33737
+ ],
33738
+ "properties": {
33739
+ "latitude": {
33740
+ "type": "number"
33741
+ },
33742
+ "longitude": {
33743
+ "type": "number"
33744
+ },
33745
+ "h3": {
33746
+ "type": "string"
33747
+ }
33748
+ }
33749
+ }
33142
33750
  }
33143
33751
  }
33144
33752
  },
33145
33753
  {
33146
33754
  "type": "object",
33147
33755
  "required": [
33148
- "column"
33756
+ "column",
33757
+ "values"
33149
33758
  ],
33150
33759
  "properties": {
33151
33760
  "column": {
33152
33761
  "type": "string",
33153
33762
  "enum": [
33154
- "eventLinkTargetDomain"
33763
+ "visitorLanguage"
33155
33764
  ]
33765
+ },
33766
+ "values": {
33767
+ "type": "array",
33768
+ "items": {
33769
+ "type": "string",
33770
+ "nullable": true
33771
+ }
33156
33772
  }
33157
33773
  }
33158
33774
  },
33159
33775
  {
33160
33776
  "type": "object",
33161
33777
  "required": [
33162
- "column"
33778
+ "column",
33779
+ "values"
33163
33780
  ],
33164
33781
  "properties": {
33165
33782
  "column": {
33166
33783
  "type": "string",
33167
33784
  "enum": [
33168
- "eventLinkPosition"
33785
+ "eventLinkTargetDomain"
33169
33786
  ]
33787
+ },
33788
+ "values": {
33789
+ "type": "array",
33790
+ "items": {
33791
+ "type": "string",
33792
+ "nullable": true
33793
+ }
33170
33794
  }
33171
33795
  }
33172
33796
  },
33173
33797
  {
33174
33798
  "type": "object",
33175
33799
  "required": [
33176
- "column"
33800
+ "column",
33801
+ "values"
33177
33802
  ],
33178
33803
  "properties": {
33179
33804
  "column": {
@@ -33181,13 +33806,21 @@
33181
33806
  "enum": [
33182
33807
  "eventAPIOperationPath"
33183
33808
  ]
33809
+ },
33810
+ "values": {
33811
+ "type": "array",
33812
+ "items": {
33813
+ "type": "string",
33814
+ "nullable": true
33815
+ }
33184
33816
  }
33185
33817
  }
33186
33818
  },
33187
33819
  {
33188
33820
  "type": "object",
33189
33821
  "required": [
33190
- "column"
33822
+ "column",
33823
+ "values"
33191
33824
  ],
33192
33825
  "properties": {
33193
33826
  "column": {
@@ -33195,13 +33828,21 @@
33195
33828
  "enum": [
33196
33829
  "eventAPIOperationMethod"
33197
33830
  ]
33831
+ },
33832
+ "values": {
33833
+ "type": "array",
33834
+ "items": {
33835
+ "type": "string",
33836
+ "nullable": true
33837
+ }
33198
33838
  }
33199
33839
  }
33200
33840
  },
33201
33841
  {
33202
33842
  "type": "object",
33203
33843
  "required": [
33204
- "column"
33844
+ "column",
33845
+ "values"
33205
33846
  ],
33206
33847
  "properties": {
33207
33848
  "column": {
@@ -33209,13 +33850,20 @@
33209
33850
  "enum": [
33210
33851
  "eventSearchQuery"
33211
33852
  ]
33853
+ },
33854
+ "values": {
33855
+ "type": "array",
33856
+ "items": {
33857
+ "type": "string"
33858
+ }
33212
33859
  }
33213
33860
  }
33214
33861
  },
33215
33862
  {
33216
33863
  "type": "object",
33217
33864
  "required": [
33218
- "column"
33865
+ "column",
33866
+ "values"
33219
33867
  ],
33220
33868
  "properties": {
33221
33869
  "column": {
@@ -33223,118 +33871,196 @@
33223
33871
  "enum": [
33224
33872
  "pageFeedbackRating"
33225
33873
  ]
33874
+ },
33875
+ "values": {
33876
+ "type": "array",
33877
+ "items": {
33878
+ "type": "object",
33879
+ "required": [
33880
+ "ok",
33881
+ "good",
33882
+ "bad"
33883
+ ],
33884
+ "properties": {
33885
+ "ok": {
33886
+ "type": "number"
33887
+ },
33888
+ "good": {
33889
+ "type": "number"
33890
+ },
33891
+ "bad": {
33892
+ "type": "number"
33893
+ }
33894
+ }
33895
+ }
33226
33896
  }
33227
33897
  }
33228
33898
  },
33229
33899
  {
33230
33900
  "type": "object",
33231
33901
  "required": [
33232
- "column"
33902
+ "column",
33903
+ "values"
33233
33904
  ],
33234
33905
  "properties": {
33235
33906
  "column": {
33236
33907
  "type": "string",
33237
33908
  "enum": [
33238
- "referrer"
33909
+ "eventPageFeedbackRating"
33239
33910
  ]
33911
+ },
33912
+ "values": {
33913
+ "type": "array",
33914
+ "items": {
33915
+ "$ref": "#/components/schemas/PageFeedbackRating"
33916
+ }
33240
33917
  }
33241
33918
  }
33242
33919
  },
33243
33920
  {
33244
33921
  "type": "object",
33245
33922
  "required": [
33246
- "column"
33923
+ "column",
33924
+ "values"
33247
33925
  ],
33248
33926
  "properties": {
33249
33927
  "column": {
33250
33928
  "type": "string",
33251
33929
  "enum": [
33252
- "referrerDomain"
33930
+ "eventPageFeedbackComment"
33253
33931
  ]
33932
+ },
33933
+ "values": {
33934
+ "type": "array",
33935
+ "items": {
33936
+ "type": "string"
33937
+ }
33254
33938
  }
33255
33939
  }
33256
33940
  },
33257
33941
  {
33258
33942
  "type": "object",
33259
33943
  "required": [
33260
- "column"
33944
+ "column",
33945
+ "values"
33261
33946
  ],
33262
33947
  "properties": {
33263
33948
  "column": {
33264
33949
  "type": "string",
33265
33950
  "enum": [
33266
- "utmSource"
33951
+ "referrer"
33267
33952
  ]
33953
+ },
33954
+ "values": {
33955
+ "type": "array",
33956
+ "items": {
33957
+ "type": "string"
33958
+ }
33268
33959
  }
33269
33960
  }
33270
33961
  },
33271
33962
  {
33272
33963
  "type": "object",
33273
33964
  "required": [
33274
- "column"
33965
+ "column",
33966
+ "values"
33275
33967
  ],
33276
33968
  "properties": {
33277
33969
  "column": {
33278
33970
  "type": "string",
33279
33971
  "enum": [
33280
- "utmMedium"
33972
+ "referrerDomain"
33281
33973
  ]
33974
+ },
33975
+ "values": {
33976
+ "type": "array",
33977
+ "items": {
33978
+ "type": "string"
33979
+ }
33282
33980
  }
33283
33981
  }
33284
33982
  },
33285
33983
  {
33286
33984
  "type": "object",
33287
33985
  "required": [
33288
- "column"
33986
+ "column",
33987
+ "values"
33289
33988
  ],
33290
33989
  "properties": {
33291
33990
  "column": {
33292
33991
  "type": "string",
33293
33992
  "enum": [
33294
- "utmCampaign"
33993
+ "utmSource"
33295
33994
  ]
33995
+ },
33996
+ "values": {
33997
+ "type": "array",
33998
+ "items": {
33999
+ "type": "string"
34000
+ }
33296
34001
  }
33297
34002
  }
33298
34003
  },
33299
34004
  {
33300
34005
  "type": "object",
33301
34006
  "required": [
33302
- "column"
34007
+ "column",
34008
+ "values"
33303
34009
  ],
33304
34010
  "properties": {
33305
34011
  "column": {
33306
34012
  "type": "string",
33307
34013
  "enum": [
33308
- "utmTerm"
34014
+ "utmMedium"
33309
34015
  ]
34016
+ },
34017
+ "values": {
34018
+ "type": "array",
34019
+ "items": {
34020
+ "type": "string"
34021
+ }
33310
34022
  }
33311
34023
  }
33312
34024
  },
33313
34025
  {
33314
34026
  "type": "object",
33315
34027
  "required": [
33316
- "column"
34028
+ "column",
34029
+ "values"
33317
34030
  ],
33318
34031
  "properties": {
33319
34032
  "column": {
33320
34033
  "type": "string",
33321
34034
  "enum": [
33322
- "utmContent"
34035
+ "utmCampaign"
33323
34036
  ]
34037
+ },
34038
+ "values": {
34039
+ "type": "array",
34040
+ "items": {
34041
+ "type": "string"
34042
+ }
33324
34043
  }
33325
34044
  }
33326
34045
  },
33327
34046
  {
33328
34047
  "type": "object",
33329
34048
  "required": [
33330
- "column"
34049
+ "column",
34050
+ "values"
33331
34051
  ],
33332
34052
  "properties": {
33333
34053
  "column": {
33334
34054
  "type": "string",
33335
34055
  "enum": [
33336
- "visitorClaimProperty"
34056
+ "utmTerm"
33337
34057
  ]
34058
+ },
34059
+ "values": {
34060
+ "type": "array",
34061
+ "items": {
34062
+ "type": "string"
34063
+ }
33338
34064
  }
33339
34065
  }
33340
34066
  },
@@ -33342,24 +34068,28 @@
33342
34068
  "type": "object",
33343
34069
  "required": [
33344
34070
  "column",
33345
- "claim"
34071
+ "values"
33346
34072
  ],
33347
34073
  "properties": {
33348
34074
  "column": {
33349
34075
  "type": "string",
33350
34076
  "enum": [
33351
- "visitorClaim"
34077
+ "utmContent"
33352
34078
  ]
33353
34079
  },
33354
- "claim": {
33355
- "type": "string"
34080
+ "values": {
34081
+ "type": "array",
34082
+ "items": {
34083
+ "type": "string"
34084
+ }
33356
34085
  }
33357
34086
  }
33358
34087
  },
33359
34088
  {
33360
34089
  "type": "object",
33361
34090
  "required": [
33362
- "column"
34091
+ "column",
34092
+ "values"
33363
34093
  ],
33364
34094
  "properties": {
33365
34095
  "column": {
@@ -33367,13 +34097,20 @@
33367
34097
  "enum": [
33368
34098
  "eventAdDomain"
33369
34099
  ]
34100
+ },
34101
+ "values": {
34102
+ "type": "array",
34103
+ "items": {
34104
+ "type": "string"
34105
+ }
33370
34106
  }
33371
34107
  }
33372
34108
  },
33373
34109
  {
33374
34110
  "type": "object",
33375
34111
  "required": [
33376
- "column"
34112
+ "column",
34113
+ "values"
33377
34114
  ],
33378
34115
  "properties": {
33379
34116
  "column": {
@@ -33381,13 +34118,20 @@
33381
34118
  "enum": [
33382
34119
  "eventAdPlacement"
33383
34120
  ]
34121
+ },
34122
+ "values": {
34123
+ "type": "array",
34124
+ "items": {
34125
+ "$ref": "#/components/schemas/SiteInsightsAdPlacement"
34126
+ }
33384
34127
  }
33385
34128
  }
33386
34129
  },
33387
34130
  {
33388
34131
  "type": "object",
33389
34132
  "required": [
33390
- "column"
34133
+ "column",
34134
+ "values"
33391
34135
  ],
33392
34136
  "properties": {
33393
34137
  "column": {
@@ -33395,6 +34139,38 @@
33395
34139
  "enum": [
33396
34140
  "eventTrademarkPlacement"
33397
34141
  ]
34142
+ },
34143
+ "values": {
34144
+ "type": "array",
34145
+ "items": {
34146
+ "$ref": "#/components/schemas/SiteInsightsTrademarkPlacement"
34147
+ }
34148
+ }
34149
+ }
34150
+ }
34151
+ ]
34152
+ },
34153
+ "SiteInsightsQueryOperator": {
34154
+ "type": "string",
34155
+ "enum": [
34156
+ "in",
34157
+ "notIn",
34158
+ "greaterThan",
34159
+ "greaterThanOrEqual",
34160
+ "lessThan",
34161
+ "lessThanOrEqual"
34162
+ ]
34163
+ },
34164
+ "SiteInsightsQueryEventsFilter": {
34165
+ "allOf": [
34166
+ {
34167
+ "$ref": "#/components/schemas/SiteInsightsQueryEventsValues"
34168
+ },
34169
+ {
34170
+ "type": "object",
34171
+ "properties": {
34172
+ "operator": {
34173
+ "$ref": "#/components/schemas/SiteInsightsQueryOperator"
33398
34174
  }
33399
34175
  }
33400
34176
  }
@@ -33413,10 +34189,15 @@
33413
34189
  "SiteInsightsQueryEventsAggregation": {
33414
34190
  "type": "object",
33415
34191
  "required": [
33416
- "groupBy",
33417
34192
  "range"
33418
34193
  ],
33419
34194
  "properties": {
34195
+ "select": {
34196
+ "type": "array",
34197
+ "items": {
34198
+ "$ref": "#/components/schemas/SiteInsightsQueryEventsColumn"
34199
+ }
34200
+ },
33420
34201
  "where": {
33421
34202
  "type": "array",
33422
34203
  "items": {
@@ -33425,7 +34206,6 @@
33425
34206
  },
33426
34207
  "groupBy": {
33427
34208
  "type": "array",
33428
- "minItems": 1,
33429
34209
  "items": {
33430
34210
  "$ref": "#/components/schemas/SiteInsightsQueryEventsColumn"
33431
34211
  }
@@ -33451,6 +34231,12 @@
33451
34231
  },
33452
34232
  "range": {
33453
34233
  "$ref": "#/components/schemas/SiteInsightsQueryRange"
34234
+ },
34235
+ "limit": {
34236
+ "type": "integer",
34237
+ "default": 1000,
34238
+ "minimum": 1,
34239
+ "maximum": 1000
33454
34240
  }
33455
34241
  }
33456
34242
  },
@@ -33468,6 +34254,38 @@
33468
34254
  }
33469
34255
  }
33470
34256
  },
34257
+ "SiteInsightsVisitorSegment": {
34258
+ "type": "object",
34259
+ "description": "A segment of visitors with the same characteristics.",
34260
+ "properties": {
34261
+ "title": {
34262
+ "type": "string",
34263
+ "description": "The title of the visitor profile."
34264
+ },
34265
+ "claims": {
34266
+ "$ref": "#/components/schemas/PlainObject"
34267
+ },
34268
+ "events": {
34269
+ "type": "number",
34270
+ "description": "The number of events for this visitor profile."
34271
+ },
34272
+ "visitors": {
34273
+ "type": "number",
34274
+ "description": "The number of visitors for this visitor profile."
34275
+ },
34276
+ "sessions": {
34277
+ "type": "number",
34278
+ "description": "The number of sessions for this visitor profile."
34279
+ }
34280
+ },
34281
+ "required": [
34282
+ "title",
34283
+ "claims",
34284
+ "events",
34285
+ "visitors",
34286
+ "sessions"
34287
+ ]
34288
+ },
33471
34289
  "InsightsInterval": {
33472
34290
  "type": "string",
33473
34291
  "description": "The interval for grouping the results",