@opusdns/api 0.86.0 → 0.88.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
@@ -1531,6 +1531,53 @@ components:
1531
1531
  - algorithm
1532
1532
  title: DomainDnssecDataResponse
1533
1533
  type: object
1534
+ DomainForward:
1535
+ properties:
1536
+ created_on:
1537
+ format: date-time
1538
+ title: Created On
1539
+ type: string
1540
+ redirects:
1541
+ items:
1542
+ $ref: '#/components/schemas/HttpRedirect'
1543
+ title: Redirects
1544
+ type: array
1545
+ request_protocol:
1546
+ $ref: '#/components/schemas/HttpProtocol'
1547
+ updated_on:
1548
+ format: date-time
1549
+ title: Updated On
1550
+ type: string
1551
+ wildcard:
1552
+ title: Wildcard
1553
+ type: boolean
1554
+ zone_name:
1555
+ title: Zone Name
1556
+ type: string
1557
+ required:
1558
+ - wildcard
1559
+ - redirects
1560
+ - zone_name
1561
+ - request_protocol
1562
+ - updated_on
1563
+ - created_on
1564
+ title: DomainForward
1565
+ type: object
1566
+ DomainForwardRequest:
1567
+ properties:
1568
+ redirects:
1569
+ items:
1570
+ $ref: '#/components/schemas/HttpRedirect'
1571
+ title: Redirects
1572
+ type: array
1573
+ wildcard:
1574
+ title: Wildcard
1575
+ type: boolean
1576
+ required:
1577
+ - wildcard
1578
+ - redirects
1579
+ title: DomainForwardRequest
1580
+ type: object
1534
1581
  DomainLifecycleBase:
1535
1582
  properties:
1536
1583
  add_grace_period:
@@ -2459,6 +2506,45 @@ components:
2459
2506
  - status
2460
2507
  title: RequestValidationError
2461
2508
  type: object
2509
+ HttpProtocol:
2510
+ enum:
2511
+ - http
2512
+ - https
2513
+ title: HttpProtocol
2514
+ type: string
2515
+ HttpRedirect:
2516
+ properties:
2517
+ redirect_code:
2518
+ $ref: '#/components/schemas/RedirectCode'
2519
+ request_path:
2520
+ title: Request Path
2521
+ type: string
2522
+ request_subdomain:
2523
+ anyOf:
2524
+ - type: string
2525
+ - type: 'null'
2526
+ title: Request Subdomain
2527
+ target_domain:
2528
+ title: Target Domain
2529
+ type: string
2530
+ target_path:
2531
+ title: Target Path
2532
+ type: string
2533
+ target_protocol:
2534
+ $ref: '#/components/schemas/HttpProtocol'
2535
+ target_subdomain:
2536
+ anyOf:
2537
+ - type: string
2538
+ - type: 'null'
2539
+ title: Target Subdomain
2540
+ required:
2541
+ - request_path
2542
+ - target_protocol
2543
+ - target_domain
2544
+ - target_path
2545
+ - redirect_code
2546
+ title: HttpRedirect
2547
+ type: object
2462
2548
  IdnBase:
2463
2549
  properties:
2464
2550
  idn_capable:
@@ -3504,20 +3590,6 @@ components:
3504
3590
  - pagination
3505
3591
  title: Pagination[Organization]
3506
3592
  type: object
3507
- Pagination_Redirect_:
3508
- properties:
3509
- pagination:
3510
- $ref: '#/components/schemas/PaginationMetadata'
3511
- results:
3512
- items:
3513
- $ref: '#/components/schemas/Redirect'
3514
- title: Results
3515
- type: array
3516
- required:
3517
- - results
3518
- - pagination
3519
- title: Pagination[Redirect]
3520
- type: object
3521
3593
  Pagination_User_:
3522
3594
  properties:
3523
3595
  pagination:
@@ -3781,141 +3853,14 @@ components:
3781
3853
  title: Rdap Server
3782
3854
  title: RdapBase
3783
3855
  type: object
3784
- Redirect:
3785
- properties:
3786
- redirect_code:
3787
- title: Redirect Code
3788
- type: integer
3789
- request_domain:
3790
- title: Request Domain
3791
- type: string
3792
- request_path:
3793
- title: Request Path
3794
- type: string
3795
- request_protocol:
3796
- title: Request Protocol
3797
- type: string
3798
- request_subdomain:
3799
- title: Request Subdomain
3800
- type: string
3801
- target_domain:
3802
- title: Target Domain
3803
- type: string
3804
- target_path:
3805
- title: Target Path
3806
- type: string
3807
- target_protocol:
3808
- title: Target Protocol
3809
- type: string
3810
- target_subdomain:
3811
- title: Target Subdomain
3812
- type: string
3813
- required:
3814
- - request_protocol
3815
- - request_subdomain
3816
- - request_path
3817
- - target_protocol
3818
- - target_subdomain
3819
- - target_domain
3820
- - target_path
3821
- - redirect_code
3822
- - request_domain
3823
- title: Redirect
3824
- type: object
3825
- RedirectPatchOp:
3826
- properties:
3827
- op:
3828
- $ref: '#/components/schemas/PatchOp'
3829
- redirect:
3830
- anyOf:
3831
- - $ref: '#/components/schemas/Redirect'
3832
- - $ref: '#/components/schemas/RedirectRemove'
3833
- title: Redirect
3834
- required:
3835
- - op
3836
- - redirect
3837
- title: RedirectPatchOp
3838
- type: object
3839
- RedirectPatchOps:
3840
- properties:
3841
- ops:
3842
- items:
3843
- $ref: '#/components/schemas/RedirectPatchOp'
3844
- title: Ops
3845
- type: array
3846
- required:
3847
- - ops
3848
- title: RedirectPatchOps
3849
- type: object
3850
- RedirectRemove:
3851
- properties:
3852
- request_domain:
3853
- title: Request Domain
3854
- type: string
3855
- request_path:
3856
- title: Request Path
3857
- type: string
3858
- request_protocol:
3859
- title: Request Protocol
3860
- type: string
3861
- request_subdomain:
3862
- title: Request Subdomain
3863
- type: string
3864
- required:
3865
- - request_protocol
3866
- - request_subdomain
3867
- - request_path
3868
- - request_domain
3869
- title: RedirectRemove
3870
- type: object
3871
- RedirectSet:
3872
- properties:
3873
- redirects:
3874
- items:
3875
- $ref: '#/components/schemas/RedirectUpdate'
3876
- title: Redirects
3877
- type: array
3878
- required:
3879
- - redirects
3880
- title: RedirectSet
3881
- type: object
3882
- RedirectUpdate:
3883
- properties:
3884
- redirect_code:
3885
- title: Redirect Code
3886
- type: integer
3887
- request_path:
3888
- title: Request Path
3889
- type: string
3890
- request_protocol:
3891
- title: Request Protocol
3892
- type: string
3893
- request_subdomain:
3894
- title: Request Subdomain
3895
- type: string
3896
- target_domain:
3897
- title: Target Domain
3898
- type: string
3899
- target_path:
3900
- title: Target Path
3901
- type: string
3902
- target_protocol:
3903
- title: Target Protocol
3904
- type: string
3905
- target_subdomain:
3906
- title: Target Subdomain
3907
- type: string
3908
- required:
3909
- - request_protocol
3910
- - request_subdomain
3911
- - request_path
3912
- - target_protocol
3913
- - target_subdomain
3914
- - target_domain
3915
- - target_path
3916
- - redirect_code
3917
- title: RedirectUpdate
3918
- type: object
3856
+ RedirectCode:
3857
+ enum:
3858
+ - 301
3859
+ - 302
3860
+ - 307
3861
+ - 308
3862
+ title: RedirectCode
3863
+ type: integer
3919
3864
  RegistrantChangeType:
3920
3865
  enum:
3921
3866
  - update
@@ -4952,7 +4897,7 @@ info:
4952
4897
  '
4953
4898
  summary: OpusDNS - your gateway to a seamless domain management experience.
4954
4899
  title: OpusDNS API
4955
- version: 2025-10-27-080440
4900
+ version: 2025-10-28-153856
4956
4901
  x-logo:
4957
4902
  altText: OpusDNS API Reference
4958
4903
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -6430,15 +6375,18 @@ paths:
6430
6375
  summary: Update Zone Rrsets
6431
6376
  tags:
6432
6377
  - dns
6433
- /v1/domain-forwards:
6378
+ /v1/domain-forwards/{zone_name}/disable:
6434
6379
  patch:
6435
- operationId: patch_redirects_v1_domain_forwards_patch
6436
- requestBody:
6437
- content:
6438
- application/json:
6439
- schema:
6440
- $ref: '#/components/schemas/RedirectPatchOps'
6380
+ operationId: disable_domain_forward_v1_domain_forwards__zone_name__disable_patch
6381
+ parameters:
6382
+ - description: DNS zone name (trailing dot optional)
6383
+ in: path
6384
+ name: zone_name
6441
6385
  required: true
6386
+ schema:
6387
+ description: DNS zone name (trailing dot optional)
6388
+ title: Zone Name
6389
+ type: string
6442
6390
  responses:
6443
6391
  '204':
6444
6392
  description: Successful Response
@@ -6450,12 +6398,12 @@ paths:
6450
6398
  description: Validation Error
6451
6399
  security:
6452
6400
  - OAuth2PasswordBearer: []
6453
- summary: Patch Redirects
6401
+ summary: Disable Domain Forward
6454
6402
  tags:
6455
6403
  - domain_forward
6456
- /v1/domain-forwards/{zone_name}:
6457
- delete:
6458
- operationId: delete_redirects_v1_domain_forwards__zone_name__delete
6404
+ /v1/domain-forwards/{zone_name}/enable:
6405
+ patch:
6406
+ operationId: enable_domain_forward_v1_domain_forwards__zone_name__enable_patch
6459
6407
  parameters:
6460
6408
  - description: DNS zone name (trailing dot optional)
6461
6409
  in: path
@@ -6465,6 +6413,13 @@ paths:
6465
6413
  description: DNS zone name (trailing dot optional)
6466
6414
  title: Zone Name
6467
6415
  type: string
6416
+ - in: query
6417
+ name: auto_create_zone
6418
+ required: false
6419
+ schema:
6420
+ default: false
6421
+ title: Auto Create Zone
6422
+ type: boolean
6468
6423
  responses:
6469
6424
  '204':
6470
6425
  description: Successful Response
@@ -6476,12 +6431,18 @@ paths:
6476
6431
  description: Validation Error
6477
6432
  security:
6478
6433
  - OAuth2PasswordBearer: []
6479
- summary: Delete Redirects
6434
+ summary: Enable Domain Forward
6480
6435
  tags:
6481
6436
  - domain_forward
6482
- get:
6483
- operationId: get_redirects_v1_domain_forwards__zone_name__get
6437
+ /v1/domain-forwards/{zone_name}/{request_protocol}:
6438
+ delete:
6439
+ operationId: delete_domain_forward_v1_domain_forwards__zone_name___request_protocol__delete
6484
6440
  parameters:
6441
+ - in: path
6442
+ name: request_protocol
6443
+ required: true
6444
+ schema:
6445
+ $ref: '#/components/schemas/HttpProtocol'
6485
6446
  - description: DNS zone name (trailing dot optional)
6486
6447
  in: path
6487
6448
  name: zone_name
@@ -6490,29 +6451,42 @@ paths:
6490
6451
  description: DNS zone name (trailing dot optional)
6491
6452
  title: Zone Name
6492
6453
  type: string
6493
- - in: query
6494
- name: page
6495
- required: false
6454
+ responses:
6455
+ '204':
6456
+ description: Successful Response
6457
+ '422':
6458
+ content:
6459
+ application/problem+json:
6460
+ schema:
6461
+ $ref: '#/components/schemas/HTTPValidationError'
6462
+ description: Validation Error
6463
+ security:
6464
+ - OAuth2PasswordBearer: []
6465
+ summary: Delete Domain Forward
6466
+ tags:
6467
+ - domain_forward
6468
+ get:
6469
+ operationId: get_domain_forward_v1_domain_forwards__zone_name___request_protocol__get
6470
+ parameters:
6471
+ - in: path
6472
+ name: request_protocol
6473
+ required: true
6496
6474
  schema:
6497
- default: 1
6498
- minimum: 1
6499
- title: Page
6500
- type: integer
6501
- - in: query
6502
- name: page_size
6503
- required: false
6475
+ $ref: '#/components/schemas/HttpProtocol'
6476
+ - description: DNS zone name (trailing dot optional)
6477
+ in: path
6478
+ name: zone_name
6479
+ required: true
6504
6480
  schema:
6505
- default: 10
6506
- maximum: 100
6507
- minimum: 1
6508
- title: Page Size
6509
- type: integer
6481
+ description: DNS zone name (trailing dot optional)
6482
+ title: Zone Name
6483
+ type: string
6510
6484
  responses:
6511
6485
  '200':
6512
6486
  content:
6513
6487
  application/json:
6514
6488
  schema:
6515
- $ref: '#/components/schemas/Pagination_Redirect_'
6489
+ $ref: '#/components/schemas/DomainForward'
6516
6490
  description: Successful Response
6517
6491
  '422':
6518
6492
  content:
@@ -6522,12 +6496,17 @@ paths:
6522
6496
  description: Validation Error
6523
6497
  security:
6524
6498
  - OAuth2PasswordBearer: []
6525
- summary: Get Redirects
6499
+ summary: Get Domain Forward
6526
6500
  tags:
6527
6501
  - domain_forward
6528
6502
  post:
6529
- operationId: create_redirects_v1_domain_forwards__zone_name__post
6503
+ operationId: create_domain_forward_v1_domain_forwards__zone_name___request_protocol__post
6530
6504
  parameters:
6505
+ - in: path
6506
+ name: request_protocol
6507
+ required: true
6508
+ schema:
6509
+ $ref: '#/components/schemas/HttpProtocol'
6531
6510
  - description: DNS zone name (trailing dot optional)
6532
6511
  in: path
6533
6512
  name: zone_name
@@ -6540,10 +6519,14 @@ paths:
6540
6519
  content:
6541
6520
  application/json:
6542
6521
  schema:
6543
- $ref: '#/components/schemas/RedirectSet'
6522
+ $ref: '#/components/schemas/DomainForwardRequest'
6544
6523
  required: true
6545
6524
  responses:
6546
6525
  '201':
6526
+ content:
6527
+ application/json:
6528
+ schema:
6529
+ $ref: '#/components/schemas/DomainForward'
6547
6530
  description: Successful Response
6548
6531
  '409':
6549
6532
  content:
@@ -6566,12 +6549,17 @@ paths:
6566
6549
  description: Validation Error
6567
6550
  security:
6568
6551
  - OAuth2PasswordBearer: []
6569
- summary: Create Redirects
6552
+ summary: Create Domain Forward
6570
6553
  tags:
6571
6554
  - domain_forward
6572
6555
  put:
6573
- operationId: update_redirects_v1_domain_forwards__zone_name__put
6556
+ operationId: update_domain_forward_v1_domain_forwards__zone_name___request_protocol__put
6574
6557
  parameters:
6558
+ - in: path
6559
+ name: request_protocol
6560
+ required: true
6561
+ schema:
6562
+ $ref: '#/components/schemas/HttpProtocol'
6575
6563
  - description: DNS zone name (trailing dot optional)
6576
6564
  in: path
6577
6565
  name: zone_name
@@ -6584,10 +6572,14 @@ paths:
6584
6572
  content:
6585
6573
  application/json:
6586
6574
  schema:
6587
- $ref: '#/components/schemas/RedirectSet'
6575
+ $ref: '#/components/schemas/DomainForwardRequest'
6588
6576
  required: true
6589
6577
  responses:
6590
- '204':
6578
+ '200':
6579
+ content:
6580
+ application/json:
6581
+ schema:
6582
+ $ref: '#/components/schemas/DomainForward'
6591
6583
  description: Successful Response
6592
6584
  '409':
6593
6585
  content:
@@ -6610,66 +6602,7 @@ paths:
6610
6602
  description: Validation Error
6611
6603
  security:
6612
6604
  - OAuth2PasswordBearer: []
6613
- summary: Update Redirects
6614
- tags:
6615
- - domain_forward
6616
- /v1/domain-forwards/{zone_name}/disable:
6617
- patch:
6618
- operationId: disable_domain_forward_v1_domain_forwards__zone_name__disable_patch
6619
- parameters:
6620
- - description: DNS zone name (trailing dot optional)
6621
- in: path
6622
- name: zone_name
6623
- required: true
6624
- schema:
6625
- description: DNS zone name (trailing dot optional)
6626
- title: Zone Name
6627
- type: string
6628
- responses:
6629
- '204':
6630
- description: Successful Response
6631
- '422':
6632
- content:
6633
- application/problem+json:
6634
- schema:
6635
- $ref: '#/components/schemas/HTTPValidationError'
6636
- description: Validation Error
6637
- security:
6638
- - OAuth2PasswordBearer: []
6639
- summary: Disable Domain Forward
6640
- tags:
6641
- - domain_forward
6642
- /v1/domain-forwards/{zone_name}/enable:
6643
- patch:
6644
- operationId: enable_domain_forward_v1_domain_forwards__zone_name__enable_patch
6645
- parameters:
6646
- - description: DNS zone name (trailing dot optional)
6647
- in: path
6648
- name: zone_name
6649
- required: true
6650
- schema:
6651
- description: DNS zone name (trailing dot optional)
6652
- title: Zone Name
6653
- type: string
6654
- - in: query
6655
- name: auto_create_zone
6656
- required: false
6657
- schema:
6658
- default: false
6659
- title: Auto Create Zone
6660
- type: boolean
6661
- responses:
6662
- '204':
6663
- description: Successful Response
6664
- '422':
6665
- content:
6666
- application/problem+json:
6667
- schema:
6668
- $ref: '#/components/schemas/HTTPValidationError'
6669
- description: Validation Error
6670
- security:
6671
- - OAuth2PasswordBearer: []
6672
- summary: Enable Domain Forward
6605
+ summary: Update Domain Forward
6673
6606
  tags:
6674
6607
  - domain_forward
6675
6608
  /v1/domain-search/suggest:
@@ -9528,6 +9461,50 @@ paths:
9528
9461
  summary: Get a specific transaction
9529
9462
  tags:
9530
9463
  - organization
9464
+ /v1/tlds/:
9465
+ get:
9466
+ description: Retrieves a list of TLD Specifications we have support for
9467
+ operationId: get_tld_specifications_v1_tlds__get
9468
+ parameters:
9469
+ - in: query
9470
+ name: fields
9471
+ required: false
9472
+ schema:
9473
+ anyOf:
9474
+ - type: string
9475
+ - type: 'null'
9476
+ title: Fields
9477
+ - in: query
9478
+ name: tlds
9479
+ required: false
9480
+ schema:
9481
+ anyOf:
9482
+ - type: string
9483
+ - type: 'null'
9484
+ title: Tlds
9485
+ responses:
9486
+ '200':
9487
+ content:
9488
+ application/json:
9489
+ schema:
9490
+ additionalProperties:
9491
+ items:
9492
+ type: object
9493
+ type: array
9494
+ title: Response Get Tld Specifications V1 Tlds Get
9495
+ type: object
9496
+ description: Successful Response
9497
+ '422':
9498
+ content:
9499
+ application/problem+json:
9500
+ schema:
9501
+ $ref: '#/components/schemas/HTTPValidationError'
9502
+ description: Validation Error
9503
+ security:
9504
+ - OAuth2PasswordBearer: []
9505
+ summary: Get list of Specifications for all TLDs we support
9506
+ tags:
9507
+ - tld
9531
9508
  /v1/tlds/portfolio:
9532
9509
  get:
9533
9510
  description: Retrieves a list of TLDs we have support for