@opusdns/api 0.140.0 → 0.142.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:
@@ -2532,7 +2658,6 @@ components:
2532
2658
  type: string
2533
2659
  x-typeid-prefix: email_forward_alias
2534
2660
  forward_to:
2535
- format: email
2536
2661
  title: Forward To
2537
2662
  type: string
2538
2663
  required:
@@ -2547,7 +2672,6 @@ components:
2547
2672
  title: Alias
2548
2673
  type: string
2549
2674
  forward_to:
2550
- format: email
2551
2675
  title: Forward To
2552
2676
  type: string
2553
2677
  required:
@@ -2558,7 +2682,6 @@ components:
2558
2682
  EmailForwardAliasUpdate:
2559
2683
  properties:
2560
2684
  forward_to:
2561
- format: email
2562
2685
  title: Forward To
2563
2686
  type: string
2564
2687
  required:
@@ -2994,6 +3117,19 @@ components:
2994
3117
  - start_date
2995
3118
  title: GeneralAvailabilityBase
2996
3119
  type: object
3120
+ GeoStatsBucket:
3121
+ properties:
3122
+ key:
3123
+ title: Key
3124
+ type: string
3125
+ total:
3126
+ title: Total
3127
+ type: integer
3128
+ required:
3129
+ - key
3130
+ - total
3131
+ title: GeoStatsBucket
3132
+ type: object
2997
3133
  GetPricesResponse:
2998
3134
  properties:
2999
3135
  prices:
@@ -3540,6 +3676,14 @@ components:
3540
3676
  - business_entity
3541
3677
  title: LocalPresenceRequirementType
3542
3678
  type: string
3679
+ MetricsGrouping:
3680
+ enum:
3681
+ - url
3682
+ - fqdn
3683
+ - domain
3684
+ - forward
3685
+ title: MetricsGrouping
3686
+ type: string
3543
3687
  Nameserver:
3544
3688
  properties:
3545
3689
  hostname:
@@ -4659,6 +4803,23 @@ components:
4659
4803
  type: array
4660
4804
  title: PermissionSet
4661
4805
  type: object
4806
+ PlatformStatsBucket:
4807
+ properties:
4808
+ key:
4809
+ title: Key
4810
+ type: string
4811
+ total:
4812
+ title: Total
4813
+ type: integer
4814
+ unique:
4815
+ title: Unique
4816
+ type: integer
4817
+ required:
4818
+ - key
4819
+ - total
4820
+ - unique
4821
+ title: PlatformStatsBucket
4822
+ type: object
4662
4823
  PostTransferRequirements:
4663
4824
  enum:
4664
4825
  - update_contacts
@@ -4777,6 +4938,12 @@ components:
4777
4938
  - status
4778
4939
  title: Problem
4779
4940
  type: object
4941
+ Protocol:
4942
+ enum:
4943
+ - http
4944
+ - https
4945
+ title: Protocol
4946
+ type: string
4780
4947
  PublicAuthRequestForm:
4781
4948
  properties:
4782
4949
  client_id:
@@ -4824,6 +4991,23 @@ components:
4824
4991
  - 308
4825
4992
  title: RedirectCode
4826
4993
  type: integer
4994
+ ReferrerStatsBucket:
4995
+ properties:
4996
+ key:
4997
+ title: Key
4998
+ type: string
4999
+ total:
5000
+ title: Total
5001
+ type: integer
5002
+ unique:
5003
+ title: Unique
5004
+ type: integer
5005
+ required:
5006
+ - key
5007
+ - total
5008
+ - unique
5009
+ title: ReferrerStatsBucket
5010
+ type: object
4827
5011
  RegistrantChangeType:
4828
5012
  enum:
4829
5013
  - update
@@ -5110,6 +5294,19 @@ components:
5110
5294
  title: Remove
5111
5295
  title: SpiceDbRelationshipUpdate
5112
5296
  type: object
5297
+ StatusCodeStatsBucket:
5298
+ properties:
5299
+ key:
5300
+ title: Key
5301
+ type: string
5302
+ total:
5303
+ title: Total
5304
+ type: integer
5305
+ required:
5306
+ - key
5307
+ - total
5308
+ title: StatusCodeStatsBucket
5309
+ type: object
5113
5310
  SyncOperationType:
5114
5311
  enum:
5115
5312
  - registration
@@ -5123,6 +5320,28 @@ components:
5123
5320
  - ccTLD
5124
5321
  title: TLDType
5125
5322
  type: string
5323
+ TimeRange:
5324
+ enum:
5325
+ - 1h
5326
+ - 1d
5327
+ - 7d
5328
+ - 30d
5329
+ title: TimeRange
5330
+ type: string
5331
+ TimeSeriesBucket:
5332
+ properties:
5333
+ timestamp:
5334
+ format: date-time
5335
+ title: Timestamp
5336
+ type: string
5337
+ total:
5338
+ title: Total
5339
+ type: integer
5340
+ required:
5341
+ - timestamp
5342
+ - total
5343
+ title: TimeSeriesBucket
5344
+ type: object
5126
5345
  TldBase:
5127
5346
  properties:
5128
5347
  name:
@@ -5517,6 +5736,23 @@ components:
5517
5736
  - status
5518
5737
  title: User
5519
5738
  type: object
5739
+ UserAgentStatsBucket:
5740
+ properties:
5741
+ key:
5742
+ title: Key
5743
+ type: string
5744
+ total:
5745
+ title: Total
5746
+ type: integer
5747
+ unique:
5748
+ title: Unique
5749
+ type: integer
5750
+ required:
5751
+ - key
5752
+ - total
5753
+ - unique
5754
+ title: UserAgentStatsBucket
5755
+ type: object
5520
5756
  UserAttributeBase:
5521
5757
  properties:
5522
5758
  key:
@@ -6020,6 +6256,23 @@ components:
6020
6256
  - email
6021
6257
  title: VerificationType
6022
6258
  type: string
6259
+ VisitsByKeyBucket:
6260
+ properties:
6261
+ key:
6262
+ title: Key
6263
+ type: string
6264
+ total:
6265
+ title: Total
6266
+ type: integer
6267
+ unique:
6268
+ title: Unique
6269
+ type: integer
6270
+ required:
6271
+ - key
6272
+ - total
6273
+ - unique
6274
+ title: VisitsByKeyBucket
6275
+ type: object
6023
6276
  WhoisBase:
6024
6277
  properties:
6025
6278
  whois_server:
@@ -6231,7 +6484,7 @@ info:
6231
6484
  '
6232
6485
  summary: OpusDNS - your gateway to a seamless domain management experience.
6233
6486
  title: OpusDNS API
6234
- version: 2026-01-05-134959
6487
+ version: 2026-01-08-111822
6235
6488
  x-logo:
6236
6489
  altText: OpusDNS API Reference
6237
6490
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -9274,6 +9527,446 @@ paths:
9274
9527
  summary: Create a domain forward
9275
9528
  tags:
9276
9529
  - domain_forward
9530
+ /v1/domain-forwards/metrics:
9531
+ get:
9532
+ operationId: metrics_v1_domain_forwards_metrics_get
9533
+ parameters:
9534
+ - in: query
9535
+ name: hostname
9536
+ required: false
9537
+ schema:
9538
+ anyOf:
9539
+ - type: string
9540
+ - type: 'null'
9541
+ title: Hostname
9542
+ - description: 'Filter by protocol: http or https'
9543
+ in: query
9544
+ name: protocol
9545
+ required: false
9546
+ schema:
9547
+ anyOf:
9548
+ - $ref: '#/components/schemas/Protocol'
9549
+ - type: 'null'
9550
+ description: 'Filter by protocol: http or https'
9551
+ title: Protocol
9552
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9553
+ in: query
9554
+ name: time_range
9555
+ required: false
9556
+ schema:
9557
+ $ref: '#/components/schemas/TimeRange'
9558
+ default: 1d
9559
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9560
+ responses:
9561
+ '200':
9562
+ content:
9563
+ application/json:
9564
+ schema:
9565
+ $ref: '#/components/schemas/DomainForwardMetricsResponse'
9566
+ description: Successful Response
9567
+ '422':
9568
+ content:
9569
+ application/problem+json:
9570
+ schema:
9571
+ $ref: '#/components/schemas/HTTPValidationError'
9572
+ description: Validation Error
9573
+ security:
9574
+ - OAuth2PasswordBearer: []
9575
+ summary: Metrics
9576
+ tags:
9577
+ - domain_forward
9578
+ /v1/domain-forwards/metrics/browser:
9579
+ get:
9580
+ operationId: browser_stats_v1_domain_forwards_metrics_browser_get
9581
+ parameters:
9582
+ - in: query
9583
+ name: hostname
9584
+ required: false
9585
+ schema:
9586
+ anyOf:
9587
+ - type: string
9588
+ - type: 'null'
9589
+ title: Hostname
9590
+ - description: 'Filter by protocol: http or https'
9591
+ in: query
9592
+ name: protocol
9593
+ required: false
9594
+ schema:
9595
+ anyOf:
9596
+ - $ref: '#/components/schemas/Protocol'
9597
+ - type: 'null'
9598
+ description: 'Filter by protocol: http or https'
9599
+ title: Protocol
9600
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9601
+ in: query
9602
+ name: time_range
9603
+ required: false
9604
+ schema:
9605
+ $ref: '#/components/schemas/TimeRange'
9606
+ default: 1d
9607
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9608
+ responses:
9609
+ '200':
9610
+ content:
9611
+ application/json:
9612
+ schema:
9613
+ $ref: '#/components/schemas/DomainForwardBrowserStatsResponse'
9614
+ description: Successful Response
9615
+ '422':
9616
+ content:
9617
+ application/problem+json:
9618
+ schema:
9619
+ $ref: '#/components/schemas/HTTPValidationError'
9620
+ description: Validation Error
9621
+ security:
9622
+ - OAuth2PasswordBearer: []
9623
+ summary: Browser Stats
9624
+ tags:
9625
+ - domain_forward
9626
+ /v1/domain-forwards/metrics/geo:
9627
+ get:
9628
+ operationId: geo_stats_v1_domain_forwards_metrics_geo_get
9629
+ parameters:
9630
+ - in: query
9631
+ name: hostname
9632
+ required: false
9633
+ schema:
9634
+ anyOf:
9635
+ - type: string
9636
+ - type: 'null'
9637
+ title: Hostname
9638
+ - description: 'Filter by protocol: http or https'
9639
+ in: query
9640
+ name: protocol
9641
+ required: false
9642
+ schema:
9643
+ anyOf:
9644
+ - $ref: '#/components/schemas/Protocol'
9645
+ - type: 'null'
9646
+ description: 'Filter by protocol: http or https'
9647
+ title: Protocol
9648
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9649
+ in: query
9650
+ name: time_range
9651
+ required: false
9652
+ schema:
9653
+ $ref: '#/components/schemas/TimeRange'
9654
+ default: 1d
9655
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9656
+ responses:
9657
+ '200':
9658
+ content:
9659
+ application/json:
9660
+ schema:
9661
+ $ref: '#/components/schemas/DomainForwardGeoStatsResponse'
9662
+ description: Successful Response
9663
+ '422':
9664
+ content:
9665
+ application/problem+json:
9666
+ schema:
9667
+ $ref: '#/components/schemas/HTTPValidationError'
9668
+ description: Validation Error
9669
+ security:
9670
+ - OAuth2PasswordBearer: []
9671
+ summary: Geo Stats
9672
+ tags:
9673
+ - domain_forward
9674
+ /v1/domain-forwards/metrics/platform:
9675
+ get:
9676
+ operationId: platform_stats_v1_domain_forwards_metrics_platform_get
9677
+ parameters:
9678
+ - in: query
9679
+ name: hostname
9680
+ required: false
9681
+ schema:
9682
+ anyOf:
9683
+ - type: string
9684
+ - type: 'null'
9685
+ title: Hostname
9686
+ - description: 'Filter by protocol: http or https'
9687
+ in: query
9688
+ name: protocol
9689
+ required: false
9690
+ schema:
9691
+ anyOf:
9692
+ - $ref: '#/components/schemas/Protocol'
9693
+ - type: 'null'
9694
+ description: 'Filter by protocol: http or https'
9695
+ title: Protocol
9696
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9697
+ in: query
9698
+ name: time_range
9699
+ required: false
9700
+ schema:
9701
+ $ref: '#/components/schemas/TimeRange'
9702
+ default: 1d
9703
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9704
+ responses:
9705
+ '200':
9706
+ content:
9707
+ application/json:
9708
+ schema:
9709
+ $ref: '#/components/schemas/DomainForwardPlatformStatsResponse'
9710
+ description: Successful Response
9711
+ '422':
9712
+ content:
9713
+ application/problem+json:
9714
+ schema:
9715
+ $ref: '#/components/schemas/HTTPValidationError'
9716
+ description: Validation Error
9717
+ security:
9718
+ - OAuth2PasswordBearer: []
9719
+ summary: Platform Stats
9720
+ tags:
9721
+ - domain_forward
9722
+ /v1/domain-forwards/metrics/referrer:
9723
+ get:
9724
+ operationId: referrer_stats_v1_domain_forwards_metrics_referrer_get
9725
+ parameters:
9726
+ - in: query
9727
+ name: hostname
9728
+ required: false
9729
+ schema:
9730
+ anyOf:
9731
+ - type: string
9732
+ - type: 'null'
9733
+ title: Hostname
9734
+ - description: 'Filter by protocol: http or https'
9735
+ in: query
9736
+ name: protocol
9737
+ required: false
9738
+ schema:
9739
+ anyOf:
9740
+ - $ref: '#/components/schemas/Protocol'
9741
+ - type: 'null'
9742
+ description: 'Filter by protocol: http or https'
9743
+ title: Protocol
9744
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9745
+ in: query
9746
+ name: time_range
9747
+ required: false
9748
+ schema:
9749
+ $ref: '#/components/schemas/TimeRange'
9750
+ default: 1d
9751
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9752
+ responses:
9753
+ '200':
9754
+ content:
9755
+ application/json:
9756
+ schema:
9757
+ $ref: '#/components/schemas/DomainForwardReferrerStatsResponse'
9758
+ description: Successful Response
9759
+ '422':
9760
+ content:
9761
+ application/problem+json:
9762
+ schema:
9763
+ $ref: '#/components/schemas/HTTPValidationError'
9764
+ description: Validation Error
9765
+ security:
9766
+ - OAuth2PasswordBearer: []
9767
+ summary: Referrer Stats
9768
+ tags:
9769
+ - domain_forward
9770
+ /v1/domain-forwards/metrics/status-code:
9771
+ get:
9772
+ operationId: status_code_stats_v1_domain_forwards_metrics_status_code_get
9773
+ parameters:
9774
+ - in: query
9775
+ name: hostname
9776
+ required: false
9777
+ schema:
9778
+ anyOf:
9779
+ - type: string
9780
+ - type: 'null'
9781
+ title: Hostname
9782
+ - description: 'Filter by protocol: http or https'
9783
+ in: query
9784
+ name: protocol
9785
+ required: false
9786
+ schema:
9787
+ anyOf:
9788
+ - $ref: '#/components/schemas/Protocol'
9789
+ - type: 'null'
9790
+ description: 'Filter by protocol: http or https'
9791
+ title: Protocol
9792
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9793
+ in: query
9794
+ name: time_range
9795
+ required: false
9796
+ schema:
9797
+ $ref: '#/components/schemas/TimeRange'
9798
+ default: 1d
9799
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9800
+ responses:
9801
+ '200':
9802
+ content:
9803
+ application/json:
9804
+ schema:
9805
+ $ref: '#/components/schemas/DomainForwardStatusCodeStatsResponse'
9806
+ description: Successful Response
9807
+ '422':
9808
+ content:
9809
+ application/problem+json:
9810
+ schema:
9811
+ $ref: '#/components/schemas/HTTPValidationError'
9812
+ description: Validation Error
9813
+ security:
9814
+ - OAuth2PasswordBearer: []
9815
+ summary: Status Code Stats
9816
+ tags:
9817
+ - domain_forward
9818
+ /v1/domain-forwards/metrics/time-series:
9819
+ get:
9820
+ operationId: time_series_v1_domain_forwards_metrics_time_series_get
9821
+ parameters:
9822
+ - in: query
9823
+ name: hostname
9824
+ required: false
9825
+ schema:
9826
+ anyOf:
9827
+ - type: string
9828
+ - type: 'null'
9829
+ title: Hostname
9830
+ - description: 'Filter by protocol: http or https'
9831
+ in: query
9832
+ name: protocol
9833
+ required: false
9834
+ schema:
9835
+ anyOf:
9836
+ - $ref: '#/components/schemas/Protocol'
9837
+ - type: 'null'
9838
+ description: 'Filter by protocol: http or https'
9839
+ title: Protocol
9840
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9841
+ in: query
9842
+ name: time_range
9843
+ required: false
9844
+ schema:
9845
+ $ref: '#/components/schemas/TimeRange'
9846
+ default: 1d
9847
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9848
+ responses:
9849
+ '200':
9850
+ content:
9851
+ application/json:
9852
+ schema:
9853
+ $ref: '#/components/schemas/DomainForwardMetricsTimeSeriesResponse'
9854
+ description: Successful Response
9855
+ '422':
9856
+ content:
9857
+ application/problem+json:
9858
+ schema:
9859
+ $ref: '#/components/schemas/HTTPValidationError'
9860
+ description: Validation Error
9861
+ security:
9862
+ - OAuth2PasswordBearer: []
9863
+ summary: Time Series
9864
+ tags:
9865
+ - domain_forward
9866
+ /v1/domain-forwards/metrics/user-agent:
9867
+ get:
9868
+ operationId: user_agent_stats_v1_domain_forwards_metrics_user_agent_get
9869
+ parameters:
9870
+ - in: query
9871
+ name: hostname
9872
+ required: false
9873
+ schema:
9874
+ anyOf:
9875
+ - type: string
9876
+ - type: 'null'
9877
+ title: Hostname
9878
+ - description: 'Filter by protocol: http or https'
9879
+ in: query
9880
+ name: protocol
9881
+ required: false
9882
+ schema:
9883
+ anyOf:
9884
+ - $ref: '#/components/schemas/Protocol'
9885
+ - type: 'null'
9886
+ description: 'Filter by protocol: http or https'
9887
+ title: Protocol
9888
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9889
+ in: query
9890
+ name: time_range
9891
+ required: false
9892
+ schema:
9893
+ $ref: '#/components/schemas/TimeRange'
9894
+ default: 1d
9895
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9896
+ responses:
9897
+ '200':
9898
+ content:
9899
+ application/json:
9900
+ schema:
9901
+ $ref: '#/components/schemas/DomainForwardUserAgentStatsResponse'
9902
+ description: Successful Response
9903
+ '422':
9904
+ content:
9905
+ application/problem+json:
9906
+ schema:
9907
+ $ref: '#/components/schemas/HTTPValidationError'
9908
+ description: Validation Error
9909
+ security:
9910
+ - OAuth2PasswordBearer: []
9911
+ summary: User Agent Stats
9912
+ tags:
9913
+ - domain_forward
9914
+ /v1/domain-forwards/metrics/visits-by-key:
9915
+ get:
9916
+ operationId: visits_by_key_v1_domain_forwards_metrics_visits_by_key_get
9917
+ parameters:
9918
+ - description: 'Grouping key: url, fqdn, domain, or forward'
9919
+ in: query
9920
+ name: grouping
9921
+ required: false
9922
+ schema:
9923
+ $ref: '#/components/schemas/MetricsGrouping'
9924
+ default: domain
9925
+ description: 'Grouping key: url, fqdn, domain, or forward'
9926
+ - in: query
9927
+ name: hostname
9928
+ required: false
9929
+ schema:
9930
+ anyOf:
9931
+ - type: string
9932
+ - type: 'null'
9933
+ title: Hostname
9934
+ - description: 'Filter by protocol: http or https'
9935
+ in: query
9936
+ name: protocol
9937
+ required: false
9938
+ schema:
9939
+ anyOf:
9940
+ - $ref: '#/components/schemas/Protocol'
9941
+ - type: 'null'
9942
+ description: 'Filter by protocol: http or https'
9943
+ title: Protocol
9944
+ - description: 'Time range: 1h, 1d, 7d, or 30d'
9945
+ in: query
9946
+ name: time_range
9947
+ required: false
9948
+ schema:
9949
+ $ref: '#/components/schemas/TimeRange'
9950
+ default: 1d
9951
+ description: 'Time range: 1h, 1d, 7d, or 30d'
9952
+ responses:
9953
+ '200':
9954
+ content:
9955
+ application/json:
9956
+ schema:
9957
+ $ref: '#/components/schemas/DomainForwardVisitsByKeyResponse'
9958
+ description: Successful Response
9959
+ '422':
9960
+ content:
9961
+ application/problem+json:
9962
+ schema:
9963
+ $ref: '#/components/schemas/HTTPValidationError'
9964
+ description: Validation Error
9965
+ security:
9966
+ - OAuth2PasswordBearer: []
9967
+ summary: Visits By Key
9968
+ tags:
9969
+ - domain_forward
9277
9970
  /v1/domain-forwards/{hostname}:
9278
9971
  delete:
9279
9972
  description: Deletes the domain forward configuration for the specified hostname