@gitbook/api 0.89.0 → 0.91.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
@@ -11569,66 +11928,41 @@ components:
11569
11928
  properties: {}
11570
11929
  additionalProperties: false
11571
11930
  SearchAIAnswerSource:
11572
- allOf:
11573
- - type: object
11574
- properties:
11575
- type:
11576
- type: string
11577
- enum:
11578
- - page
11579
- - capture
11580
- required:
11581
- - type
11582
- - discriminator:
11583
- propertyName: type
11584
- oneOf:
11585
- - type: object
11586
- title: Page
11587
- properties:
11588
- type:
11589
- type: string
11590
- enum:
11591
- - page
11592
- page:
11593
- type: string
11594
- revision:
11595
- type: string
11596
- space:
11597
- type: string
11598
- sections:
11599
- type: array
11600
- items:
11601
- type: string
11602
- required:
11603
- - type
11604
- - page
11605
- - revision
11606
- - space
11607
- - sections
11608
- - type: object
11609
- title: Snippet
11610
- properties:
11611
- type:
11612
- type: string
11613
- enum:
11614
- - capture
11615
- captureId:
11616
- type: string
11617
- description: ID of the capture
11618
- source:
11619
- type: string
11620
- description: Source of the capture
11621
- required:
11622
- - type
11623
- - captureId
11624
- - source
11931
+ type: object
11932
+ title: Page source
11933
+ description: The source points to a page in a space.
11934
+ properties:
11935
+ type:
11936
+ type: string
11937
+ enum:
11938
+ - page
11939
+ reason:
11940
+ type: string
11941
+ description: Short explanation of how the source was used to answer.
11942
+ page:
11943
+ type: string
11944
+ description: The page ID of the source.
11945
+ revision:
11946
+ type: string
11947
+ description: The revision ID where the page was extracted from.
11948
+ space:
11949
+ type: string
11950
+ description: The space ID owning the page.
11951
+ sections:
11952
+ type: array
11953
+ items:
11954
+ type: string
11955
+ description: The IDs of the sections of the page that were used to answer the question.
11956
+ required:
11957
+ - type
11958
+ - page
11959
+ - revision
11960
+ - space
11961
+ - sections
11625
11962
  SearchAIAnswer:
11626
11963
  type: object
11627
11964
  description: Answer from AI for a question asked on a content.
11628
11965
  properties:
11629
- text:
11630
- deprecated: true
11631
- type: string
11632
11966
  answer:
11633
11967
  $ref: "#/components/schemas/Document"
11634
11968
  followupQuestions:
@@ -11640,28 +11974,6 @@ components:
11640
11974
  description: The sources used to generate the answer.
11641
11975
  items:
11642
11976
  $ref: "#/components/schemas/SearchAIAnswerSource"
11643
- pages:
11644
- type: array
11645
- deprecated: true
11646
- description: The pages used to generate the answer. Deprecated - use sources instead.
11647
- items:
11648
- type: object
11649
- properties:
11650
- page:
11651
- type: string
11652
- revision:
11653
- type: string
11654
- space:
11655
- type: string
11656
- sections:
11657
- type: array
11658
- items:
11659
- type: string
11660
- required:
11661
- - page
11662
- - revision
11663
- - space
11664
- - sections
11665
11977
  required:
11666
11978
  - pages
11667
11979
  - sources
@@ -12666,6 +12978,51 @@ components:
12666
12978
  - users
12667
12979
  required:
12668
12980
  - role
12981
+ UserContentPermission:
12982
+ type: object
12983
+ description: Permission of a user in a content.
12984
+ properties:
12985
+ permission:
12986
+ $ref: "#/components/schemas/MemberRole"
12987
+ user:
12988
+ $ref: "#/components/schemas/User"
12989
+ required:
12990
+ - permission
12991
+ - user
12992
+ OrganizationTeamTitle:
12993
+ type: string
12994
+ description: Title of the team
12995
+ minLength: 1
12996
+ maxLength: 64
12997
+ OrganizationTeam:
12998
+ type: object
12999
+ properties:
13000
+ object:
13001
+ type: string
13002
+ description: Type of Object, always equals to "team"
13003
+ enum:
13004
+ - team
13005
+ id:
13006
+ type: string
13007
+ description: Unique identifier for the team.
13008
+ title:
13009
+ $ref: "#/components/schemas/OrganizationTeamTitle"
13010
+ members:
13011
+ type: integer
13012
+ description: Count of members in this team.
13013
+ spaces:
13014
+ type: number
13015
+ description: Count of spaces this team has access to.
13016
+ createdAt:
13017
+ description: Date at which the team was created.
13018
+ $ref: "#/components/schemas/Timestamp"
13019
+ required:
13020
+ - object
13021
+ - id
13022
+ - title
13023
+ - members
13024
+ - spaces
13025
+ - createdAt
12669
13026
  RevisionPageGroup:
12670
13027
  allOf:
12671
13028
  - $ref: "#/components/schemas/RevisionPageBase"
@@ -15004,17 +15361,6 @@ components:
15004
15361
  description: Reactions to remove from the comment.
15005
15362
  items:
15006
15363
  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
15364
  Color:
15019
15365
  type: string
15020
15366
  pattern: ^#(?:[0-9a-fA-F]{3}){1,2}$
@@ -17688,40 +18034,6 @@ components:
17688
18034
  required:
17689
18035
  - permission
17690
18036
  - 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
18037
  TeamMemberRole:
17726
18038
  type: string
17727
18039
  description: |
@@ -18632,6 +18944,19 @@ components:
18632
18944
  required:
18633
18945
  - type
18634
18946
  - plan
18947
+ CustomizationTheme:
18948
+ type: string
18949
+ description: |
18950
+ The theme to apply to the site. Supercedes the old header preset themes.
18951
+ - `clean`: Modern theme featuring translucency and minimally-styled elements.
18952
+ - `muted`: Sophisticated theme with decreased contrast between elements.
18953
+ - `bold`: High-impact theme with prominent colors and strong contrasts.
18954
+ - `gradient`: Trendy theme featuring colorful gradients and splashes of color.
18955
+ enum:
18956
+ - clean
18957
+ - muted
18958
+ - bold
18959
+ - gradient
18635
18960
  CustomizationTint:
18636
18961
  type: object
18637
18962
  properties:
@@ -18674,6 +18999,8 @@ components:
18674
18999
  styling:
18675
19000
  type: object
18676
19001
  properties:
19002
+ theme:
19003
+ $ref: "#/components/schemas/CustomizationTheme"
18677
19004
  primaryColor:
18678
19005
  $ref: "#/components/schemas/CustomizationThemedColor"
18679
19006
  tint:
@@ -18761,6 +19088,8 @@ components:
18761
19088
  required:
18762
19089
  - groups
18763
19090
  themes:
19091
+ description: |
19092
+ Customization options for the dark/light theme modes.
18764
19093
  type: object
18765
19094
  properties:
18766
19095
  default:
@@ -19480,6 +19809,7 @@ components:
19480
19809
  - sidebar
19481
19810
  - ad
19482
19811
  - footer
19812
+ - pdf
19483
19813
  SiteInsightsEventTrademarkClick:
19484
19814
  allOf:
19485
19815
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -19554,518 +19884,397 @@ components:
19554
19884
  - $ref: "#/components/schemas/SiteInsightsEventTrademarkClick"
19555
19885
  - $ref: "#/components/schemas/SiteInsightsEventAdClick"
19556
19886
  - $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:
19887
+ SiteInsightsQueryDateTimeColumn:
19888
+ type: object
19889
+ required:
19890
+ - column
19891
+ properties:
19892
+ column:
19893
+ type: string
19894
+ enum:
19895
+ - datetime
19896
+ interval:
19897
+ type: string
19898
+ enum:
19899
+ - hour
19900
+ - day
19901
+ - week
19902
+ - month
19903
+ SiteInsightsQueryEventsColumn:
19612
19904
  oneOf:
19905
+ - $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
19613
19906
  - type: object
19614
19907
  required:
19615
19908
  - column
19616
- - values
19617
19909
  properties:
19618
19910
  column:
19619
19911
  type: string
19620
19912
  enum:
19621
- - datetime
19622
- values:
19623
- type: array
19624
- items:
19625
- $ref: "#/components/schemas/Timestamp"
19913
+ - eventType
19626
19914
  - type: object
19627
19915
  required:
19628
19916
  - column
19629
- - values
19630
19917
  properties:
19631
19918
  column:
19632
19919
  type: string
19633
19920
  enum:
19634
19921
  - eventsCount
19635
- values:
19636
- type: array
19637
- items:
19638
- type: number
19639
19922
  - type: object
19640
19923
  required:
19641
19924
  - column
19642
- - values
19643
19925
  properties:
19644
19926
  column:
19645
19927
  type: string
19646
19928
  enum:
19647
19929
  - sessionsCount
19648
- values:
19649
- type: array
19650
- items:
19651
- type: number
19652
19930
  - type: object
19653
19931
  required:
19654
19932
  - column
19655
- - values
19656
19933
  properties:
19657
19934
  column:
19658
19935
  type: string
19659
19936
  enum:
19660
19937
  - visitorsCount
19661
- values:
19662
- type: array
19663
- items:
19664
- type: number
19665
19938
  - type: object
19666
19939
  required:
19667
19940
  - column
19668
- - values
19669
19941
  properties:
19670
19942
  column:
19671
19943
  type: string
19672
19944
  enum:
19673
- - eventType
19674
- values:
19675
- type: array
19676
- items:
19677
- $ref: "#/components/schemas/SiteInsightsEventType"
19945
+ - siteSection
19678
19946
  - type: object
19679
19947
  required:
19680
19948
  - column
19681
- - claim
19682
- - values
19683
19949
  properties:
19684
19950
  column:
19685
19951
  type: string
19686
19952
  enum:
19687
- - visitorClaim
19688
- claim:
19689
- type: string
19690
- values:
19691
- type: array
19692
- items:
19693
- type: string
19953
+ - siteSpace
19694
19954
  - type: object
19695
19955
  required:
19696
19956
  - column
19697
- - values
19698
19957
  properties:
19699
19958
  column:
19700
19959
  type: string
19701
19960
  enum:
19702
- - visitorClaimProperty
19703
- values:
19704
- type: array
19705
- items:
19706
- type: string
19961
+ - siteShareKey
19707
19962
  - type: object
19708
19963
  required:
19709
19964
  - column
19710
- - values
19711
19965
  properties:
19712
19966
  column:
19713
19967
  type: string
19714
19968
  enum:
19715
- - visitorBrowser
19716
- values:
19717
- type: array
19718
- items:
19719
- $ref: "#/components/schemas/SiteInsightsVisitorBrowser"
19969
+ - page
19720
19970
  - type: object
19721
19971
  required:
19722
19972
  - column
19723
- - values
19724
19973
  properties:
19725
19974
  column:
19726
19975
  type: string
19727
19976
  enum:
19728
- - visitorDevice
19729
- values:
19730
- type: array
19731
- items:
19732
- $ref: "#/components/schemas/SiteInsightsVisitorDevice"
19977
+ - visitorGeoCountry
19733
19978
  - type: object
19734
19979
  required:
19735
19980
  - column
19736
- - values
19737
19981
  properties:
19738
19982
  column:
19739
19983
  type: string
19740
19984
  enum:
19741
- - visitorOS
19742
- values:
19743
- type: array
19744
- items:
19745
- $ref: "#/components/schemas/SiteInsightsVisitorOS"
19985
+ - visitorGeoPoint
19986
+ precision:
19987
+ type: integer
19988
+ minimum: 0
19989
+ maximum: 15
19746
19990
  - type: object
19747
19991
  required:
19748
19992
  - column
19749
- - values
19750
19993
  properties:
19751
19994
  column:
19752
19995
  type: string
19753
19996
  enum:
19754
- - visitorBot
19755
- values:
19756
- type: array
19757
- items:
19758
- $ref: "#/components/schemas/SiteInsightsVisitorBot"
19997
+ - visitorDevice
19759
19998
  - type: object
19760
19999
  required:
19761
20000
  - column
19762
- - values
19763
20001
  properties:
19764
20002
  column:
19765
20003
  type: string
19766
20004
  enum:
19767
- - eventLinkTargetValue
19768
- values:
19769
- type: array
19770
- items:
19771
- $ref: "#/components/schemas/ContentRef"
20005
+ - visitorBrowser
19772
20006
  - type: object
19773
20007
  required:
19774
20008
  - column
19775
- - values
19776
20009
  properties:
19777
20010
  column:
19778
20011
  type: string
19779
20012
  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
20013
+ - visitorOS
19794
20014
  - type: object
19795
20015
  required:
19796
20016
  - column
19797
- - values
19798
20017
  properties:
19799
20018
  column:
19800
20019
  type: string
19801
20020
  enum:
19802
- - eventLinkPosition
19803
- values:
19804
- type: array
19805
- items:
19806
- $ref: "#/components/schemas/SiteInsightsLinkPosition"
20021
+ - visitorBot
19807
20022
  - type: object
19808
20023
  required:
19809
20024
  - column
19810
- - values
19811
20025
  properties:
19812
20026
  column:
19813
20027
  type: string
19814
20028
  enum:
19815
- - siteSection
19816
- values:
19817
- type: array
19818
- items:
19819
- type: string
19820
- nullable: true
20029
+ - visitorLanguage
19821
20030
  - type: object
19822
20031
  required:
19823
20032
  - column
19824
- - values
19825
20033
  properties:
19826
20034
  column:
19827
20035
  type: string
19828
20036
  enum:
19829
- - siteSpace
19830
- values:
19831
- type: array
19832
- items:
19833
- type: string
19834
- nullable: true
20037
+ - eventLinkTargetValue
19835
20038
  - type: object
19836
20039
  required:
19837
20040
  - column
19838
- - values
19839
20041
  properties:
19840
20042
  column:
19841
20043
  type: string
19842
20044
  enum:
19843
- - siteShareKey
19844
- values:
19845
- type: array
19846
- items:
19847
- type: string
19848
- nullable: true
20045
+ - eventLinkTargetKind
19849
20046
  - type: object
19850
20047
  required:
19851
20048
  - column
19852
- - values
19853
20049
  properties:
19854
20050
  column:
19855
20051
  type: string
19856
20052
  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
20053
+ - eventLinkTargetDomain
19871
20054
  - type: object
19872
20055
  required:
19873
20056
  - column
19874
- - values
19875
20057
  properties:
19876
20058
  column:
19877
20059
  type: string
19878
20060
  enum:
19879
- - visitorGeoCountry
19880
- values:
19881
- type: array
19882
- items:
19883
- type: string
19884
- nullable: true
20061
+ - eventLinkPosition
19885
20062
  - type: object
19886
20063
  required:
19887
20064
  - column
19888
- - values
19889
20065
  properties:
19890
20066
  column:
19891
20067
  type: string
19892
20068
  enum:
19893
- - visitorLanguage
19894
- values:
19895
- type: array
19896
- items:
19897
- type: string
19898
- nullable: true
20069
+ - eventAPIOperationPath
19899
20070
  - type: object
19900
20071
  required:
19901
20072
  - column
19902
- - values
19903
20073
  properties:
19904
20074
  column:
19905
20075
  type: string
19906
20076
  enum:
19907
- - eventLinkTargetDomain
19908
- values:
19909
- type: array
19910
- items:
19911
- type: string
19912
- nullable: true
20077
+ - eventAPIOperationMethod
19913
20078
  - type: object
19914
20079
  required:
19915
20080
  - column
19916
- - values
19917
20081
  properties:
19918
20082
  column:
19919
20083
  type: string
19920
20084
  enum:
19921
- - eventAPIOperationPath
19922
- values:
19923
- type: array
19924
- items:
19925
- type: string
19926
- nullable: true
20085
+ - eventSearchQuery
19927
20086
  - type: object
19928
20087
  required:
19929
20088
  - column
19930
- - values
19931
20089
  properties:
19932
20090
  column:
19933
20091
  type: string
19934
20092
  enum:
19935
- - eventAPIOperationMethod
19936
- values:
19937
- type: array
19938
- items:
19939
- type: string
19940
- nullable: true
20093
+ - eventPageFeedbackRating
19941
20094
  - type: object
19942
20095
  required:
19943
20096
  - column
19944
- - values
19945
20097
  properties:
19946
20098
  column:
19947
20099
  type: string
19948
20100
  enum:
19949
- - eventSearchQuery
19950
- values:
19951
- type: array
19952
- items:
19953
- type: string
20101
+ - eventPageFeedbackComment
19954
20102
  - type: object
19955
20103
  required:
19956
20104
  - column
19957
- - values
19958
20105
  properties:
19959
20106
  column:
19960
20107
  type: string
19961
20108
  enum:
19962
20109
  - 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
20110
  - type: object
19979
20111
  required:
19980
20112
  - column
19981
- - values
19982
20113
  properties:
19983
20114
  column:
19984
20115
  type: string
19985
20116
  enum:
19986
20117
  - referrer
19987
- values:
19988
- type: array
19989
- items:
19990
- type: string
19991
20118
  - type: object
19992
20119
  required:
19993
20120
  - column
19994
- - values
19995
20121
  properties:
19996
20122
  column:
19997
20123
  type: string
19998
20124
  enum:
19999
20125
  - referrerDomain
20000
- values:
20001
- type: array
20002
- items:
20003
- type: string
20004
20126
  - type: object
20005
20127
  required:
20006
20128
  - column
20007
- - values
20008
20129
  properties:
20009
20130
  column:
20010
20131
  type: string
20011
20132
  enum:
20012
20133
  - utmSource
20013
- values:
20014
- type: array
20015
- items:
20016
- type: string
20017
20134
  - type: object
20018
20135
  required:
20019
20136
  - column
20020
- - values
20021
20137
  properties:
20022
20138
  column:
20023
20139
  type: string
20024
20140
  enum:
20025
20141
  - utmMedium
20026
- values:
20027
- type: array
20028
- items:
20029
- type: string
20030
20142
  - type: object
20031
20143
  required:
20032
20144
  - column
20033
- - values
20034
20145
  properties:
20035
20146
  column:
20036
20147
  type: string
20037
20148
  enum:
20038
20149
  - utmCampaign
20039
- values:
20040
- type: array
20041
- items:
20042
- type: string
20043
20150
  - type: object
20044
20151
  required:
20045
20152
  - column
20046
- - values
20047
20153
  properties:
20048
20154
  column:
20049
20155
  type: string
20050
20156
  enum:
20051
20157
  - utmTerm
20052
- values:
20053
- type: array
20054
- items:
20055
- type: string
20056
20158
  - type: object
20057
20159
  required:
20058
20160
  - column
20059
- - values
20060
20161
  properties:
20061
20162
  column:
20062
20163
  type: string
20063
20164
  enum:
20064
20165
  - utmContent
20166
+ - type: object
20167
+ required:
20168
+ - column
20169
+ properties:
20170
+ column:
20171
+ type: string
20172
+ enum:
20173
+ - visitorClaimProperty
20174
+ - type: object
20175
+ required:
20176
+ - column
20177
+ - claim
20178
+ properties:
20179
+ column:
20180
+ type: string
20181
+ enum:
20182
+ - visitorClaim
20183
+ claim:
20184
+ type: string
20185
+ - type: object
20186
+ required:
20187
+ - column
20188
+ properties:
20189
+ column:
20190
+ type: string
20191
+ enum:
20192
+ - eventAdDomain
20193
+ - type: object
20194
+ required:
20195
+ - column
20196
+ properties:
20197
+ column:
20198
+ type: string
20199
+ enum:
20200
+ - eventAdPlacement
20201
+ - type: object
20202
+ required:
20203
+ - column
20204
+ properties:
20205
+ column:
20206
+ type: string
20207
+ enum:
20208
+ - eventTrademarkPlacement
20209
+ SiteInsightsEventType:
20210
+ type: string
20211
+ enum:
20212
+ - page_view
20213
+ - search_open
20214
+ - search_type_query
20215
+ - search_open_result
20216
+ - page_post_feedback
20217
+ - page_post_feedback_comment
20218
+ - ask_question
20219
+ - link_click
20220
+ - api_client_open
20221
+ - api_client_request
20222
+ - ad_click
20223
+ - ad_display
20224
+ - trademark_click
20225
+ SiteInsightsVisitorBrowser:
20226
+ type: string
20227
+ enum:
20228
+ - chrome
20229
+ - firefox
20230
+ - safari
20231
+ - edge
20232
+ - ie
20233
+ - opera
20234
+ - unknown
20235
+ SiteInsightsVisitorDevice:
20236
+ type: string
20237
+ enum:
20238
+ - desktop
20239
+ - tablet
20240
+ - mobile
20241
+ - unknown
20242
+ SiteInsightsVisitorOS:
20243
+ type: string
20244
+ enum:
20245
+ - windows
20246
+ - macos
20247
+ - linux
20248
+ - android
20249
+ - ios
20250
+ - unknown
20251
+ SiteInsightsVisitorBot:
20252
+ type: string
20253
+ nullable: true
20254
+ enum:
20255
+ - unknown
20256
+ - googlebot
20257
+ - bingbot
20258
+ - duckduckbot
20259
+ - facebookbot
20260
+ - applebot
20261
+ - chatgpt
20262
+ - anthropic
20263
+ SiteInsightsQueryEventsValues:
20264
+ oneOf:
20265
+ - type: object
20266
+ required:
20267
+ - column
20268
+ - values
20269
+ properties:
20270
+ column:
20271
+ type: string
20272
+ enum:
20273
+ - datetime
20065
20274
  values:
20066
20275
  type: array
20067
20276
  items:
20068
- type: string
20277
+ $ref: "#/components/schemas/Timestamp"
20069
20278
  - type: object
20070
20279
  required:
20071
20280
  - column
@@ -20074,11 +20283,11 @@ components:
20074
20283
  column:
20075
20284
  type: string
20076
20285
  enum:
20077
- - eventAdDomain
20286
+ - eventsCount
20078
20287
  values:
20079
20288
  type: array
20080
20289
  items:
20081
- type: string
20290
+ type: number
20082
20291
  - type: object
20083
20292
  required:
20084
20293
  - column
@@ -20087,11 +20296,11 @@ components:
20087
20296
  column:
20088
20297
  type: string
20089
20298
  enum:
20090
- - eventAdPlacement
20299
+ - sessionsCount
20091
20300
  values:
20092
20301
  type: array
20093
20302
  items:
20094
- $ref: "#/components/schemas/SiteInsightsAdPlacement"
20303
+ type: number
20095
20304
  - type: object
20096
20305
  required:
20097
20306
  - column
@@ -20100,321 +20309,526 @@ components:
20100
20309
  column:
20101
20310
  type: string
20102
20311
  enum:
20103
- - eventTrademarkPlacement
20312
+ - visitorsCount
20104
20313
  values:
20105
20314
  type: array
20106
20315
  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"
20316
+ type: number
20143
20317
  - type: object
20144
20318
  required:
20145
20319
  - column
20320
+ - values
20146
20321
  properties:
20147
20322
  column:
20148
20323
  type: string
20149
20324
  enum:
20150
20325
  - eventType
20326
+ values:
20327
+ type: array
20328
+ items:
20329
+ $ref: "#/components/schemas/SiteInsightsEventType"
20151
20330
  - type: object
20152
20331
  required:
20153
20332
  - column
20333
+ - claim
20334
+ - values
20154
20335
  properties:
20155
20336
  column:
20156
20337
  type: string
20157
20338
  enum:
20158
- - eventsCount
20339
+ - visitorClaim
20340
+ claim:
20341
+ type: string
20342
+ values:
20343
+ type: array
20344
+ items:
20345
+ type: string
20159
20346
  - type: object
20160
20347
  required:
20161
20348
  - column
20349
+ - values
20162
20350
  properties:
20163
20351
  column:
20164
20352
  type: string
20165
20353
  enum:
20166
- - sessionsCount
20354
+ - visitorClaimProperty
20355
+ values:
20356
+ type: array
20357
+ items:
20358
+ type: string
20167
20359
  - type: object
20168
20360
  required:
20169
20361
  - column
20362
+ - values
20170
20363
  properties:
20171
20364
  column:
20172
20365
  type: string
20173
20366
  enum:
20174
- - visitorsCount
20367
+ - visitorBrowser
20368
+ values:
20369
+ type: array
20370
+ items:
20371
+ $ref: "#/components/schemas/SiteInsightsVisitorBrowser"
20175
20372
  - type: object
20176
20373
  required:
20177
20374
  - column
20375
+ - values
20178
20376
  properties:
20179
20377
  column:
20180
20378
  type: string
20181
20379
  enum:
20182
- - siteSection
20380
+ - visitorDevice
20381
+ values:
20382
+ type: array
20383
+ items:
20384
+ $ref: "#/components/schemas/SiteInsightsVisitorDevice"
20183
20385
  - type: object
20184
20386
  required:
20185
20387
  - column
20388
+ - values
20186
20389
  properties:
20187
20390
  column:
20188
20391
  type: string
20189
20392
  enum:
20190
- - siteSpace
20393
+ - visitorOS
20394
+ values:
20395
+ type: array
20396
+ items:
20397
+ $ref: "#/components/schemas/SiteInsightsVisitorOS"
20191
20398
  - type: object
20192
20399
  required:
20193
20400
  - column
20401
+ - values
20194
20402
  properties:
20195
20403
  column:
20196
20404
  type: string
20197
20405
  enum:
20198
- - siteShareKey
20406
+ - visitorBot
20407
+ values:
20408
+ type: array
20409
+ items:
20410
+ $ref: "#/components/schemas/SiteInsightsVisitorBot"
20199
20411
  - type: object
20200
20412
  required:
20201
20413
  - column
20414
+ - values
20202
20415
  properties:
20203
20416
  column:
20204
20417
  type: string
20205
20418
  enum:
20206
- - page
20419
+ - eventLinkTargetValue
20420
+ values:
20421
+ type: array
20422
+ items:
20423
+ $ref: "#/components/schemas/ContentRef"
20207
20424
  - type: object
20208
20425
  required:
20209
20426
  - column
20427
+ - values
20210
20428
  properties:
20211
20429
  column:
20212
20430
  type: string
20213
20431
  enum:
20214
- - visitorGeoCountry
20432
+ - eventLinkTargetKind
20433
+ values:
20434
+ type: array
20435
+ items:
20436
+ type: string
20437
+ enum:
20438
+ - url
20439
+ - page
20440
+ - file
20441
+ - anchor
20442
+ - space
20443
+ - collection
20444
+ - user
20445
+ - reusable-content
20215
20446
  - type: object
20216
20447
  required:
20217
20448
  - column
20449
+ - values
20218
20450
  properties:
20219
20451
  column:
20220
20452
  type: string
20221
20453
  enum:
20222
- - visitorDevice
20454
+ - eventLinkPosition
20455
+ values:
20456
+ type: array
20457
+ items:
20458
+ $ref: "#/components/schemas/SiteInsightsLinkPosition"
20223
20459
  - type: object
20224
20460
  required:
20225
20461
  - column
20462
+ - values
20226
20463
  properties:
20227
20464
  column:
20228
20465
  type: string
20229
20466
  enum:
20230
- - visitorBrowser
20467
+ - siteSection
20468
+ values:
20469
+ type: array
20470
+ items:
20471
+ type: string
20472
+ nullable: true
20231
20473
  - type: object
20232
20474
  required:
20233
20475
  - column
20476
+ - values
20234
20477
  properties:
20235
20478
  column:
20236
20479
  type: string
20237
20480
  enum:
20238
- - visitorOS
20481
+ - siteSpace
20482
+ values:
20483
+ type: array
20484
+ items:
20485
+ type: string
20486
+ nullable: true
20239
20487
  - type: object
20240
20488
  required:
20241
20489
  - column
20490
+ - values
20242
20491
  properties:
20243
20492
  column:
20244
20493
  type: string
20245
20494
  enum:
20246
- - visitorBot
20495
+ - siteShareKey
20496
+ values:
20497
+ type: array
20498
+ items:
20499
+ type: string
20500
+ nullable: true
20247
20501
  - type: object
20248
20502
  required:
20249
20503
  - column
20504
+ - values
20250
20505
  properties:
20251
20506
  column:
20252
20507
  type: string
20253
20508
  enum:
20254
- - visitorLanguage
20509
+ - page
20510
+ values:
20511
+ type: array
20512
+ items:
20513
+ oneOf:
20514
+ - type: string
20515
+ nullable: true
20516
+ enum:
20517
+ - null
20518
+ - type: object
20519
+ required:
20520
+ - page
20521
+ - space
20522
+ properties:
20523
+ page:
20524
+ type: string
20525
+ nullable: true
20526
+ space:
20527
+ type: string
20255
20528
  - type: object
20256
20529
  required:
20257
20530
  - column
20531
+ - values
20258
20532
  properties:
20259
20533
  column:
20260
20534
  type: string
20261
20535
  enum:
20262
- - eventLinkTargetValue
20536
+ - visitorGeoCountry
20537
+ values:
20538
+ type: array
20539
+ items:
20540
+ type: string
20541
+ nullable: true
20263
20542
  - type: object
20264
20543
  required:
20265
20544
  - column
20545
+ - values
20266
20546
  properties:
20267
20547
  column:
20268
20548
  type: string
20269
20549
  enum:
20270
- - eventLinkTargetKind
20550
+ - visitorGeoPoint
20551
+ values:
20552
+ type: array
20553
+ items:
20554
+ type: object
20555
+ nullable: true
20556
+ required:
20557
+ - latitude
20558
+ - longitude
20559
+ - h3
20560
+ properties:
20561
+ latitude:
20562
+ type: number
20563
+ longitude:
20564
+ type: number
20565
+ h3:
20566
+ type: string
20271
20567
  - type: object
20272
20568
  required:
20273
20569
  - column
20570
+ - values
20274
20571
  properties:
20275
20572
  column:
20276
20573
  type: string
20277
20574
  enum:
20278
- - eventLinkTargetDomain
20575
+ - visitorLanguage
20576
+ values:
20577
+ type: array
20578
+ items:
20579
+ type: string
20580
+ nullable: true
20279
20581
  - type: object
20280
20582
  required:
20281
20583
  - column
20584
+ - values
20282
20585
  properties:
20283
20586
  column:
20284
20587
  type: string
20285
20588
  enum:
20286
- - eventLinkPosition
20589
+ - eventLinkTargetDomain
20590
+ values:
20591
+ type: array
20592
+ items:
20593
+ type: string
20594
+ nullable: true
20287
20595
  - type: object
20288
20596
  required:
20289
20597
  - column
20598
+ - values
20290
20599
  properties:
20291
20600
  column:
20292
20601
  type: string
20293
20602
  enum:
20294
20603
  - eventAPIOperationPath
20604
+ values:
20605
+ type: array
20606
+ items:
20607
+ type: string
20608
+ nullable: true
20295
20609
  - type: object
20296
20610
  required:
20297
20611
  - column
20612
+ - values
20298
20613
  properties:
20299
20614
  column:
20300
20615
  type: string
20301
20616
  enum:
20302
20617
  - eventAPIOperationMethod
20618
+ values:
20619
+ type: array
20620
+ items:
20621
+ type: string
20622
+ nullable: true
20303
20623
  - type: object
20304
20624
  required:
20305
20625
  - column
20626
+ - values
20306
20627
  properties:
20307
20628
  column:
20308
20629
  type: string
20309
20630
  enum:
20310
20631
  - eventSearchQuery
20632
+ values:
20633
+ type: array
20634
+ items:
20635
+ type: string
20311
20636
  - type: object
20312
20637
  required:
20313
20638
  - column
20639
+ - values
20314
20640
  properties:
20315
20641
  column:
20316
20642
  type: string
20317
20643
  enum:
20318
20644
  - pageFeedbackRating
20645
+ values:
20646
+ type: array
20647
+ items:
20648
+ type: object
20649
+ required:
20650
+ - ok
20651
+ - good
20652
+ - bad
20653
+ properties:
20654
+ ok:
20655
+ type: number
20656
+ good:
20657
+ type: number
20658
+ bad:
20659
+ type: number
20319
20660
  - type: object
20320
20661
  required:
20321
20662
  - column
20663
+ - values
20322
20664
  properties:
20323
20665
  column:
20324
20666
  type: string
20325
20667
  enum:
20326
- - referrer
20668
+ - eventPageFeedbackRating
20669
+ values:
20670
+ type: array
20671
+ items:
20672
+ $ref: "#/components/schemas/PageFeedbackRating"
20327
20673
  - type: object
20328
20674
  required:
20329
20675
  - column
20676
+ - values
20330
20677
  properties:
20331
20678
  column:
20332
20679
  type: string
20333
20680
  enum:
20334
- - referrerDomain
20681
+ - eventPageFeedbackComment
20682
+ values:
20683
+ type: array
20684
+ items:
20685
+ type: string
20335
20686
  - type: object
20336
20687
  required:
20337
20688
  - column
20689
+ - values
20338
20690
  properties:
20339
20691
  column:
20340
20692
  type: string
20341
20693
  enum:
20342
- - utmSource
20694
+ - referrer
20695
+ values:
20696
+ type: array
20697
+ items:
20698
+ type: string
20343
20699
  - type: object
20344
20700
  required:
20345
20701
  - column
20702
+ - values
20346
20703
  properties:
20347
20704
  column:
20348
20705
  type: string
20349
20706
  enum:
20350
- - utmMedium
20707
+ - referrerDomain
20708
+ values:
20709
+ type: array
20710
+ items:
20711
+ type: string
20351
20712
  - type: object
20352
20713
  required:
20353
20714
  - column
20715
+ - values
20354
20716
  properties:
20355
20717
  column:
20356
20718
  type: string
20357
20719
  enum:
20358
- - utmCampaign
20720
+ - utmSource
20721
+ values:
20722
+ type: array
20723
+ items:
20724
+ type: string
20359
20725
  - type: object
20360
20726
  required:
20361
20727
  - column
20728
+ - values
20362
20729
  properties:
20363
20730
  column:
20364
20731
  type: string
20365
20732
  enum:
20366
- - utmTerm
20733
+ - utmMedium
20734
+ values:
20735
+ type: array
20736
+ items:
20737
+ type: string
20367
20738
  - type: object
20368
20739
  required:
20369
20740
  - column
20741
+ - values
20370
20742
  properties:
20371
20743
  column:
20372
20744
  type: string
20373
20745
  enum:
20374
- - utmContent
20746
+ - utmCampaign
20747
+ values:
20748
+ type: array
20749
+ items:
20750
+ type: string
20375
20751
  - type: object
20376
20752
  required:
20377
20753
  - column
20754
+ - values
20378
20755
  properties:
20379
20756
  column:
20380
20757
  type: string
20381
20758
  enum:
20382
- - visitorClaimProperty
20759
+ - utmTerm
20760
+ values:
20761
+ type: array
20762
+ items:
20763
+ type: string
20383
20764
  - type: object
20384
20765
  required:
20385
20766
  - column
20386
- - claim
20767
+ - values
20387
20768
  properties:
20388
20769
  column:
20389
20770
  type: string
20390
20771
  enum:
20391
- - visitorClaim
20392
- claim:
20393
- type: string
20772
+ - utmContent
20773
+ values:
20774
+ type: array
20775
+ items:
20776
+ type: string
20394
20777
  - type: object
20395
20778
  required:
20396
20779
  - column
20780
+ - values
20397
20781
  properties:
20398
20782
  column:
20399
20783
  type: string
20400
20784
  enum:
20401
20785
  - eventAdDomain
20786
+ values:
20787
+ type: array
20788
+ items:
20789
+ type: string
20402
20790
  - type: object
20403
20791
  required:
20404
20792
  - column
20793
+ - values
20405
20794
  properties:
20406
20795
  column:
20407
20796
  type: string
20408
20797
  enum:
20409
20798
  - eventAdPlacement
20799
+ values:
20800
+ type: array
20801
+ items:
20802
+ $ref: "#/components/schemas/SiteInsightsAdPlacement"
20410
20803
  - type: object
20411
20804
  required:
20412
20805
  - column
20806
+ - values
20413
20807
  properties:
20414
20808
  column:
20415
20809
  type: string
20416
20810
  enum:
20417
20811
  - eventTrademarkPlacement
20812
+ values:
20813
+ type: array
20814
+ items:
20815
+ $ref: "#/components/schemas/SiteInsightsTrademarkPlacement"
20816
+ SiteInsightsQueryOperator:
20817
+ type: string
20818
+ enum:
20819
+ - in
20820
+ - notIn
20821
+ - greaterThan
20822
+ - greaterThanOrEqual
20823
+ - lessThan
20824
+ - lessThanOrEqual
20825
+ SiteInsightsQueryEventsFilter:
20826
+ allOf:
20827
+ - $ref: "#/components/schemas/SiteInsightsQueryEventsValues"
20828
+ - type: object
20829
+ properties:
20830
+ operator:
20831
+ $ref: "#/components/schemas/SiteInsightsQueryOperator"
20418
20832
  SiteInsightsQueryRange:
20419
20833
  type: string
20420
20834
  enum:
@@ -20426,16 +20840,18 @@ components:
20426
20840
  SiteInsightsQueryEventsAggregation:
20427
20841
  type: object
20428
20842
  required:
20429
- - groupBy
20430
20843
  - range
20431
20844
  properties:
20845
+ select:
20846
+ type: array
20847
+ items:
20848
+ $ref: "#/components/schemas/SiteInsightsQueryEventsColumn"
20432
20849
  where:
20433
20850
  type: array
20434
20851
  items:
20435
20852
  $ref: "#/components/schemas/SiteInsightsQueryEventsFilter"
20436
20853
  groupBy:
20437
20854
  type: array
20438
- minItems: 1
20439
20855
  items:
20440
20856
  $ref: "#/components/schemas/SiteInsightsQueryEventsColumn"
20441
20857
  order:
@@ -20453,6 +20869,11 @@ components:
20453
20869
  - desc
20454
20870
  range:
20455
20871
  $ref: "#/components/schemas/SiteInsightsQueryRange"
20872
+ limit:
20873
+ type: integer
20874
+ default: 1000
20875
+ minimum: 1
20876
+ maximum: 1000
20456
20877
  SiteInsightsQueryEventsAggregationResult:
20457
20878
  type: object
20458
20879
  required:
@@ -20462,6 +20883,30 @@ components:
20462
20883
  type: array
20463
20884
  items:
20464
20885
  $ref: "#/components/schemas/SiteInsightsQueryEventsValues"
20886
+ SiteInsightsVisitorSegment:
20887
+ type: object
20888
+ description: A segment of visitors with the same characteristics.
20889
+ properties:
20890
+ title:
20891
+ type: string
20892
+ description: The title of the visitor profile.
20893
+ claims:
20894
+ $ref: "#/components/schemas/PlainObject"
20895
+ events:
20896
+ type: number
20897
+ description: The number of events for this visitor profile.
20898
+ visitors:
20899
+ type: number
20900
+ description: The number of visitors for this visitor profile.
20901
+ sessions:
20902
+ type: number
20903
+ description: The number of sessions for this visitor profile.
20904
+ required:
20905
+ - title
20906
+ - claims
20907
+ - events
20908
+ - visitors
20909
+ - sessions
20465
20910
  InsightsInterval:
20466
20911
  type: string
20467
20912
  description: The interval for grouping the results