@opusdns/api 0.100.0 → 0.102.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
@@ -3134,6 +3134,89 @@ components:
3134
3134
  - hostname
3135
3135
  title: Nameserver
3136
3136
  type: object
3137
+ ObjectEventType:
3138
+ enum:
3139
+ - CREATED
3140
+ - UPDATED
3141
+ - DELETED
3142
+ - TRANSFER_STARTED
3143
+ - TRANSFER_COMPLETED
3144
+ - TRANSFER_OUT_STARTED
3145
+ - TRANSFER_OUT_COMPLETED
3146
+ - RENEWED
3147
+ - RESTORED
3148
+ - BILLING_TRANSACTION_RESERVED
3149
+ - BILLING_TRANSACTION_SUCCEEDED
3150
+ - BILLING_TRANSACTION_FAILED
3151
+ - BILLING_TRANSACTION_CANCELLED
3152
+ title: ObjectEventType
3153
+ type: string
3154
+ ObjectLog:
3155
+ properties:
3156
+ action:
3157
+ $ref: '#/components/schemas/ObjectEventType'
3158
+ description: Action performed
3159
+ created_on:
3160
+ description: Timestamp when the log was created
3161
+ format: date-time
3162
+ title: Created On
3163
+ type: string
3164
+ details:
3165
+ anyOf:
3166
+ - type: object
3167
+ - type: 'null'
3168
+ description: Changes made to the object
3169
+ title: Details
3170
+ object_id:
3171
+ description: ID of the object
3172
+ title: Object Id
3173
+ type: string
3174
+ object_log_id:
3175
+ description: Unique ID of the log
3176
+ title: Object Log Id
3177
+ type: string
3178
+ object_type:
3179
+ description: Type of the object
3180
+ title: Object Type
3181
+ type: string
3182
+ performed_by_id:
3183
+ anyOf:
3184
+ - type: string
3185
+ - type: 'null'
3186
+ description: ID of the actor who performed the action
3187
+ title: Performed By Id
3188
+ performed_by_type:
3189
+ anyOf:
3190
+ - type: string
3191
+ - type: 'null'
3192
+ description: Type of the actor who performed the action
3193
+ title: Performed By Type
3194
+ server_request_id:
3195
+ anyOf:
3196
+ - type: string
3197
+ - type: 'null'
3198
+ description: Server request ID
3199
+ title: Server Request Id
3200
+ required:
3201
+ - object_log_id
3202
+ - object_id
3203
+ - object_type
3204
+ - action
3205
+ - created_on
3206
+ title: ObjectLog
3207
+ type: object
3208
+ ObjectLogSortField:
3209
+ enum:
3210
+ - object_log_id
3211
+ - object_id
3212
+ - object_type
3213
+ - action
3214
+ - created_on
3215
+ - server_request_id
3216
+ - performed_by_type
3217
+ - performed_by_id
3218
+ title: ObjectLogSortField
3219
+ type: string
3137
3220
  Organization:
3138
3221
  properties:
3139
3222
  address_1:
@@ -3958,6 +4041,20 @@ components:
3958
4041
  - pagination
3959
4042
  title: Pagination[InvoiceResponse]
3960
4043
  type: object
4044
+ Pagination_ObjectLog_:
4045
+ properties:
4046
+ pagination:
4047
+ $ref: '#/components/schemas/PaginationMetadata'
4048
+ results:
4049
+ items:
4050
+ $ref: '#/components/schemas/ObjectLog'
4051
+ title: Results
4052
+ type: array
4053
+ required:
4054
+ - results
4055
+ - pagination
4056
+ title: Pagination[ObjectLog]
4057
+ type: object
3961
4058
  Pagination_Organization_:
3962
4059
  properties:
3963
4060
  pagination:
@@ -3972,6 +4069,20 @@ components:
3972
4069
  - pagination
3973
4070
  title: Pagination[Organization]
3974
4071
  type: object
4072
+ Pagination_RequestHistory_:
4073
+ properties:
4074
+ pagination:
4075
+ $ref: '#/components/schemas/PaginationMetadata'
4076
+ results:
4077
+ items:
4078
+ $ref: '#/components/schemas/RequestHistory'
4079
+ title: Results
4080
+ type: array
4081
+ required:
4082
+ - results
4083
+ - pagination
4084
+ title: Pagination[RequestHistory]
4085
+ type: object
3975
4086
  Pagination_User_:
3976
4087
  properties:
3977
4088
  pagination:
@@ -4327,6 +4438,91 @@ components:
4327
4438
  - delete
4328
4439
  title: RenewalMode
4329
4440
  type: string
4441
+ RequestHistory:
4442
+ properties:
4443
+ client_ip:
4444
+ description: Client IP address
4445
+ title: Client Ip
4446
+ type: string
4447
+ duration:
4448
+ description: Request duration in milliseconds
4449
+ title: Duration
4450
+ type: number
4451
+ method:
4452
+ description: HTTP method
4453
+ title: Method
4454
+ type: string
4455
+ path:
4456
+ description: Request path
4457
+ title: Path
4458
+ type: string
4459
+ performed_by_id:
4460
+ anyOf:
4461
+ - type: string
4462
+ - type: 'null'
4463
+ description: ID of the actor who performed the request
4464
+ title: Performed By Id
4465
+ performed_by_type:
4466
+ anyOf:
4467
+ - type: string
4468
+ - type: 'null'
4469
+ description: Type of the actor who performed the request
4470
+ title: Performed By Type
4471
+ request_body:
4472
+ anyOf:
4473
+ - type: object
4474
+ - type: 'null'
4475
+ description: Request body
4476
+ title: Request Body
4477
+ request_completed_at:
4478
+ description: Timestamp when the request completed
4479
+ format: date-time
4480
+ title: Request Completed At
4481
+ type: string
4482
+ request_started_at:
4483
+ description: Timestamp when the request started
4484
+ format: date-time
4485
+ title: Request Started At
4486
+ type: string
4487
+ response_body:
4488
+ anyOf:
4489
+ - type: object
4490
+ - type: 'null'
4491
+ description: Response body
4492
+ title: Response Body
4493
+ server_request_id:
4494
+ description: Unique ID of the request
4495
+ title: Server Request Id
4496
+ type: string
4497
+ status_code:
4498
+ description: HTTP status code
4499
+ title: Status Code
4500
+ type: integer
4501
+ required:
4502
+ - server_request_id
4503
+ - method
4504
+ - path
4505
+ - status_code
4506
+ - duration
4507
+ - client_ip
4508
+ - request_started_at
4509
+ - request_completed_at
4510
+ title: RequestHistory
4511
+ type: object
4512
+ RequestHistorySortField:
4513
+ enum:
4514
+ - method
4515
+ - path
4516
+ - status_code
4517
+ - duration
4518
+ - server_request_id
4519
+ - performed_by_type
4520
+ - performed_by_id
4521
+ - created_on
4522
+ - request_started_at
4523
+ - request_completed_at
4524
+ title: RequestHistorySortField
4525
+ type: string
4330
4526
  ReservedDomainsBase:
4331
4527
  properties:
4332
4528
  source:
@@ -5333,12 +5529,421 @@ info:
5333
5529
  '
5334
5530
  summary: OpusDNS - your gateway to a seamless domain management experience.
5335
5531
  title: OpusDNS API
5336
- version: 2025-11-25-093749
5532
+ version: 2025-11-25-132620
5337
5533
  x-logo:
5338
5534
  altText: OpusDNS API Reference
5339
5535
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
5340
5536
  openapi: 3.1.0
5341
5537
  paths:
5538
+ /v1/archive/object-logs:
5539
+ get:
5540
+ description: Retrieve all paginated audit logs with optional filtering and sorting
5541
+ operationId: get_object_logs_v1_archive_object_logs_get
5542
+ parameters:
5543
+ - in: query
5544
+ name: sort_by
5545
+ required: false
5546
+ schema:
5547
+ $ref: '#/components/schemas/ObjectLogSortField'
5548
+ default: created_on
5549
+ - in: query
5550
+ name: sort_order
5551
+ required: false
5552
+ schema:
5553
+ $ref: '#/components/schemas/SortOrder'
5554
+ default: desc
5555
+ - in: query
5556
+ name: page_size
5557
+ required: false
5558
+ schema:
5559
+ default: 10
5560
+ maximum: 100
5561
+ minimum: 1
5562
+ title: Page Size
5563
+ type: integer
5564
+ - in: query
5565
+ name: page
5566
+ required: false
5567
+ schema:
5568
+ default: 1
5569
+ minimum: 1
5570
+ title: Page
5571
+ type: integer
5572
+ - in: query
5573
+ name: object_log_id
5574
+ required: false
5575
+ schema:
5576
+ anyOf:
5577
+ - type: string
5578
+ - type: 'null'
5579
+ title: Object Log Id
5580
+ - in: query
5581
+ name: object_type
5582
+ required: false
5583
+ schema:
5584
+ anyOf:
5585
+ - type: string
5586
+ - type: 'null'
5587
+ title: Object Type
5588
+ - in: query
5589
+ name: action
5590
+ required: false
5591
+ schema:
5592
+ anyOf:
5593
+ - $ref: '#/components/schemas/ObjectEventType'
5594
+ - type: 'null'
5595
+ title: Action
5596
+ - in: query
5597
+ name: server_request_id
5598
+ required: false
5599
+ schema:
5600
+ anyOf:
5601
+ - type: string
5602
+ - type: 'null'
5603
+ title: Server Request Id
5604
+ - in: query
5605
+ name: performed_by_type
5606
+ required: false
5607
+ schema:
5608
+ anyOf:
5609
+ - type: string
5610
+ - type: 'null'
5611
+ title: Performed By Type
5612
+ - in: query
5613
+ name: performed_by_id
5614
+ required: false
5615
+ schema:
5616
+ anyOf:
5617
+ - type: string
5618
+ - type: 'null'
5619
+ title: Performed By Id
5620
+ - in: query
5621
+ name: start_time
5622
+ required: false
5623
+ schema:
5624
+ anyOf:
5625
+ - format: date-time
5626
+ type: string
5627
+ - type: 'null'
5628
+ title: Start Time
5629
+ - in: query
5630
+ name: end_time
5631
+ required: false
5632
+ schema:
5633
+ anyOf:
5634
+ - format: date-time
5635
+ type: string
5636
+ - type: 'null'
5637
+ title: End Time
5638
+ - in: query
5639
+ name: object_id
5640
+ required: false
5641
+ schema:
5642
+ anyOf:
5643
+ - type: string
5644
+ - type: 'null'
5645
+ title: Object Id
5646
+ responses:
5647
+ '200':
5648
+ content:
5649
+ application/json:
5650
+ schema:
5651
+ $ref: '#/components/schemas/Pagination_ObjectLog_'
5652
+ description: Successful Response
5653
+ '422':
5654
+ content:
5655
+ application/problem+json:
5656
+ schema:
5657
+ $ref: '#/components/schemas/HTTPValidationError'
5658
+ description: Validation Error
5659
+ security:
5660
+ - OAuth2PasswordBearer: []
5661
+ summary: Retrieve all object history
5662
+ tags:
5663
+ - archive
5664
+ /v1/archive/object-logs/{object_id}:
5665
+ get:
5666
+ description: Retrieve paginated audit logs for a specific object with optional
5667
+ filtering and sorting
5668
+ operationId: get_object_logs_by_object_id_v1_archive_object_logs__object_id__get
5669
+ parameters:
5670
+ - in: path
5671
+ name: object_id
5672
+ required: true
5673
+ schema:
5674
+ title: Object Id
5675
+ type: string
5676
+ - in: query
5677
+ name: sort_by
5678
+ required: false
5679
+ schema:
5680
+ $ref: '#/components/schemas/ObjectLogSortField'
5681
+ default: created_on
5682
+ - in: query
5683
+ name: sort_order
5684
+ required: false
5685
+ schema:
5686
+ $ref: '#/components/schemas/SortOrder'
5687
+ default: desc
5688
+ - in: query
5689
+ name: page_size
5690
+ required: false
5691
+ schema:
5692
+ default: 10
5693
+ maximum: 100
5694
+ minimum: 1
5695
+ title: Page Size
5696
+ type: integer
5697
+ - in: query
5698
+ name: page
5699
+ required: false
5700
+ schema:
5701
+ default: 1
5702
+ minimum: 1
5703
+ title: Page
5704
+ type: integer
5705
+ - in: query
5706
+ name: object_log_id
5707
+ required: false
5708
+ schema:
5709
+ anyOf:
5710
+ - type: string
5711
+ - type: 'null'
5712
+ title: Object Log Id
5713
+ - in: query
5714
+ name: object_type
5715
+ required: false
5716
+ schema:
5717
+ anyOf:
5718
+ - type: string
5719
+ - type: 'null'
5720
+ title: Object Type
5721
+ - in: query
5722
+ name: action
5723
+ required: false
5724
+ schema:
5725
+ anyOf:
5726
+ - $ref: '#/components/schemas/ObjectEventType'
5727
+ - type: 'null'
5728
+ title: Action
5729
+ - in: query
5730
+ name: server_request_id
5731
+ required: false
5732
+ schema:
5733
+ anyOf:
5734
+ - type: string
5735
+ - type: 'null'
5736
+ title: Server Request Id
5737
+ - in: query
5738
+ name: performed_by_type
5739
+ required: false
5740
+ schema:
5741
+ anyOf:
5742
+ - type: string
5743
+ - type: 'null'
5744
+ title: Performed By Type
5745
+ - in: query
5746
+ name: performed_by_id
5747
+ required: false
5748
+ schema:
5749
+ anyOf:
5750
+ - type: string
5751
+ - type: 'null'
5752
+ title: Performed By Id
5753
+ - in: query
5754
+ name: start_time
5755
+ required: false
5756
+ schema:
5757
+ anyOf:
5758
+ - format: date-time
5759
+ type: string
5760
+ - type: 'null'
5761
+ title: Start Time
5762
+ - in: query
5763
+ name: end_time
5764
+ required: false
5765
+ schema:
5766
+ anyOf:
5767
+ - format: date-time
5768
+ type: string
5769
+ - type: 'null'
5770
+ title: End Time
5771
+ responses:
5772
+ '200':
5773
+ content:
5774
+ application/json:
5775
+ schema:
5776
+ $ref: '#/components/schemas/Pagination_ObjectLog_'
5777
+ description: Successful Response
5778
+ '422':
5779
+ content:
5780
+ application/problem+json:
5781
+ schema:
5782
+ $ref: '#/components/schemas/HTTPValidationError'
5783
+ description: Validation Error
5784
+ security:
5785
+ - OAuth2PasswordBearer: []
5786
+ summary: Retrieve object history
5787
+ tags:
5788
+ - archive
5789
+ /v1/archive/request-history:
5790
+ get:
5791
+ description: Retrieves a paginated list of request history logs
5792
+ operationId: get_request_history_v1_archive_request_history_get
5793
+ parameters:
5794
+ - in: query
5795
+ name: sort_by
5796
+ required: false
5797
+ schema:
5798
+ $ref: '#/components/schemas/RequestHistorySortField'
5799
+ default: created_on
5800
+ - in: query
5801
+ name: sort_order
5802
+ required: false
5803
+ schema:
5804
+ $ref: '#/components/schemas/SortOrder'
5805
+ default: desc
5806
+ - in: query
5807
+ name: page_size
5808
+ required: false
5809
+ schema:
5810
+ default: 10
5811
+ maximum: 100
5812
+ minimum: 1
5813
+ title: Page Size
5814
+ type: integer
5815
+ - in: query
5816
+ name: page
5817
+ required: false
5818
+ schema:
5819
+ default: 1
5820
+ minimum: 1
5821
+ title: Page
5822
+ type: integer
5823
+ - in: query
5824
+ name: method
5825
+ required: false
5826
+ schema:
5827
+ anyOf:
5828
+ - type: string
5829
+ - type: 'null'
5830
+ title: Method
5831
+ - in: query
5832
+ name: path
5833
+ required: false
5834
+ schema:
5835
+ anyOf:
5836
+ - type: string
5837
+ - type: 'null'
5838
+ title: Path
5839
+ - in: query
5840
+ name: status_code
5841
+ required: false
5842
+ schema:
5843
+ anyOf:
5844
+ - type: integer
5845
+ - type: 'null'
5846
+ title: Status Code
5847
+ - in: query
5848
+ name: min_status_code
5849
+ required: false
5850
+ schema:
5851
+ anyOf:
5852
+ - type: integer
5853
+ - type: 'null'
5854
+ title: Min Status Code
5855
+ - in: query
5856
+ name: max_status_code
5857
+ required: false
5858
+ schema:
5859
+ anyOf:
5860
+ - type: integer
5861
+ - type: 'null'
5862
+ title: Max Status Code
5863
+ - in: query
5864
+ name: min_duration
5865
+ required: false
5866
+ schema:
5867
+ anyOf:
5868
+ - type: number
5869
+ - type: 'null'
5870
+ title: Min Duration
5871
+ - in: query
5872
+ name: max_duration
5873
+ required: false
5874
+ schema:
5875
+ anyOf:
5876
+ - type: number
5877
+ - type: 'null'
5878
+ title: Max Duration
5879
+ - in: query
5880
+ name: client_ip
5881
+ required: false
5882
+ schema:
5883
+ anyOf:
5884
+ - type: string
5885
+ - type: 'null'
5886
+ title: Client Ip
5887
+ - in: query
5888
+ name: server_request_id
5889
+ required: false
5890
+ schema:
5891
+ anyOf:
5892
+ - type: string
5893
+ - type: 'null'
5894
+ title: Server Request Id
5895
+ - in: query
5896
+ name: performed_by_type
5897
+ required: false
5898
+ schema:
5899
+ anyOf:
5900
+ - type: string
5901
+ - type: 'null'
5902
+ title: Performed By Type
5903
+ - in: query
5904
+ name: performed_by_id
5905
+ required: false
5906
+ schema:
5907
+ anyOf:
5908
+ - type: string
5909
+ - type: 'null'
5910
+ title: Performed By Id
5911
+ - in: query
5912
+ name: start_time
5913
+ required: false
5914
+ schema:
5915
+ anyOf:
5916
+ - format: date-time
5917
+ type: string
5918
+ - type: 'null'
5919
+ title: Start Time
5920
+ - in: query
5921
+ name: end_time
5922
+ required: false
5923
+ schema:
5924
+ anyOf:
5925
+ - format: date-time
5926
+ type: string
5927
+ - type: 'null'
5928
+ title: End Time
5929
+ responses:
5930
+ '200':
5931
+ content:
5932
+ application/json:
5933
+ schema:
5934
+ $ref: '#/components/schemas/Pagination_RequestHistory_'
5935
+ description: Successful Response
5936
+ '422':
5937
+ content:
5938
+ application/problem+json:
5939
+ schema:
5940
+ $ref: '#/components/schemas/HTTPValidationError'
5941
+ description: Validation Error
5942
+ security:
5943
+ - OAuth2PasswordBearer: []
5944
+ summary: Retrieve request history logs
5945
+ tags:
5946
+ - archive
5342
5947
  /v1/auth/token:
5343
5948
  post:
5344
5949
  operationId: issue_organization_token_v1_auth_token_post
@@ -11276,3 +11881,4 @@ x-tagGroups:
11276
11881
  - domain_forward
11277
11882
  - rdap
11278
11883
  - domain_search
11884
+ - archive