@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.yaml CHANGED
@@ -782,6 +782,33 @@ paths:
782
782
  schema:
783
783
  $ref: "#/components/schemas/InviteUsersAndTeams"
784
784
  "/spaces/{spaceId}/permissions/teams/{teamId}":
785
+ patch:
786
+ operationId: updateTeamPermissionInSpace
787
+ summary: Update a team's permission in a space
788
+ tags:
789
+ - spaces
790
+ security:
791
+ - user: []
792
+ parameters:
793
+ - $ref: "#/components/parameters/spaceId"
794
+ - $ref: "#/components/parameters/teamId"
795
+ requestBody:
796
+ required: true
797
+ content:
798
+ application/json:
799
+ schema:
800
+ type: object
801
+ properties:
802
+ role:
803
+ $ref: "#/components/schemas/MemberRoleOrGuest"
804
+ responses:
805
+ "204":
806
+ description: Team permission was updated
807
+ "404":
808
+ description: No team found with the given ID
809
+ $ref: "#/components/responses/NotFoundError"
810
+ default:
811
+ $ref: "#/components/responses/UnexpectedError"
785
812
  delete:
786
813
  operationId: removeTeamFromSpace
787
814
  summary: Remove a team from a space
@@ -803,7 +830,68 @@ paths:
803
830
  $ref: "#/components/responses/NotFoundError"
804
831
  default:
805
832
  $ref: "#/components/responses/UnexpectedError"
833
+ "/spaces/{spaceId}/permissions/users":
834
+ get:
835
+ operationId: listUserPermissionsInSpace
836
+ summary: List permissions for users in a space.
837
+ tags:
838
+ - permissions
839
+ - spaces
840
+ security:
841
+ - user: []
842
+ parameters:
843
+ - $ref: "#/components/parameters/spaceId"
844
+ - $ref: "#/components/parameters/listPage"
845
+ - $ref: "#/components/parameters/listLimit"
846
+ responses:
847
+ "200":
848
+ description: Listing of users who have been added to a space.
849
+ content:
850
+ application/json:
851
+ schema:
852
+ allOf:
853
+ - $ref: "#/components/schemas/List"
854
+ - type: object
855
+ required:
856
+ - items
857
+ properties:
858
+ items:
859
+ type: array
860
+ items:
861
+ $ref: "#/components/schemas/UserContentPermission"
862
+ "404":
863
+ description: No space was found with the given Id
864
+ $ref: "#/components/responses/NotFoundError"
865
+ default:
866
+ $ref: "#/components/responses/UnexpectedError"
806
867
  "/spaces/{spaceId}/permissions/users/{userId}":
868
+ patch:
869
+ operationId: updateUserPermissionInSpace
870
+ summary: Update a user's permission a space
871
+ tags:
872
+ - spaces
873
+ security:
874
+ - user: []
875
+ parameters:
876
+ - $ref: "#/components/parameters/spaceId"
877
+ - $ref: "#/components/parameters/userId"
878
+ requestBody:
879
+ required: true
880
+ content:
881
+ application/json:
882
+ schema:
883
+ type: object
884
+ properties:
885
+ role:
886
+ $ref: "#/components/schemas/MemberRoleOrGuest"
887
+ responses:
888
+ "204":
889
+ description: User permission was updated
890
+ "404":
891
+ description: No user found with the given ID
892
+ $ref: "#/components/responses/NotFoundError"
893
+ default:
894
+ $ref: "#/components/responses/UnexpectedError"
807
895
  delete:
808
896
  operationId: removeUserFromSpace
809
897
  summary: Remove a user from a space
@@ -822,6 +910,49 @@ paths:
822
910
  $ref: "#/components/responses/NotFoundError"
823
911
  default:
824
912
  $ref: "#/components/responses/UnexpectedError"
913
+ "/spaces/{spaceId}/permissions/teams":
914
+ get:
915
+ operationId: listTeamPermissionsInSpace
916
+ summary: List permissions for teams in a space.
917
+ tags:
918
+ - permissions
919
+ - spaces
920
+ security:
921
+ - user: []
922
+ parameters:
923
+ - $ref: "#/components/parameters/spaceId"
924
+ - $ref: "#/components/parameters/listPage"
925
+ - $ref: "#/components/parameters/listLimit"
926
+ responses:
927
+ "200":
928
+ description: Listing of teams who have been added to a space.
929
+ content:
930
+ application/json:
931
+ schema:
932
+ allOf:
933
+ - $ref: "#/components/schemas/List"
934
+ - type: object
935
+ required:
936
+ - items
937
+ properties:
938
+ items:
939
+ type: array
940
+ items:
941
+ type: object
942
+ description: Permission of a team in a space.
943
+ properties:
944
+ permission:
945
+ $ref: "#/components/schemas/MemberRole"
946
+ team:
947
+ $ref: "#/components/schemas/OrganizationTeam"
948
+ required:
949
+ - permission
950
+ - team
951
+ "404":
952
+ description: No space was found with the given Id
953
+ $ref: "#/components/responses/NotFoundError"
954
+ default:
955
+ $ref: "#/components/responses/UnexpectedError"
825
956
  "/spaces/{spaceId}/content":
826
957
  get:
827
958
  operationId: getCurrentRevision
@@ -3289,7 +3420,74 @@ paths:
3289
3420
  application/json:
3290
3421
  schema:
3291
3422
  $ref: "#/components/schemas/InviteUsersAndTeams"
3423
+ "/collections/{collectionId}/permissions/teams":
3424
+ get:
3425
+ operationId: listTeamPermissionsInCollection
3426
+ summary: List permissions for teams in a collection.
3427
+ tags:
3428
+ - permissions
3429
+ - collections
3430
+ security:
3431
+ - user: []
3432
+ parameters:
3433
+ - $ref: "#/components/parameters/collectionId"
3434
+ - $ref: "#/components/parameters/listPage"
3435
+ - $ref: "#/components/parameters/listLimit"
3436
+ responses:
3437
+ "200":
3438
+ description: Listing of teams who have been added to a collection.
3439
+ content:
3440
+ application/json:
3441
+ schema:
3442
+ allOf:
3443
+ - $ref: "#/components/schemas/List"
3444
+ - type: object
3445
+ required:
3446
+ - items
3447
+ properties:
3448
+ items:
3449
+ type: array
3450
+ items:
3451
+ type: object
3452
+ description: Permission of a team in a content.
3453
+ properties:
3454
+ permission:
3455
+ $ref: "#/components/schemas/MemberRole"
3456
+ team:
3457
+ $ref: "#/components/schemas/OrganizationTeam"
3458
+ required:
3459
+ - permission
3460
+ - team
3461
+ default:
3462
+ $ref: "#/components/responses/UnexpectedError"
3292
3463
  "/collections/{collectionId}/permissions/teams/{teamId}":
3464
+ patch:
3465
+ operationId: updateTeamPermissionInCollection
3466
+ summary: Update a team's permission a collection
3467
+ tags:
3468
+ - collections
3469
+ security:
3470
+ - user: []
3471
+ parameters:
3472
+ - $ref: "#/components/parameters/collectionId"
3473
+ - $ref: "#/components/parameters/teamId"
3474
+ requestBody:
3475
+ required: true
3476
+ content:
3477
+ application/json:
3478
+ schema:
3479
+ type: object
3480
+ properties:
3481
+ role:
3482
+ $ref: "#/components/schemas/MemberRoleOrGuest"
3483
+ responses:
3484
+ "204":
3485
+ description: Team permission was updated
3486
+ "404":
3487
+ description: No team found with the given ID
3488
+ $ref: "#/components/responses/NotFoundError"
3489
+ default:
3490
+ $ref: "#/components/responses/UnexpectedError"
3293
3491
  delete:
3294
3492
  operationId: removeTeamFromCollection
3295
3493
  summary: Remove a team from a collection
@@ -3308,7 +3506,68 @@ paths:
3308
3506
  $ref: "#/components/responses/NotFoundError"
3309
3507
  default:
3310
3508
  $ref: "#/components/responses/UnexpectedError"
3509
+ "/collections/{collectionId}/permissions/users":
3510
+ get:
3511
+ operationId: listUserPermissionsInCollection
3512
+ summary: List permissions for users in a collection.
3513
+ tags:
3514
+ - permissions
3515
+ - collections
3516
+ security:
3517
+ - user: []
3518
+ parameters:
3519
+ - $ref: "#/components/parameters/collectionId"
3520
+ - $ref: "#/components/parameters/listPage"
3521
+ - $ref: "#/components/parameters/listLimit"
3522
+ responses:
3523
+ "200":
3524
+ description: Listing of users who have been added to a collection.
3525
+ content:
3526
+ application/json:
3527
+ schema:
3528
+ allOf:
3529
+ - $ref: "#/components/schemas/List"
3530
+ - type: object
3531
+ required:
3532
+ - items
3533
+ properties:
3534
+ items:
3535
+ type: array
3536
+ items:
3537
+ $ref: "#/components/schemas/UserContentPermission"
3538
+ "404":
3539
+ description: No space found with the given Id
3540
+ $ref: "#/components/responses/NotFoundError"
3541
+ default:
3542
+ $ref: "#/components/responses/UnexpectedError"
3311
3543
  "/collections/{collectionId}/permissions/users/{userId}":
3544
+ patch:
3545
+ operationId: updateUserPermissionInCollection
3546
+ summary: Update a user's permission a collection
3547
+ tags:
3548
+ - collections
3549
+ security:
3550
+ - user: []
3551
+ parameters:
3552
+ - $ref: "#/components/parameters/collectionId"
3553
+ - $ref: "#/components/parameters/userId"
3554
+ requestBody:
3555
+ required: true
3556
+ content:
3557
+ application/json:
3558
+ schema:
3559
+ type: object
3560
+ properties:
3561
+ role:
3562
+ $ref: "#/components/schemas/MemberRoleOrGuest"
3563
+ responses:
3564
+ "204":
3565
+ description: User permission was updated
3566
+ "404":
3567
+ description: No user found with the given ID
3568
+ $ref: "#/components/responses/NotFoundError"
3569
+ default:
3570
+ $ref: "#/components/responses/UnexpectedError"
3312
3571
  delete:
3313
3572
  operationId: removeUserFromCollection
3314
3573
  summary: Remove a user from a collection
@@ -5054,6 +5313,69 @@ paths:
5054
5313
  post:
5055
5314
  operationId: migrateOrganizationPlan
5056
5315
  summary: Migrate an organization's legacy billing plan to new pricing
5316
+ tags:
5317
+ - organizations
5318
+ security:
5319
+ - user-internal: []
5320
+ parameters:
5321
+ - $ref: "#/components/parameters/organizationId"
5322
+ requestBody:
5323
+ required: true
5324
+ content:
5325
+ application/json:
5326
+ schema:
5327
+ type: object
5328
+ properties:
5329
+ interval:
5330
+ description: The desired billing interval
5331
+ $ref: "#/components/schemas/BillingInterval"
5332
+ product:
5333
+ type: string
5334
+ description: The new product to upgrade to
5335
+ enum:
5336
+ - free_2024
5337
+ - plus_2024
5338
+ - pro_2024
5339
+ changes:
5340
+ type: object
5341
+ description: Changes to apply to the organization and its sites before upgrading
5342
+ minProperties: 1
5343
+ properties:
5344
+ removeMembers:
5345
+ description: A list of member identifiers to be removed
5346
+ type: array
5347
+ items:
5348
+ type: string
5349
+ updateSiteTypes:
5350
+ 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.
5351
+ type: array
5352
+ items:
5353
+ type: object
5354
+ properties:
5355
+ id:
5356
+ description: The site identifier
5357
+ type: string
5358
+ type:
5359
+ description: The new site type
5360
+ type: string
5361
+ enum:
5362
+ - basic
5363
+ - premium
5364
+ - ultimate
5365
+ required:
5366
+ - id
5367
+ - type
5368
+ required:
5369
+ - product
5370
+ - interval
5371
+ responses:
5372
+ "205":
5373
+ description: Organization migrated to new pricing
5374
+ default:
5375
+ $ref: "#/components/responses/UnexpectedError"
5376
+ get:
5377
+ operationId: previewMigrateOrganizationPlan
5378
+ summary: Preview a migration of an organization to new pricing.
5057
5379
  tags:
5058
5380
  - organizations
5059
5381
  security:
@@ -5076,36 +5398,12 @@ paths:
5076
5398
  - free_2024
5077
5399
  - plus_2024
5078
5400
  - pro_2024
5079
- responses:
5080
- "205":
5081
- description: Organization migrated to new pricing
5082
- default:
5083
- $ref: "#/components/responses/UnexpectedError"
5084
- get:
5085
- operationId: previewMigrateOrganizationPlan
5086
- summary: Preview a migration of an organization to new pricing.
5087
- tags:
5088
- - organizations
5089
- security:
5090
- - user-internal: []
5091
- parameters:
5092
- - $ref: "#/components/parameters/organizationId"
5093
- - name: interval
5094
- in: query
5095
- required: true
5096
- description: The desired billing interval
5097
- schema:
5098
- $ref: "#/components/schemas/BillingInterval"
5099
- - name: product
5401
+ - name: removedMembersCount
5100
5402
  in: query
5101
5403
  required: true
5102
- description: The new product to upgrade to
5404
+ description: How many members have been deselected by the user
5103
5405
  schema:
5104
- type: string
5105
- enum:
5106
- - free_2024
5107
- - plus_2024
5108
- - pro_2024
5406
+ type: number
5109
5407
  responses:
5110
5408
  "200":
5111
5409
  description: OK
@@ -5114,8 +5412,26 @@ paths:
5114
5412
  schema:
5115
5413
  type: object
5116
5414
  properties:
5415
+ totals:
5416
+ type: object
5417
+ properties:
5418
+ members:
5419
+ description: Count of all members
5420
+ type: number
5421
+ premiumSites:
5422
+ description: Count of all premium sites
5423
+ type: number
5424
+ ultimateSites:
5425
+ description: Count of all ultimate sites
5426
+ type: number
5427
+ required:
5428
+ - members
5429
+ - premiumSites
5430
+ - ultimateSites
5117
5431
  invoice:
5118
5432
  $ref: "#/components/schemas/BillingInvoicePreview"
5433
+ required:
5434
+ - totals
5119
5435
  default:
5120
5436
  $ref: "#/components/responses/UnexpectedError"
5121
5437
  "/orgs/{organizationId}/billing/migrate/sites":
@@ -7765,6 +8081,24 @@ paths:
7765
8081
  $ref: "#/components/schemas/SearchAIAnswerStream"
7766
8082
  default:
7767
8083
  $ref: "#/components/responses/UnexpectedError"
8084
+ "/orgs/{organizationId}/sites/{siteId}/ask/questions":
8085
+ get:
8086
+ operationId: streamRecommendedQuestionsInSite
8087
+ summary: Stream a list of questions that can be asked in a site.
8088
+ security:
8089
+ - user: []
8090
+ parameters:
8091
+ - $ref: "#/components/parameters/organizationId"
8092
+ - $ref: "#/components/parameters/siteId"
8093
+ responses:
8094
+ "200":
8095
+ description: OK
8096
+ content:
8097
+ text/event-stream:
8098
+ schema:
8099
+ $ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
8100
+ default:
8101
+ $ref: "#/components/responses/UnexpectedError"
7768
8102
  "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
7769
8103
  patch:
7770
8104
  operationId: updateSiteSpaceById
@@ -8426,6 +8760,31 @@ paths:
8426
8760
  application/json:
8427
8761
  schema:
8428
8762
  $ref: "#/components/schemas/SiteInsightsQueryEventsAggregation"
8763
+ "/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments":
8764
+ get:
8765
+ operationId: listSiteVisitorSegments
8766
+ summary: List visitor segments in a site.
8767
+ tags:
8768
+ - sites
8769
+ parameters:
8770
+ - $ref: "#/components/parameters/organizationId"
8771
+ - $ref: "#/components/parameters/siteId"
8772
+ responses:
8773
+ "200":
8774
+ description: List of visitor segments in the site.
8775
+ content:
8776
+ application/json:
8777
+ schema:
8778
+ allOf:
8779
+ - $ref: "#/components/schemas/List"
8780
+ - type: object
8781
+ required:
8782
+ - items
8783
+ properties:
8784
+ items:
8785
+ type: array
8786
+ items:
8787
+ $ref: "#/components/schemas/SiteInsightsVisitorSegment"
8429
8788
  "/orgs/{organizationId}/sites/{siteId}/insights/ads":
8430
8789
  get:
8431
8790
  operationId: getAdsInsightsForSiteById
@@ -12666,6 +13025,51 @@ components:
12666
13025
  - users
12667
13026
  required:
12668
13027
  - role
13028
+ UserContentPermission:
13029
+ type: object
13030
+ description: Permission of a user in a content.
13031
+ properties:
13032
+ permission:
13033
+ $ref: "#/components/schemas/MemberRole"
13034
+ user:
13035
+ $ref: "#/components/schemas/User"
13036
+ required:
13037
+ - permission
13038
+ - user
13039
+ OrganizationTeamTitle:
13040
+ type: string
13041
+ description: Title of the team
13042
+ minLength: 1
13043
+ maxLength: 64
13044
+ OrganizationTeam:
13045
+ type: object
13046
+ properties:
13047
+ object:
13048
+ type: string
13049
+ description: Type of Object, always equals to "team"
13050
+ enum:
13051
+ - team
13052
+ id:
13053
+ type: string
13054
+ description: Unique identifier for the team.
13055
+ title:
13056
+ $ref: "#/components/schemas/OrganizationTeamTitle"
13057
+ members:
13058
+ type: integer
13059
+ description: Count of members in this team.
13060
+ spaces:
13061
+ type: number
13062
+ description: Count of spaces this team has access to.
13063
+ createdAt:
13064
+ description: Date at which the team was created.
13065
+ $ref: "#/components/schemas/Timestamp"
13066
+ required:
13067
+ - object
13068
+ - id
13069
+ - title
13070
+ - members
13071
+ - spaces
13072
+ - createdAt
12669
13073
  RevisionPageGroup:
12670
13074
  allOf:
12671
13075
  - $ref: "#/components/schemas/RevisionPageBase"
@@ -15004,17 +15408,6 @@ components:
15004
15408
  description: Reactions to remove from the comment.
15005
15409
  items:
15006
15410
  type: string
15007
- UserContentPermission:
15008
- type: object
15009
- description: Permission of a user in a content.
15010
- properties:
15011
- permission:
15012
- $ref: "#/components/schemas/MemberRole"
15013
- user:
15014
- $ref: "#/components/schemas/User"
15015
- required:
15016
- - permission
15017
- - user
15018
15411
  Color:
15019
15412
  type: string
15020
15413
  pattern: ^#(?:[0-9a-fA-F]{3}){1,2}$
@@ -17688,40 +18081,6 @@ components:
17688
18081
  required:
17689
18082
  - permission
17690
18083
  - space
17691
- OrganizationTeamTitle:
17692
- type: string
17693
- description: Title of the team
17694
- minLength: 1
17695
- maxLength: 64
17696
- OrganizationTeam:
17697
- type: object
17698
- properties:
17699
- object:
17700
- type: string
17701
- description: Type of Object, always equals to "team"
17702
- enum:
17703
- - team
17704
- id:
17705
- type: string
17706
- description: Unique identifier for the team.
17707
- title:
17708
- $ref: "#/components/schemas/OrganizationTeamTitle"
17709
- members:
17710
- type: integer
17711
- description: Count of members in this team.
17712
- spaces:
17713
- type: number
17714
- description: Count of spaces this team has access to.
17715
- createdAt:
17716
- description: Date at which the team was created.
17717
- $ref: "#/components/schemas/Timestamp"
17718
- required:
17719
- - object
17720
- - id
17721
- - title
17722
- - members
17723
- - spaces
17724
- - createdAt
17725
18084
  TeamMemberRole:
17726
18085
  type: string
17727
18086
  description: |
@@ -18632,6 +18991,19 @@ components:
18632
18991
  required:
18633
18992
  - type
18634
18993
  - plan
18994
+ CustomizationTheme:
18995
+ type: string
18996
+ description: |
18997
+ The theme to apply to the site. Supercedes the old header preset themes.
18998
+ - `clean`: Modern theme featuring translucency and minimally-styled elements.
18999
+ - `muted`: Sophisticated theme with decreased contrast between elements.
19000
+ - `bold`: High-impact theme with prominent colors and strong contrasts.
19001
+ - `gradient`: Trendy theme featuring colorful gradients and splashes of color.
19002
+ enum:
19003
+ - clean
19004
+ - muted
19005
+ - bold
19006
+ - gradient
18635
19007
  CustomizationTint:
18636
19008
  type: object
18637
19009
  properties:
@@ -18674,6 +19046,8 @@ components:
18674
19046
  styling:
18675
19047
  type: object
18676
19048
  properties:
19049
+ theme:
19050
+ $ref: "#/components/schemas/CustomizationTheme"
18677
19051
  primaryColor:
18678
19052
  $ref: "#/components/schemas/CustomizationThemedColor"
18679
19053
  tint:
@@ -18761,6 +19135,8 @@ components:
18761
19135
  required:
18762
19136
  - groups
18763
19137
  themes:
19138
+ description: |
19139
+ Customization options for the dark/light theme modes.
18764
19140
  type: object
18765
19141
  properties:
18766
19142
  default:
@@ -19480,6 +19856,7 @@ components:
19480
19856
  - sidebar
19481
19857
  - ad
19482
19858
  - footer
19859
+ - pdf
19483
19860
  SiteInsightsEventTrademarkClick:
19484
19861
  allOf:
19485
19862
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -19554,518 +19931,397 @@ components:
19554
19931
  - $ref: "#/components/schemas/SiteInsightsEventTrademarkClick"
19555
19932
  - $ref: "#/components/schemas/SiteInsightsEventAdClick"
19556
19933
  - $ref: "#/components/schemas/SiteInsightsEventAdDisplay"
19557
- SiteInsightsEventType:
19558
- type: string
19559
- enum:
19560
- - page_view
19561
- - search_open
19562
- - search_type_query
19563
- - search_open_result
19564
- - page_post_feedback
19565
- - page_post_feedback_comment
19566
- - ask_question
19567
- - link_click
19568
- - api_client_open
19569
- - api_client_request
19570
- - ad_click
19571
- - ad_display
19572
- - trademark_click
19573
- SiteInsightsVisitorBrowser:
19574
- type: string
19575
- enum:
19576
- - chrome
19577
- - firefox
19578
- - safari
19579
- - edge
19580
- - ie
19581
- - opera
19582
- - unknown
19583
- SiteInsightsVisitorDevice:
19584
- type: string
19585
- enum:
19586
- - desktop
19587
- - tablet
19588
- - mobile
19589
- - unknown
19590
- SiteInsightsVisitorOS:
19591
- type: string
19592
- enum:
19593
- - windows
19594
- - macos
19595
- - linux
19596
- - android
19597
- - ios
19598
- - unknown
19599
- SiteInsightsVisitorBot:
19600
- type: string
19601
- nullable: true
19602
- enum:
19603
- - unknown
19604
- - googlebot
19605
- - bingbot
19606
- - duckduckbot
19607
- - facebookbot
19608
- - applebot
19609
- - chatgpt
19610
- - anthropic
19611
- SiteInsightsQueryEventsValues:
19934
+ SiteInsightsQueryDateTimeColumn:
19935
+ type: object
19936
+ required:
19937
+ - column
19938
+ properties:
19939
+ column:
19940
+ type: string
19941
+ enum:
19942
+ - datetime
19943
+ interval:
19944
+ type: string
19945
+ enum:
19946
+ - hour
19947
+ - day
19948
+ - week
19949
+ - month
19950
+ SiteInsightsQueryEventsColumn:
19612
19951
  oneOf:
19952
+ - $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
19613
19953
  - type: object
19614
19954
  required:
19615
19955
  - column
19616
- - values
19617
19956
  properties:
19618
19957
  column:
19619
19958
  type: string
19620
19959
  enum:
19621
- - datetime
19622
- values:
19623
- type: array
19624
- items:
19625
- $ref: "#/components/schemas/Timestamp"
19960
+ - eventType
19626
19961
  - type: object
19627
19962
  required:
19628
19963
  - column
19629
- - values
19630
19964
  properties:
19631
19965
  column:
19632
19966
  type: string
19633
19967
  enum:
19634
19968
  - eventsCount
19635
- values:
19636
- type: array
19637
- items:
19638
- type: number
19639
19969
  - type: object
19640
19970
  required:
19641
19971
  - column
19642
- - values
19643
19972
  properties:
19644
19973
  column:
19645
19974
  type: string
19646
19975
  enum:
19647
19976
  - sessionsCount
19648
- values:
19649
- type: array
19650
- items:
19651
- type: number
19652
19977
  - type: object
19653
19978
  required:
19654
19979
  - column
19655
- - values
19656
19980
  properties:
19657
19981
  column:
19658
19982
  type: string
19659
19983
  enum:
19660
19984
  - visitorsCount
19661
- values:
19662
- type: array
19663
- items:
19664
- type: number
19665
19985
  - type: object
19666
19986
  required:
19667
19987
  - column
19668
- - values
19669
19988
  properties:
19670
19989
  column:
19671
19990
  type: string
19672
19991
  enum:
19673
- - eventType
19674
- values:
19675
- type: array
19676
- items:
19677
- $ref: "#/components/schemas/SiteInsightsEventType"
19992
+ - siteSection
19678
19993
  - type: object
19679
19994
  required:
19680
19995
  - column
19681
- - claim
19682
- - values
19683
19996
  properties:
19684
19997
  column:
19685
19998
  type: string
19686
19999
  enum:
19687
- - visitorClaim
19688
- claim:
19689
- type: string
19690
- values:
19691
- type: array
19692
- items:
19693
- type: string
20000
+ - siteSpace
19694
20001
  - type: object
19695
20002
  required:
19696
20003
  - column
19697
- - values
19698
20004
  properties:
19699
20005
  column:
19700
20006
  type: string
19701
20007
  enum:
19702
- - visitorClaimProperty
19703
- values:
19704
- type: array
19705
- items:
19706
- type: string
20008
+ - siteShareKey
19707
20009
  - type: object
19708
20010
  required:
19709
20011
  - column
19710
- - values
19711
20012
  properties:
19712
20013
  column:
19713
20014
  type: string
19714
20015
  enum:
19715
- - visitorBrowser
19716
- values:
19717
- type: array
19718
- items:
19719
- $ref: "#/components/schemas/SiteInsightsVisitorBrowser"
20016
+ - page
19720
20017
  - type: object
19721
20018
  required:
19722
20019
  - column
19723
- - values
19724
20020
  properties:
19725
20021
  column:
19726
20022
  type: string
19727
20023
  enum:
19728
- - visitorDevice
19729
- values:
19730
- type: array
19731
- items:
19732
- $ref: "#/components/schemas/SiteInsightsVisitorDevice"
20024
+ - visitorGeoCountry
19733
20025
  - type: object
19734
20026
  required:
19735
20027
  - column
19736
- - values
19737
20028
  properties:
19738
20029
  column:
19739
20030
  type: string
19740
20031
  enum:
19741
- - visitorOS
19742
- values:
19743
- type: array
19744
- items:
19745
- $ref: "#/components/schemas/SiteInsightsVisitorOS"
20032
+ - visitorGeoPoint
20033
+ precision:
20034
+ type: integer
20035
+ minimum: 0
20036
+ maximum: 15
19746
20037
  - type: object
19747
20038
  required:
19748
20039
  - column
19749
- - values
19750
20040
  properties:
19751
20041
  column:
19752
20042
  type: string
19753
20043
  enum:
19754
- - visitorBot
19755
- values:
19756
- type: array
19757
- items:
19758
- $ref: "#/components/schemas/SiteInsightsVisitorBot"
20044
+ - visitorDevice
19759
20045
  - type: object
19760
20046
  required:
19761
20047
  - column
19762
- - values
19763
20048
  properties:
19764
20049
  column:
19765
20050
  type: string
19766
20051
  enum:
19767
- - eventLinkTargetValue
19768
- values:
19769
- type: array
19770
- items:
19771
- $ref: "#/components/schemas/ContentRef"
20052
+ - visitorBrowser
19772
20053
  - type: object
19773
20054
  required:
19774
20055
  - column
19775
- - values
19776
20056
  properties:
19777
20057
  column:
19778
20058
  type: string
19779
20059
  enum:
19780
- - eventLinkTargetKind
19781
- values:
19782
- type: array
19783
- items:
19784
- type: string
19785
- enum:
19786
- - url
19787
- - page
19788
- - file
19789
- - anchor
19790
- - space
19791
- - collection
19792
- - user
19793
- - reusable-content
20060
+ - visitorOS
19794
20061
  - type: object
19795
20062
  required:
19796
20063
  - column
19797
- - values
19798
20064
  properties:
19799
20065
  column:
19800
20066
  type: string
19801
20067
  enum:
19802
- - eventLinkPosition
19803
- values:
19804
- type: array
19805
- items:
19806
- $ref: "#/components/schemas/SiteInsightsLinkPosition"
20068
+ - visitorBot
19807
20069
  - type: object
19808
20070
  required:
19809
20071
  - column
19810
- - values
19811
20072
  properties:
19812
20073
  column:
19813
20074
  type: string
19814
20075
  enum:
19815
- - siteSection
19816
- values:
19817
- type: array
19818
- items:
19819
- type: string
19820
- nullable: true
20076
+ - visitorLanguage
19821
20077
  - type: object
19822
20078
  required:
19823
20079
  - column
19824
- - values
19825
20080
  properties:
19826
20081
  column:
19827
20082
  type: string
19828
20083
  enum:
19829
- - siteSpace
19830
- values:
19831
- type: array
19832
- items:
19833
- type: string
19834
- nullable: true
20084
+ - eventLinkTargetValue
19835
20085
  - type: object
19836
20086
  required:
19837
20087
  - column
19838
- - values
19839
20088
  properties:
19840
20089
  column:
19841
20090
  type: string
19842
20091
  enum:
19843
- - siteShareKey
19844
- values:
19845
- type: array
19846
- items:
19847
- type: string
19848
- nullable: true
20092
+ - eventLinkTargetKind
19849
20093
  - type: object
19850
20094
  required:
19851
20095
  - column
19852
- - values
19853
20096
  properties:
19854
20097
  column:
19855
20098
  type: string
19856
20099
  enum:
19857
- - page
19858
- values:
19859
- type: array
19860
- items:
19861
- type: object
19862
- required:
19863
- - page
19864
- - space
19865
- properties:
19866
- page:
19867
- type: string
19868
- nullable: true
19869
- space:
19870
- type: string
20100
+ - eventLinkTargetDomain
19871
20101
  - type: object
19872
20102
  required:
19873
20103
  - column
19874
- - values
19875
20104
  properties:
19876
20105
  column:
19877
20106
  type: string
19878
20107
  enum:
19879
- - visitorGeoCountry
19880
- values:
19881
- type: array
19882
- items:
19883
- type: string
19884
- nullable: true
20108
+ - eventLinkPosition
19885
20109
  - type: object
19886
20110
  required:
19887
20111
  - column
19888
- - values
19889
20112
  properties:
19890
20113
  column:
19891
20114
  type: string
19892
20115
  enum:
19893
- - visitorLanguage
19894
- values:
19895
- type: array
19896
- items:
19897
- type: string
19898
- nullable: true
20116
+ - eventAPIOperationPath
19899
20117
  - type: object
19900
20118
  required:
19901
20119
  - column
19902
- - values
19903
20120
  properties:
19904
20121
  column:
19905
20122
  type: string
19906
20123
  enum:
19907
- - eventLinkTargetDomain
19908
- values:
19909
- type: array
19910
- items:
19911
- type: string
19912
- nullable: true
20124
+ - eventAPIOperationMethod
19913
20125
  - type: object
19914
20126
  required:
19915
20127
  - column
19916
- - values
19917
20128
  properties:
19918
20129
  column:
19919
20130
  type: string
19920
20131
  enum:
19921
- - eventAPIOperationPath
19922
- values:
19923
- type: array
19924
- items:
19925
- type: string
19926
- nullable: true
20132
+ - eventSearchQuery
19927
20133
  - type: object
19928
20134
  required:
19929
20135
  - column
19930
- - values
19931
20136
  properties:
19932
20137
  column:
19933
20138
  type: string
19934
20139
  enum:
19935
- - eventAPIOperationMethod
19936
- values:
19937
- type: array
19938
- items:
19939
- type: string
19940
- nullable: true
20140
+ - eventPageFeedbackRating
19941
20141
  - type: object
19942
20142
  required:
19943
20143
  - column
19944
- - values
19945
20144
  properties:
19946
20145
  column:
19947
20146
  type: string
19948
20147
  enum:
19949
- - eventSearchQuery
19950
- values:
19951
- type: array
19952
- items:
19953
- type: string
20148
+ - eventPageFeedbackComment
19954
20149
  - type: object
19955
20150
  required:
19956
20151
  - column
19957
- - values
19958
20152
  properties:
19959
20153
  column:
19960
20154
  type: string
19961
20155
  enum:
19962
20156
  - pageFeedbackRating
19963
- values:
19964
- type: array
19965
- items:
19966
- type: object
19967
- required:
19968
- - ok
19969
- - good
19970
- - bad
19971
- properties:
19972
- ok:
19973
- type: number
19974
- good:
19975
- type: number
19976
- bad:
19977
- type: number
19978
20157
  - type: object
19979
20158
  required:
19980
20159
  - column
19981
- - values
19982
20160
  properties:
19983
20161
  column:
19984
20162
  type: string
19985
20163
  enum:
19986
20164
  - referrer
19987
- values:
19988
- type: array
19989
- items:
19990
- type: string
19991
20165
  - type: object
19992
20166
  required:
19993
20167
  - column
19994
- - values
19995
20168
  properties:
19996
20169
  column:
19997
20170
  type: string
19998
20171
  enum:
19999
20172
  - referrerDomain
20000
- values:
20001
- type: array
20002
- items:
20003
- type: string
20004
20173
  - type: object
20005
20174
  required:
20006
20175
  - column
20007
- - values
20008
20176
  properties:
20009
20177
  column:
20010
20178
  type: string
20011
20179
  enum:
20012
20180
  - utmSource
20013
- values:
20014
- type: array
20015
- items:
20016
- type: string
20017
20181
  - type: object
20018
20182
  required:
20019
20183
  - column
20020
- - values
20021
20184
  properties:
20022
20185
  column:
20023
20186
  type: string
20024
20187
  enum:
20025
20188
  - utmMedium
20026
- values:
20027
- type: array
20028
- items:
20029
- type: string
20030
20189
  - type: object
20031
20190
  required:
20032
20191
  - column
20033
- - values
20034
20192
  properties:
20035
20193
  column:
20036
20194
  type: string
20037
20195
  enum:
20038
20196
  - utmCampaign
20039
- values:
20040
- type: array
20041
- items:
20042
- type: string
20043
20197
  - type: object
20044
20198
  required:
20045
20199
  - column
20046
- - values
20047
20200
  properties:
20048
20201
  column:
20049
20202
  type: string
20050
20203
  enum:
20051
20204
  - utmTerm
20052
- values:
20053
- type: array
20054
- items:
20055
- type: string
20056
20205
  - type: object
20057
20206
  required:
20058
20207
  - column
20059
- - values
20060
20208
  properties:
20061
20209
  column:
20062
20210
  type: string
20063
20211
  enum:
20064
20212
  - utmContent
20213
+ - type: object
20214
+ required:
20215
+ - column
20216
+ properties:
20217
+ column:
20218
+ type: string
20219
+ enum:
20220
+ - visitorClaimProperty
20221
+ - type: object
20222
+ required:
20223
+ - column
20224
+ - claim
20225
+ properties:
20226
+ column:
20227
+ type: string
20228
+ enum:
20229
+ - visitorClaim
20230
+ claim:
20231
+ type: string
20232
+ - type: object
20233
+ required:
20234
+ - column
20235
+ properties:
20236
+ column:
20237
+ type: string
20238
+ enum:
20239
+ - eventAdDomain
20240
+ - type: object
20241
+ required:
20242
+ - column
20243
+ properties:
20244
+ column:
20245
+ type: string
20246
+ enum:
20247
+ - eventAdPlacement
20248
+ - type: object
20249
+ required:
20250
+ - column
20251
+ properties:
20252
+ column:
20253
+ type: string
20254
+ enum:
20255
+ - eventTrademarkPlacement
20256
+ SiteInsightsEventType:
20257
+ type: string
20258
+ enum:
20259
+ - page_view
20260
+ - search_open
20261
+ - search_type_query
20262
+ - search_open_result
20263
+ - page_post_feedback
20264
+ - page_post_feedback_comment
20265
+ - ask_question
20266
+ - link_click
20267
+ - api_client_open
20268
+ - api_client_request
20269
+ - ad_click
20270
+ - ad_display
20271
+ - trademark_click
20272
+ SiteInsightsVisitorBrowser:
20273
+ type: string
20274
+ enum:
20275
+ - chrome
20276
+ - firefox
20277
+ - safari
20278
+ - edge
20279
+ - ie
20280
+ - opera
20281
+ - unknown
20282
+ SiteInsightsVisitorDevice:
20283
+ type: string
20284
+ enum:
20285
+ - desktop
20286
+ - tablet
20287
+ - mobile
20288
+ - unknown
20289
+ SiteInsightsVisitorOS:
20290
+ type: string
20291
+ enum:
20292
+ - windows
20293
+ - macos
20294
+ - linux
20295
+ - android
20296
+ - ios
20297
+ - unknown
20298
+ SiteInsightsVisitorBot:
20299
+ type: string
20300
+ nullable: true
20301
+ enum:
20302
+ - unknown
20303
+ - googlebot
20304
+ - bingbot
20305
+ - duckduckbot
20306
+ - facebookbot
20307
+ - applebot
20308
+ - chatgpt
20309
+ - anthropic
20310
+ SiteInsightsQueryEventsValues:
20311
+ oneOf:
20312
+ - type: object
20313
+ required:
20314
+ - column
20315
+ - values
20316
+ properties:
20317
+ column:
20318
+ type: string
20319
+ enum:
20320
+ - datetime
20065
20321
  values:
20066
20322
  type: array
20067
20323
  items:
20068
- type: string
20324
+ $ref: "#/components/schemas/Timestamp"
20069
20325
  - type: object
20070
20326
  required:
20071
20327
  - column
@@ -20074,11 +20330,11 @@ components:
20074
20330
  column:
20075
20331
  type: string
20076
20332
  enum:
20077
- - eventAdDomain
20333
+ - eventsCount
20078
20334
  values:
20079
20335
  type: array
20080
20336
  items:
20081
- type: string
20337
+ type: number
20082
20338
  - type: object
20083
20339
  required:
20084
20340
  - column
@@ -20087,11 +20343,11 @@ components:
20087
20343
  column:
20088
20344
  type: string
20089
20345
  enum:
20090
- - eventAdPlacement
20346
+ - sessionsCount
20091
20347
  values:
20092
20348
  type: array
20093
20349
  items:
20094
- $ref: "#/components/schemas/SiteInsightsAdPlacement"
20350
+ type: number
20095
20351
  - type: object
20096
20352
  required:
20097
20353
  - column
@@ -20100,321 +20356,526 @@ components:
20100
20356
  column:
20101
20357
  type: string
20102
20358
  enum:
20103
- - eventTrademarkPlacement
20359
+ - visitorsCount
20104
20360
  values:
20105
20361
  type: array
20106
20362
  items:
20107
- $ref: "#/components/schemas/SiteInsightsTrademarkPlacement"
20108
- SiteInsightsQueryOperator:
20109
- type: string
20110
- enum:
20111
- - in
20112
- - notIn
20113
- - greaterThan
20114
- - greaterThanOrEqual
20115
- - lessThan
20116
- - lessThanOrEqual
20117
- SiteInsightsQueryEventsFilter:
20118
- allOf:
20119
- - $ref: "#/components/schemas/SiteInsightsQueryEventsValues"
20120
- - type: object
20121
- properties:
20122
- operator:
20123
- $ref: "#/components/schemas/SiteInsightsQueryOperator"
20124
- SiteInsightsQueryDateTimeColumn:
20125
- type: object
20126
- required:
20127
- - column
20128
- properties:
20129
- column:
20130
- type: string
20131
- enum:
20132
- - datetime
20133
- interval:
20134
- type: string
20135
- enum:
20136
- - hour
20137
- - day
20138
- - week
20139
- - month
20140
- SiteInsightsQueryEventsColumn:
20141
- oneOf:
20142
- - $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
20363
+ type: number
20143
20364
  - type: object
20144
20365
  required:
20145
20366
  - column
20367
+ - values
20146
20368
  properties:
20147
20369
  column:
20148
20370
  type: string
20149
20371
  enum:
20150
20372
  - eventType
20373
+ values:
20374
+ type: array
20375
+ items:
20376
+ $ref: "#/components/schemas/SiteInsightsEventType"
20151
20377
  - type: object
20152
20378
  required:
20153
20379
  - column
20380
+ - claim
20381
+ - values
20154
20382
  properties:
20155
20383
  column:
20156
20384
  type: string
20157
20385
  enum:
20158
- - eventsCount
20386
+ - visitorClaim
20387
+ claim:
20388
+ type: string
20389
+ values:
20390
+ type: array
20391
+ items:
20392
+ type: string
20159
20393
  - type: object
20160
20394
  required:
20161
20395
  - column
20396
+ - values
20162
20397
  properties:
20163
20398
  column:
20164
20399
  type: string
20165
20400
  enum:
20166
- - sessionsCount
20401
+ - visitorClaimProperty
20402
+ values:
20403
+ type: array
20404
+ items:
20405
+ type: string
20167
20406
  - type: object
20168
20407
  required:
20169
20408
  - column
20409
+ - values
20170
20410
  properties:
20171
20411
  column:
20172
20412
  type: string
20173
20413
  enum:
20174
- - visitorsCount
20414
+ - visitorBrowser
20415
+ values:
20416
+ type: array
20417
+ items:
20418
+ $ref: "#/components/schemas/SiteInsightsVisitorBrowser"
20175
20419
  - type: object
20176
20420
  required:
20177
20421
  - column
20422
+ - values
20178
20423
  properties:
20179
20424
  column:
20180
20425
  type: string
20181
20426
  enum:
20182
- - siteSection
20427
+ - visitorDevice
20428
+ values:
20429
+ type: array
20430
+ items:
20431
+ $ref: "#/components/schemas/SiteInsightsVisitorDevice"
20183
20432
  - type: object
20184
20433
  required:
20185
20434
  - column
20435
+ - values
20186
20436
  properties:
20187
20437
  column:
20188
20438
  type: string
20189
20439
  enum:
20190
- - siteSpace
20440
+ - visitorOS
20441
+ values:
20442
+ type: array
20443
+ items:
20444
+ $ref: "#/components/schemas/SiteInsightsVisitorOS"
20191
20445
  - type: object
20192
20446
  required:
20193
20447
  - column
20448
+ - values
20194
20449
  properties:
20195
20450
  column:
20196
20451
  type: string
20197
20452
  enum:
20198
- - siteShareKey
20453
+ - visitorBot
20454
+ values:
20455
+ type: array
20456
+ items:
20457
+ $ref: "#/components/schemas/SiteInsightsVisitorBot"
20199
20458
  - type: object
20200
20459
  required:
20201
20460
  - column
20461
+ - values
20202
20462
  properties:
20203
20463
  column:
20204
20464
  type: string
20205
20465
  enum:
20206
- - page
20466
+ - eventLinkTargetValue
20467
+ values:
20468
+ type: array
20469
+ items:
20470
+ $ref: "#/components/schemas/ContentRef"
20207
20471
  - type: object
20208
20472
  required:
20209
20473
  - column
20474
+ - values
20210
20475
  properties:
20211
20476
  column:
20212
20477
  type: string
20213
20478
  enum:
20214
- - visitorGeoCountry
20479
+ - eventLinkTargetKind
20480
+ values:
20481
+ type: array
20482
+ items:
20483
+ type: string
20484
+ enum:
20485
+ - url
20486
+ - page
20487
+ - file
20488
+ - anchor
20489
+ - space
20490
+ - collection
20491
+ - user
20492
+ - reusable-content
20215
20493
  - type: object
20216
20494
  required:
20217
20495
  - column
20496
+ - values
20218
20497
  properties:
20219
20498
  column:
20220
20499
  type: string
20221
20500
  enum:
20222
- - visitorDevice
20501
+ - eventLinkPosition
20502
+ values:
20503
+ type: array
20504
+ items:
20505
+ $ref: "#/components/schemas/SiteInsightsLinkPosition"
20223
20506
  - type: object
20224
20507
  required:
20225
20508
  - column
20509
+ - values
20226
20510
  properties:
20227
20511
  column:
20228
20512
  type: string
20229
20513
  enum:
20230
- - visitorBrowser
20514
+ - siteSection
20515
+ values:
20516
+ type: array
20517
+ items:
20518
+ type: string
20519
+ nullable: true
20231
20520
  - type: object
20232
20521
  required:
20233
20522
  - column
20523
+ - values
20234
20524
  properties:
20235
20525
  column:
20236
20526
  type: string
20237
20527
  enum:
20238
- - visitorOS
20528
+ - siteSpace
20529
+ values:
20530
+ type: array
20531
+ items:
20532
+ type: string
20533
+ nullable: true
20239
20534
  - type: object
20240
20535
  required:
20241
20536
  - column
20537
+ - values
20242
20538
  properties:
20243
20539
  column:
20244
20540
  type: string
20245
20541
  enum:
20246
- - visitorBot
20542
+ - siteShareKey
20543
+ values:
20544
+ type: array
20545
+ items:
20546
+ type: string
20547
+ nullable: true
20247
20548
  - type: object
20248
20549
  required:
20249
20550
  - column
20551
+ - values
20250
20552
  properties:
20251
20553
  column:
20252
20554
  type: string
20253
20555
  enum:
20254
- - visitorLanguage
20556
+ - page
20557
+ values:
20558
+ type: array
20559
+ items:
20560
+ oneOf:
20561
+ - type: string
20562
+ nullable: true
20563
+ enum:
20564
+ - null
20565
+ - type: object
20566
+ required:
20567
+ - page
20568
+ - space
20569
+ properties:
20570
+ page:
20571
+ type: string
20572
+ nullable: true
20573
+ space:
20574
+ type: string
20255
20575
  - type: object
20256
20576
  required:
20257
20577
  - column
20578
+ - values
20258
20579
  properties:
20259
20580
  column:
20260
20581
  type: string
20261
20582
  enum:
20262
- - eventLinkTargetValue
20583
+ - visitorGeoCountry
20584
+ values:
20585
+ type: array
20586
+ items:
20587
+ type: string
20588
+ nullable: true
20263
20589
  - type: object
20264
20590
  required:
20265
20591
  - column
20592
+ - values
20266
20593
  properties:
20267
20594
  column:
20268
20595
  type: string
20269
20596
  enum:
20270
- - eventLinkTargetKind
20597
+ - visitorGeoPoint
20598
+ values:
20599
+ type: array
20600
+ items:
20601
+ type: object
20602
+ nullable: true
20603
+ required:
20604
+ - latitude
20605
+ - longitude
20606
+ - h3
20607
+ properties:
20608
+ latitude:
20609
+ type: number
20610
+ longitude:
20611
+ type: number
20612
+ h3:
20613
+ type: string
20271
20614
  - type: object
20272
20615
  required:
20273
20616
  - column
20617
+ - values
20274
20618
  properties:
20275
20619
  column:
20276
20620
  type: string
20277
20621
  enum:
20278
- - eventLinkTargetDomain
20622
+ - visitorLanguage
20623
+ values:
20624
+ type: array
20625
+ items:
20626
+ type: string
20627
+ nullable: true
20279
20628
  - type: object
20280
20629
  required:
20281
20630
  - column
20631
+ - values
20282
20632
  properties:
20283
20633
  column:
20284
20634
  type: string
20285
20635
  enum:
20286
- - eventLinkPosition
20636
+ - eventLinkTargetDomain
20637
+ values:
20638
+ type: array
20639
+ items:
20640
+ type: string
20641
+ nullable: true
20287
20642
  - type: object
20288
20643
  required:
20289
20644
  - column
20645
+ - values
20290
20646
  properties:
20291
20647
  column:
20292
20648
  type: string
20293
20649
  enum:
20294
20650
  - eventAPIOperationPath
20651
+ values:
20652
+ type: array
20653
+ items:
20654
+ type: string
20655
+ nullable: true
20295
20656
  - type: object
20296
20657
  required:
20297
20658
  - column
20659
+ - values
20298
20660
  properties:
20299
20661
  column:
20300
20662
  type: string
20301
20663
  enum:
20302
20664
  - eventAPIOperationMethod
20665
+ values:
20666
+ type: array
20667
+ items:
20668
+ type: string
20669
+ nullable: true
20303
20670
  - type: object
20304
20671
  required:
20305
20672
  - column
20673
+ - values
20306
20674
  properties:
20307
20675
  column:
20308
20676
  type: string
20309
20677
  enum:
20310
20678
  - eventSearchQuery
20679
+ values:
20680
+ type: array
20681
+ items:
20682
+ type: string
20311
20683
  - type: object
20312
20684
  required:
20313
20685
  - column
20686
+ - values
20314
20687
  properties:
20315
20688
  column:
20316
20689
  type: string
20317
20690
  enum:
20318
20691
  - pageFeedbackRating
20692
+ values:
20693
+ type: array
20694
+ items:
20695
+ type: object
20696
+ required:
20697
+ - ok
20698
+ - good
20699
+ - bad
20700
+ properties:
20701
+ ok:
20702
+ type: number
20703
+ good:
20704
+ type: number
20705
+ bad:
20706
+ type: number
20319
20707
  - type: object
20320
20708
  required:
20321
20709
  - column
20710
+ - values
20322
20711
  properties:
20323
20712
  column:
20324
20713
  type: string
20325
20714
  enum:
20326
- - referrer
20715
+ - eventPageFeedbackRating
20716
+ values:
20717
+ type: array
20718
+ items:
20719
+ $ref: "#/components/schemas/PageFeedbackRating"
20327
20720
  - type: object
20328
20721
  required:
20329
20722
  - column
20723
+ - values
20330
20724
  properties:
20331
20725
  column:
20332
20726
  type: string
20333
20727
  enum:
20334
- - referrerDomain
20728
+ - eventPageFeedbackComment
20729
+ values:
20730
+ type: array
20731
+ items:
20732
+ type: string
20335
20733
  - type: object
20336
20734
  required:
20337
20735
  - column
20736
+ - values
20338
20737
  properties:
20339
20738
  column:
20340
20739
  type: string
20341
20740
  enum:
20342
- - utmSource
20741
+ - referrer
20742
+ values:
20743
+ type: array
20744
+ items:
20745
+ type: string
20343
20746
  - type: object
20344
20747
  required:
20345
20748
  - column
20749
+ - values
20346
20750
  properties:
20347
20751
  column:
20348
20752
  type: string
20349
20753
  enum:
20350
- - utmMedium
20754
+ - referrerDomain
20755
+ values:
20756
+ type: array
20757
+ items:
20758
+ type: string
20351
20759
  - type: object
20352
20760
  required:
20353
20761
  - column
20762
+ - values
20354
20763
  properties:
20355
20764
  column:
20356
20765
  type: string
20357
20766
  enum:
20358
- - utmCampaign
20767
+ - utmSource
20768
+ values:
20769
+ type: array
20770
+ items:
20771
+ type: string
20359
20772
  - type: object
20360
20773
  required:
20361
20774
  - column
20775
+ - values
20362
20776
  properties:
20363
20777
  column:
20364
20778
  type: string
20365
20779
  enum:
20366
- - utmTerm
20780
+ - utmMedium
20781
+ values:
20782
+ type: array
20783
+ items:
20784
+ type: string
20367
20785
  - type: object
20368
20786
  required:
20369
20787
  - column
20788
+ - values
20370
20789
  properties:
20371
20790
  column:
20372
20791
  type: string
20373
20792
  enum:
20374
- - utmContent
20793
+ - utmCampaign
20794
+ values:
20795
+ type: array
20796
+ items:
20797
+ type: string
20375
20798
  - type: object
20376
20799
  required:
20377
20800
  - column
20801
+ - values
20378
20802
  properties:
20379
20803
  column:
20380
20804
  type: string
20381
20805
  enum:
20382
- - visitorClaimProperty
20806
+ - utmTerm
20807
+ values:
20808
+ type: array
20809
+ items:
20810
+ type: string
20383
20811
  - type: object
20384
20812
  required:
20385
20813
  - column
20386
- - claim
20814
+ - values
20387
20815
  properties:
20388
20816
  column:
20389
20817
  type: string
20390
20818
  enum:
20391
- - visitorClaim
20392
- claim:
20393
- type: string
20819
+ - utmContent
20820
+ values:
20821
+ type: array
20822
+ items:
20823
+ type: string
20394
20824
  - type: object
20395
20825
  required:
20396
20826
  - column
20827
+ - values
20397
20828
  properties:
20398
20829
  column:
20399
20830
  type: string
20400
20831
  enum:
20401
20832
  - eventAdDomain
20833
+ values:
20834
+ type: array
20835
+ items:
20836
+ type: string
20402
20837
  - type: object
20403
20838
  required:
20404
20839
  - column
20840
+ - values
20405
20841
  properties:
20406
20842
  column:
20407
20843
  type: string
20408
20844
  enum:
20409
20845
  - eventAdPlacement
20846
+ values:
20847
+ type: array
20848
+ items:
20849
+ $ref: "#/components/schemas/SiteInsightsAdPlacement"
20410
20850
  - type: object
20411
20851
  required:
20412
20852
  - column
20853
+ - values
20413
20854
  properties:
20414
20855
  column:
20415
20856
  type: string
20416
20857
  enum:
20417
20858
  - eventTrademarkPlacement
20859
+ values:
20860
+ type: array
20861
+ items:
20862
+ $ref: "#/components/schemas/SiteInsightsTrademarkPlacement"
20863
+ SiteInsightsQueryOperator:
20864
+ type: string
20865
+ enum:
20866
+ - in
20867
+ - notIn
20868
+ - greaterThan
20869
+ - greaterThanOrEqual
20870
+ - lessThan
20871
+ - lessThanOrEqual
20872
+ SiteInsightsQueryEventsFilter:
20873
+ allOf:
20874
+ - $ref: "#/components/schemas/SiteInsightsQueryEventsValues"
20875
+ - type: object
20876
+ properties:
20877
+ operator:
20878
+ $ref: "#/components/schemas/SiteInsightsQueryOperator"
20418
20879
  SiteInsightsQueryRange:
20419
20880
  type: string
20420
20881
  enum:
@@ -20426,16 +20887,18 @@ components:
20426
20887
  SiteInsightsQueryEventsAggregation:
20427
20888
  type: object
20428
20889
  required:
20429
- - groupBy
20430
20890
  - range
20431
20891
  properties:
20892
+ select:
20893
+ type: array
20894
+ items:
20895
+ $ref: "#/components/schemas/SiteInsightsQueryEventsColumn"
20432
20896
  where:
20433
20897
  type: array
20434
20898
  items:
20435
20899
  $ref: "#/components/schemas/SiteInsightsQueryEventsFilter"
20436
20900
  groupBy:
20437
20901
  type: array
20438
- minItems: 1
20439
20902
  items:
20440
20903
  $ref: "#/components/schemas/SiteInsightsQueryEventsColumn"
20441
20904
  order:
@@ -20453,6 +20916,11 @@ components:
20453
20916
  - desc
20454
20917
  range:
20455
20918
  $ref: "#/components/schemas/SiteInsightsQueryRange"
20919
+ limit:
20920
+ type: integer
20921
+ default: 1000
20922
+ minimum: 1
20923
+ maximum: 1000
20456
20924
  SiteInsightsQueryEventsAggregationResult:
20457
20925
  type: object
20458
20926
  required:
@@ -20462,6 +20930,30 @@ components:
20462
20930
  type: array
20463
20931
  items:
20464
20932
  $ref: "#/components/schemas/SiteInsightsQueryEventsValues"
20933
+ SiteInsightsVisitorSegment:
20934
+ type: object
20935
+ description: A segment of visitors with the same characteristics.
20936
+ properties:
20937
+ title:
20938
+ type: string
20939
+ description: The title of the visitor profile.
20940
+ claims:
20941
+ $ref: "#/components/schemas/PlainObject"
20942
+ events:
20943
+ type: number
20944
+ description: The number of events for this visitor profile.
20945
+ visitors:
20946
+ type: number
20947
+ description: The number of visitors for this visitor profile.
20948
+ sessions:
20949
+ type: number
20950
+ description: The number of sessions for this visitor profile.
20951
+ required:
20952
+ - title
20953
+ - claims
20954
+ - events
20955
+ - visitors
20956
+ - sessions
20465
20957
  InsightsInterval:
20466
20958
  type: string
20467
20959
  description: The interval for grouping the results