@opusdns/api 0.140.0 → 0.141.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/src/openapi.yaml CHANGED
@@ -206,6 +206,23 @@ components:
206
206
  - canceled
207
207
  title: BillingTransactionStatus
208
208
  type: string
209
+ BrowserStatsBucket:
210
+ properties:
211
+ key:
212
+ title: Key
213
+ type: string
214
+ total:
215
+ title: Total
216
+ type: integer
217
+ unique:
218
+ title: Unique
219
+ type: integer
220
+ required:
221
+ - key
222
+ - total
223
+ - unique
224
+ title: BrowserStatsBucket
225
+ type: object
209
226
  ContactAttributeDefinition:
210
227
  description: Definition of a possible attribute for a TLD.
211
228
  properties:
@@ -1578,6 +1595,17 @@ components:
1578
1595
  - created_on
1579
1596
  title: DomainForward
1580
1597
  type: object
1598
+ DomainForwardBrowserStatsResponse:
1599
+ properties:
1600
+ results:
1601
+ items:
1602
+ $ref: '#/components/schemas/BrowserStatsBucket'
1603
+ title: Results
1604
+ type: array
1605
+ required:
1606
+ - results
1607
+ title: DomainForwardBrowserStatsResponse
1608
+ type: object
1581
1609
  DomainForwardCreateRequest:
1582
1610
  properties:
1583
1611
  enabled:
@@ -1599,6 +1627,49 @@ components:
1599
1627
  - hostname
1600
1628
  title: DomainForwardCreateRequest
1601
1629
  type: object
1630
+ DomainForwardGeoStatsResponse:
1631
+ properties:
1632
+ results:
1633
+ items:
1634
+ $ref: '#/components/schemas/GeoStatsBucket'
1635
+ title: Results
1636
+ type: array
1637
+ required:
1638
+ - results
1639
+ title: DomainForwardGeoStatsResponse
1640
+ type: object
1641
+ DomainForwardMetricsResponse:
1642
+ properties:
1643
+ configured_forwards:
1644
+ title: Configured Forwards
1645
+ type: integer
1646
+ invoked_forwards:
1647
+ title: Invoked Forwards
1648
+ type: integer
1649
+ total_visits:
1650
+ title: Total Visits
1651
+ type: integer
1652
+ unique_visits:
1653
+ title: Unique Visits
1654
+ type: integer
1655
+ required:
1656
+ - invoked_forwards
1657
+ - configured_forwards
1658
+ - total_visits
1659
+ - unique_visits
1660
+ title: DomainForwardMetricsResponse
1661
+ type: object
1662
+ DomainForwardMetricsTimeSeriesResponse:
1663
+ properties:
1664
+ results:
1665
+ items:
1666
+ $ref: '#/components/schemas/TimeSeriesBucket'
1667
+ title: Results
1668
+ type: array
1669
+ required:
1670
+ - results
1671
+ title: DomainForwardMetricsTimeSeriesResponse
1672
+ type: object
1602
1673
  DomainForwardPatchOp:
1603
1674
  properties:
1604
1675
  op:
@@ -1624,6 +1695,17 @@ components:
1624
1695
  - ops
1625
1696
  title: DomainForwardPatchOps
1626
1697
  type: object
1698
+ DomainForwardPlatformStatsResponse:
1699
+ properties:
1700
+ results:
1701
+ items:
1702
+ $ref: '#/components/schemas/PlatformStatsBucket'
1703
+ title: Results
1704
+ type: array
1705
+ required:
1706
+ - results
1707
+ title: DomainForwardPlatformStatsResponse
1708
+ type: object
1627
1709
  DomainForwardProtocolSetRequest:
1628
1710
  properties:
1629
1711
  redirects:
@@ -1658,6 +1740,17 @@ components:
1658
1740
  - created_on
1659
1741
  title: DomainForwardProtocolSetResponse
1660
1742
  type: object
1743
+ DomainForwardReferrerStatsResponse:
1744
+ properties:
1745
+ results:
1746
+ items:
1747
+ $ref: '#/components/schemas/ReferrerStatsBucket'
1748
+ title: Results
1749
+ type: array
1750
+ required:
1751
+ - results
1752
+ title: DomainForwardReferrerStatsResponse
1753
+ type: object
1661
1754
  DomainForwardSetCreateRequest:
1662
1755
  properties:
1663
1756
  protocol:
@@ -1723,6 +1816,39 @@ components:
1723
1816
  - updated_on
1724
1817
  title: DomainForwardSortField
1725
1818
  type: string
1819
+ DomainForwardStatusCodeStatsResponse:
1820
+ properties:
1821
+ results:
1822
+ items:
1823
+ $ref: '#/components/schemas/StatusCodeStatsBucket'
1824
+ title: Results
1825
+ type: array
1826
+ required:
1827
+ - results
1828
+ title: DomainForwardStatusCodeStatsResponse
1829
+ type: object
1830
+ DomainForwardUserAgentStatsResponse:
1831
+ properties:
1832
+ results:
1833
+ items:
1834
+ $ref: '#/components/schemas/UserAgentStatsBucket'
1835
+ title: Results
1836
+ type: array
1837
+ required:
1838
+ - results
1839
+ title: DomainForwardUserAgentStatsResponse
1840
+ type: object
1841
+ DomainForwardVisitsByKeyResponse:
1842
+ properties:
1843
+ results:
1844
+ items:
1845
+ $ref: '#/components/schemas/VisitsByKeyBucket'
1846
+ title: Results
1847
+ type: array
1848
+ required:
1849
+ - results
1850
+ title: DomainForwardVisitsByKeyResponse
1851
+ type: object
1726
1852
  DomainForwardZone:
1727
1853
  properties:
1728
1854
  domain_forwards:
@@ -2994,6 +3120,19 @@ components:
2994
3120
  - start_date
2995
3121
  title: GeneralAvailabilityBase
2996
3122
  type: object
3123
+ GeoStatsBucket:
3124
+ properties:
3125
+ key:
3126
+ title: Key
3127
+ type: string
3128
+ total:
3129
+ title: Total
3130
+ type: integer
3131
+ required:
3132
+ - key
3133
+ - total
3134
+ title: GeoStatsBucket
3135
+ type: object
2997
3136
  GetPricesResponse:
2998
3137
  properties:
2999
3138
  prices:
@@ -3540,6 +3679,14 @@ components:
3540
3679
  - business_entity
3541
3680
  title: LocalPresenceRequirementType
3542
3681
  type: string
3682
+ MetricsGrouping:
3683
+ enum:
3684
+ - url
3685
+ - fqdn
3686
+ - domain
3687
+ - forward
3688
+ title: MetricsGrouping
3689
+ type: string
3543
3690
  Nameserver:
3544
3691
  properties:
3545
3692
  hostname:
@@ -4659,6 +4806,23 @@ components:
4659
4806
  type: array
4660
4807
  title: PermissionSet
4661
4808
  type: object
4809
+ PlatformStatsBucket:
4810
+ properties:
4811
+ key:
4812
+ title: Key
4813
+ type: string
4814
+ total:
4815
+ title: Total
4816
+ type: integer
4817
+ unique:
4818
+ title: Unique
4819
+ type: integer
4820
+ required:
4821
+ - key
4822
+ - total
4823
+ - unique
4824
+ title: PlatformStatsBucket
4825
+ type: object
4662
4826
  PostTransferRequirements:
4663
4827
  enum:
4664
4828
  - update_contacts
@@ -4777,6 +4941,12 @@ components:
4777
4941
  - status
4778
4942
  title: Problem
4779
4943
  type: object
4944
+ Protocol:
4945
+ enum:
4946
+ - http
4947
+ - https
4948
+ title: Protocol
4949
+ type: string
4780
4950
  PublicAuthRequestForm:
4781
4951
  properties:
4782
4952
  client_id:
@@ -4824,6 +4994,23 @@ components:
4824
4994
  - 308
4825
4995
  title: RedirectCode
4826
4996
  type: integer
4997
+ ReferrerStatsBucket:
4998
+ properties:
4999
+ key:
5000
+ title: Key
5001
+ type: string
5002
+ total:
5003
+ title: Total
5004
+ type: integer
5005
+ unique:
5006
+ title: Unique
5007
+ type: integer
5008
+ required:
5009
+ - key
5010
+ - total
5011
+ - unique
5012
+ title: ReferrerStatsBucket
5013
+ type: object
4827
5014
  RegistrantChangeType:
4828
5015
  enum:
4829
5016
  - update
@@ -5110,6 +5297,19 @@ components:
5110
5297
  title: Remove
5111
5298
  title: SpiceDbRelationshipUpdate
5112
5299
  type: object
5300
+ StatusCodeStatsBucket:
5301
+ properties:
5302
+ key:
5303
+ title: Key
5304
+ type: string
5305
+ total:
5306
+ title: Total
5307
+ type: integer
5308
+ required:
5309
+ - key
5310
+ - total
5311
+ title: StatusCodeStatsBucket
5312
+ type: object
5113
5313
  SyncOperationType:
5114
5314
  enum:
5115
5315
  - registration
@@ -5123,6 +5323,28 @@ components:
5123
5323
  - ccTLD
5124
5324
  title: TLDType
5125
5325
  type: string
5326
+ TimeRange:
5327
+ enum:
5328
+ - 1h
5329
+ - 1d
5330
+ - 7d
5331
+ - 30d
5332
+ title: TimeRange
5333
+ type: string
5334
+ TimeSeriesBucket:
5335
+ properties:
5336
+ timestamp:
5337
+ format: date-time
5338
+ title: Timestamp
5339
+ type: string
5340
+ total:
5341
+ title: Total
5342
+ type: integer
5343
+ required:
5344
+ - timestamp
5345
+ - total
5346
+ title: TimeSeriesBucket
5347
+ type: object
5126
5348
  TldBase:
5127
5349
  properties:
5128
5350
  name:
@@ -5517,6 +5739,23 @@ components:
5517
5739
  - status
5518
5740
  title: User
5519
5741
  type: object
5742
+ UserAgentStatsBucket:
5743
+ properties:
5744
+ key:
5745
+ title: Key
5746
+ type: string
5747
+ total:
5748
+ title: Total
5749
+ type: integer
5750
+ unique:
5751
+ title: Unique
5752
+ type: integer
5753
+ required:
5754
+ - key
5755
+ - total
5756
+ - unique
5757
+ title: UserAgentStatsBucket
5758
+ type: object
5520
5759
  UserAttributeBase:
5521
5760
  properties:
5522
5761
  key:
@@ -6020,6 +6259,23 @@ components:
6020
6259
  - email
6021
6260
  title: VerificationType
6022
6261
  type: string
6262
+ VisitsByKeyBucket:
6263
+ properties:
6264
+ key:
6265
+ title: Key
6266
+ type: string
6267
+ total:
6268
+ title: Total
6269
+ type: integer
6270
+ unique:
6271
+ title: Unique
6272
+ type: integer
6273
+ required:
6274
+ - key
6275
+ - total
6276
+ - unique
6277
+ title: VisitsByKeyBucket
6278
+ type: object
6023
6279
  WhoisBase:
6024
6280
  properties:
6025
6281
  whois_server:
@@ -6231,7 +6487,7 @@ info:
6231
6487
  '
6232
6488
  summary: OpusDNS - your gateway to a seamless domain management experience.
6233
6489
  title: OpusDNS API
6234
- version: 2026-01-05-134959
6490
+ version: 2026-01-07-115447
6235
6491
  x-logo:
6236
6492
  altText: OpusDNS API Reference
6237
6493
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -9274,6 +9530,446 @@ paths:
9274
9530
  summary: Create a domain forward
9275
9531
  tags:
9276
9532
  - domain_forward
9533
+ /v1/domain-forwards/metrics:
9534
+ get:
9535
+ operationId: metrics_v1_domain_forwards_metrics_get
9536
+ parameters:
9537
+ - in: query
9538
+ name: hostname
9539
+ required: false
9540
+ schema:
9541
+ anyOf:
9542
+ - type: string
9543
+ - type: 'null'
9544
+ title: Hostname
9545
+ - description: 'Filter by protocol: http or https'
9546
+ in: query
9547
+ name: protocol
9548
+ required: false
9549
+ schema:
9550
+ anyOf:
9551
+ - $ref: '#/components/schemas/Protocol'
9552
+ - type: 'null'
9553
+ description: 'Filter by protocol: http or https'
9554
+ title: Protocol
9555
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9556
+ in: query
9557
+ name: time_range
9558
+ required: false
9559
+ schema:
9560
+ $ref: '#/components/schemas/TimeRange'
9561
+ default: 1d
9562
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9563
+ responses:
9564
+ '200':
9565
+ content:
9566
+ application/json:
9567
+ schema:
9568
+ $ref: '#/components/schemas/DomainForwardMetricsResponse'
9569
+ description: Successful Response
9570
+ '422':
9571
+ content:
9572
+ application/problem+json:
9573
+ schema:
9574
+ $ref: '#/components/schemas/HTTPValidationError'
9575
+ description: Validation Error
9576
+ security:
9577
+ - OAuth2PasswordBearer: []
9578
+ summary: Metrics
9579
+ tags:
9580
+ - domain_forward
9581
+ /v1/domain-forwards/metrics/browser:
9582
+ get:
9583
+ operationId: browser_stats_v1_domain_forwards_metrics_browser_get
9584
+ parameters:
9585
+ - in: query
9586
+ name: hostname
9587
+ required: false
9588
+ schema:
9589
+ anyOf:
9590
+ - type: string
9591
+ - type: 'null'
9592
+ title: Hostname
9593
+ - description: 'Filter by protocol: http or https'
9594
+ in: query
9595
+ name: protocol
9596
+ required: false
9597
+ schema:
9598
+ anyOf:
9599
+ - $ref: '#/components/schemas/Protocol'
9600
+ - type: 'null'
9601
+ description: 'Filter by protocol: http or https'
9602
+ title: Protocol
9603
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9604
+ in: query
9605
+ name: time_range
9606
+ required: false
9607
+ schema:
9608
+ $ref: '#/components/schemas/TimeRange'
9609
+ default: 1d
9610
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9611
+ responses:
9612
+ '200':
9613
+ content:
9614
+ application/json:
9615
+ schema:
9616
+ $ref: '#/components/schemas/DomainForwardBrowserStatsResponse'
9617
+ description: Successful Response
9618
+ '422':
9619
+ content:
9620
+ application/problem+json:
9621
+ schema:
9622
+ $ref: '#/components/schemas/HTTPValidationError'
9623
+ description: Validation Error
9624
+ security:
9625
+ - OAuth2PasswordBearer: []
9626
+ summary: Browser Stats
9627
+ tags:
9628
+ - domain_forward
9629
+ /v1/domain-forwards/metrics/geo:
9630
+ get:
9631
+ operationId: geo_stats_v1_domain_forwards_metrics_geo_get
9632
+ parameters:
9633
+ - in: query
9634
+ name: hostname
9635
+ required: false
9636
+ schema:
9637
+ anyOf:
9638
+ - type: string
9639
+ - type: 'null'
9640
+ title: Hostname
9641
+ - description: 'Filter by protocol: http or https'
9642
+ in: query
9643
+ name: protocol
9644
+ required: false
9645
+ schema:
9646
+ anyOf:
9647
+ - $ref: '#/components/schemas/Protocol'
9648
+ - type: 'null'
9649
+ description: 'Filter by protocol: http or https'
9650
+ title: Protocol
9651
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9652
+ in: query
9653
+ name: time_range
9654
+ required: false
9655
+ schema:
9656
+ $ref: '#/components/schemas/TimeRange'
9657
+ default: 1d
9658
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9659
+ responses:
9660
+ '200':
9661
+ content:
9662
+ application/json:
9663
+ schema:
9664
+ $ref: '#/components/schemas/DomainForwardGeoStatsResponse'
9665
+ description: Successful Response
9666
+ '422':
9667
+ content:
9668
+ application/problem+json:
9669
+ schema:
9670
+ $ref: '#/components/schemas/HTTPValidationError'
9671
+ description: Validation Error
9672
+ security:
9673
+ - OAuth2PasswordBearer: []
9674
+ summary: Geo Stats
9675
+ tags:
9676
+ - domain_forward
9677
+ /v1/domain-forwards/metrics/platform:
9678
+ get:
9679
+ operationId: platform_stats_v1_domain_forwards_metrics_platform_get
9680
+ parameters:
9681
+ - in: query
9682
+ name: hostname
9683
+ required: false
9684
+ schema:
9685
+ anyOf:
9686
+ - type: string
9687
+ - type: 'null'
9688
+ title: Hostname
9689
+ - description: 'Filter by protocol: http or https'
9690
+ in: query
9691
+ name: protocol
9692
+ required: false
9693
+ schema:
9694
+ anyOf:
9695
+ - $ref: '#/components/schemas/Protocol'
9696
+ - type: 'null'
9697
+ description: 'Filter by protocol: http or https'
9698
+ title: Protocol
9699
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9700
+ in: query
9701
+ name: time_range
9702
+ required: false
9703
+ schema:
9704
+ $ref: '#/components/schemas/TimeRange'
9705
+ default: 1d
9706
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9707
+ responses:
9708
+ '200':
9709
+ content:
9710
+ application/json:
9711
+ schema:
9712
+ $ref: '#/components/schemas/DomainForwardPlatformStatsResponse'
9713
+ description: Successful Response
9714
+ '422':
9715
+ content:
9716
+ application/problem+json:
9717
+ schema:
9718
+ $ref: '#/components/schemas/HTTPValidationError'
9719
+ description: Validation Error
9720
+ security:
9721
+ - OAuth2PasswordBearer: []
9722
+ summary: Platform Stats
9723
+ tags:
9724
+ - domain_forward
9725
+ /v1/domain-forwards/metrics/referrer:
9726
+ get:
9727
+ operationId: referrer_stats_v1_domain_forwards_metrics_referrer_get
9728
+ parameters:
9729
+ - in: query
9730
+ name: hostname
9731
+ required: false
9732
+ schema:
9733
+ anyOf:
9734
+ - type: string
9735
+ - type: 'null'
9736
+ title: Hostname
9737
+ - description: 'Filter by protocol: http or https'
9738
+ in: query
9739
+ name: protocol
9740
+ required: false
9741
+ schema:
9742
+ anyOf:
9743
+ - $ref: '#/components/schemas/Protocol'
9744
+ - type: 'null'
9745
+ description: 'Filter by protocol: http or https'
9746
+ title: Protocol
9747
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9748
+ in: query
9749
+ name: time_range
9750
+ required: false
9751
+ schema:
9752
+ $ref: '#/components/schemas/TimeRange'
9753
+ default: 1d
9754
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9755
+ responses:
9756
+ '200':
9757
+ content:
9758
+ application/json:
9759
+ schema:
9760
+ $ref: '#/components/schemas/DomainForwardReferrerStatsResponse'
9761
+ description: Successful Response
9762
+ '422':
9763
+ content:
9764
+ application/problem+json:
9765
+ schema:
9766
+ $ref: '#/components/schemas/HTTPValidationError'
9767
+ description: Validation Error
9768
+ security:
9769
+ - OAuth2PasswordBearer: []
9770
+ summary: Referrer Stats
9771
+ tags:
9772
+ - domain_forward
9773
+ /v1/domain-forwards/metrics/status-code:
9774
+ get:
9775
+ operationId: status_code_stats_v1_domain_forwards_metrics_status_code_get
9776
+ parameters:
9777
+ - in: query
9778
+ name: hostname
9779
+ required: false
9780
+ schema:
9781
+ anyOf:
9782
+ - type: string
9783
+ - type: 'null'
9784
+ title: Hostname
9785
+ - description: 'Filter by protocol: http or https'
9786
+ in: query
9787
+ name: protocol
9788
+ required: false
9789
+ schema:
9790
+ anyOf:
9791
+ - $ref: '#/components/schemas/Protocol'
9792
+ - type: 'null'
9793
+ description: 'Filter by protocol: http or https'
9794
+ title: Protocol
9795
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9796
+ in: query
9797
+ name: time_range
9798
+ required: false
9799
+ schema:
9800
+ $ref: '#/components/schemas/TimeRange'
9801
+ default: 1d
9802
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9803
+ responses:
9804
+ '200':
9805
+ content:
9806
+ application/json:
9807
+ schema:
9808
+ $ref: '#/components/schemas/DomainForwardStatusCodeStatsResponse'
9809
+ description: Successful Response
9810
+ '422':
9811
+ content:
9812
+ application/problem+json:
9813
+ schema:
9814
+ $ref: '#/components/schemas/HTTPValidationError'
9815
+ description: Validation Error
9816
+ security:
9817
+ - OAuth2PasswordBearer: []
9818
+ summary: Status Code Stats
9819
+ tags:
9820
+ - domain_forward
9821
+ /v1/domain-forwards/metrics/time-series:
9822
+ get:
9823
+ operationId: time_series_v1_domain_forwards_metrics_time_series_get
9824
+ parameters:
9825
+ - in: query
9826
+ name: hostname
9827
+ required: false
9828
+ schema:
9829
+ anyOf:
9830
+ - type: string
9831
+ - type: 'null'
9832
+ title: Hostname
9833
+ - description: 'Filter by protocol: http or https'
9834
+ in: query
9835
+ name: protocol
9836
+ required: false
9837
+ schema:
9838
+ anyOf:
9839
+ - $ref: '#/components/schemas/Protocol'
9840
+ - type: 'null'
9841
+ description: 'Filter by protocol: http or https'
9842
+ title: Protocol
9843
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9844
+ in: query
9845
+ name: time_range
9846
+ required: false
9847
+ schema:
9848
+ $ref: '#/components/schemas/TimeRange'
9849
+ default: 1d
9850
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9851
+ responses:
9852
+ '200':
9853
+ content:
9854
+ application/json:
9855
+ schema:
9856
+ $ref: '#/components/schemas/DomainForwardMetricsTimeSeriesResponse'
9857
+ description: Successful Response
9858
+ '422':
9859
+ content:
9860
+ application/problem+json:
9861
+ schema:
9862
+ $ref: '#/components/schemas/HTTPValidationError'
9863
+ description: Validation Error
9864
+ security:
9865
+ - OAuth2PasswordBearer: []
9866
+ summary: Time Series
9867
+ tags:
9868
+ - domain_forward
9869
+ /v1/domain-forwards/metrics/user-agent:
9870
+ get:
9871
+ operationId: user_agent_stats_v1_domain_forwards_metrics_user_agent_get
9872
+ parameters:
9873
+ - in: query
9874
+ name: hostname
9875
+ required: false
9876
+ schema:
9877
+ anyOf:
9878
+ - type: string
9879
+ - type: 'null'
9880
+ title: Hostname
9881
+ - description: 'Filter by protocol: http or https'
9882
+ in: query
9883
+ name: protocol
9884
+ required: false
9885
+ schema:
9886
+ anyOf:
9887
+ - $ref: '#/components/schemas/Protocol'
9888
+ - type: 'null'
9889
+ description: 'Filter by protocol: http or https'
9890
+ title: Protocol
9891
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9892
+ in: query
9893
+ name: time_range
9894
+ required: false
9895
+ schema:
9896
+ $ref: '#/components/schemas/TimeRange'
9897
+ default: 1d
9898
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9899
+ responses:
9900
+ '200':
9901
+ content:
9902
+ application/json:
9903
+ schema:
9904
+ $ref: '#/components/schemas/DomainForwardUserAgentStatsResponse'
9905
+ description: Successful Response
9906
+ '422':
9907
+ content:
9908
+ application/problem+json:
9909
+ schema:
9910
+ $ref: '#/components/schemas/HTTPValidationError'
9911
+ description: Validation Error
9912
+ security:
9913
+ - OAuth2PasswordBearer: []
9914
+ summary: User Agent Stats
9915
+ tags:
9916
+ - domain_forward
9917
+ /v1/domain-forwards/metrics/visits-by-key:
9918
+ get:
9919
+ operationId: visits_by_key_v1_domain_forwards_metrics_visits_by_key_get
9920
+ parameters:
9921
+ - description: 'Grouping key: url, fqdn, domain, or forward'
9922
+ in: query
9923
+ name: grouping
9924
+ required: false
9925
+ schema:
9926
+ $ref: '#/components/schemas/MetricsGrouping'
9927
+ default: domain
9928
+ description: 'Grouping key: url, fqdn, domain, or forward'
9929
+ - in: query
9930
+ name: hostname
9931
+ required: false
9932
+ schema:
9933
+ anyOf:
9934
+ - type: string
9935
+ - type: 'null'
9936
+ title: Hostname
9937
+ - description: 'Filter by protocol: http or https'
9938
+ in: query
9939
+ name: protocol
9940
+ required: false
9941
+ schema:
9942
+ anyOf:
9943
+ - $ref: '#/components/schemas/Protocol'
9944
+ - type: 'null'
9945
+ description: 'Filter by protocol: http or https'
9946
+ title: Protocol
9947
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9948
+ in: query
9949
+ name: time_range
9950
+ required: false
9951
+ schema:
9952
+ $ref: '#/components/schemas/TimeRange'
9953
+ default: 1d
9954
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9955
+ responses:
9956
+ '200':
9957
+ content:
9958
+ application/json:
9959
+ schema:
9960
+ $ref: '#/components/schemas/DomainForwardVisitsByKeyResponse'
9961
+ description: Successful Response
9962
+ '422':
9963
+ content:
9964
+ application/problem+json:
9965
+ schema:
9966
+ $ref: '#/components/schemas/HTTPValidationError'
9967
+ description: Validation Error
9968
+ security:
9969
+ - OAuth2PasswordBearer: []
9970
+ summary: Visits By Key
9971
+ tags:
9972
+ - domain_forward
9277
9973
  /v1/domain-forwards/{hostname}:
9278
9974
  delete:
9279
9975
  description: Deletes the domain forward configuration for the specified hostname