@opusdns/api 0.68.0 → 0.70.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/package.json +1 -1
- package/src/helpers/requests.d.ts +93 -66
- package/src/helpers/responses.d.ts +97 -75
- package/src/openapi.yaml +115 -77
- package/src/schema.d.ts +168 -81
package/src/openapi.yaml
CHANGED
|
@@ -5196,7 +5196,7 @@ info:
|
|
|
5196
5196
|
'
|
|
5197
5197
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5198
5198
|
title: OpusDNS API
|
|
5199
|
-
version: 2025-09-29-
|
|
5199
|
+
version: 2025-09-29-074010
|
|
5200
5200
|
x-logo:
|
|
5201
5201
|
altText: OpusDNS API Reference
|
|
5202
5202
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -5260,7 +5260,7 @@ paths:
|
|
|
5260
5260
|
description: Validation Error
|
|
5261
5261
|
security:
|
|
5262
5262
|
- OAuth2PasswordBearer: []
|
|
5263
|
-
summary: List
|
|
5263
|
+
summary: List all API keys
|
|
5264
5264
|
tags:
|
|
5265
5265
|
- authentication
|
|
5266
5266
|
post:
|
|
@@ -5298,7 +5298,7 @@ paths:
|
|
|
5298
5298
|
description: Validation Error
|
|
5299
5299
|
security:
|
|
5300
5300
|
- OAuth2PasswordBearer: []
|
|
5301
|
-
summary: Issue
|
|
5301
|
+
summary: Issue an API key
|
|
5302
5302
|
tags:
|
|
5303
5303
|
- authentication
|
|
5304
5304
|
/v1/auth/client_credentials/{api_key_id}:
|
|
@@ -5353,7 +5353,7 @@ paths:
|
|
|
5353
5353
|
description: Validation Error
|
|
5354
5354
|
security:
|
|
5355
5355
|
- OAuth2PasswordBearer: []
|
|
5356
|
-
summary: Delete
|
|
5356
|
+
summary: Delete an API key
|
|
5357
5357
|
tags:
|
|
5358
5358
|
- authentication
|
|
5359
5359
|
/v1/auth/logout:
|
|
@@ -5527,7 +5527,7 @@ paths:
|
|
|
5527
5527
|
description: Bad Gateway
|
|
5528
5528
|
security:
|
|
5529
5529
|
- OAuth2PasswordBearer: []
|
|
5530
|
-
summary:
|
|
5530
|
+
summary: Check domain availability
|
|
5531
5531
|
tags:
|
|
5532
5532
|
- availability
|
|
5533
5533
|
/v1/availability/stream:
|
|
@@ -5608,12 +5608,12 @@ paths:
|
|
|
5608
5608
|
description: Bad Gateway
|
|
5609
5609
|
security:
|
|
5610
5610
|
- OAuth2PasswordBearer: []
|
|
5611
|
-
summary: Stream
|
|
5611
|
+
summary: Stream domain availability results
|
|
5612
5612
|
tags:
|
|
5613
5613
|
- availability
|
|
5614
5614
|
/v1/contacts:
|
|
5615
5615
|
get:
|
|
5616
|
-
description:
|
|
5616
|
+
description: Retrieves a paginated list of all contacts
|
|
5617
5617
|
operationId: get_contacts_v1_contacts_get
|
|
5618
5618
|
parameters:
|
|
5619
5619
|
- in: query
|
|
@@ -5718,11 +5718,11 @@ paths:
|
|
|
5718
5718
|
description: Validation Error
|
|
5719
5719
|
security:
|
|
5720
5720
|
- OAuth2PasswordBearer: []
|
|
5721
|
-
summary:
|
|
5721
|
+
summary: List all contacts
|
|
5722
5722
|
tags:
|
|
5723
5723
|
- contact
|
|
5724
5724
|
post:
|
|
5725
|
-
description: Create a contact
|
|
5725
|
+
description: Create a new contact object to use for domain registration
|
|
5726
5726
|
operationId: create_contact_v1_contacts_post
|
|
5727
5727
|
requestBody:
|
|
5728
5728
|
content:
|
|
@@ -5745,12 +5745,11 @@ paths:
|
|
|
5745
5745
|
description: Validation Error
|
|
5746
5746
|
security:
|
|
5747
5747
|
- OAuth2PasswordBearer: []
|
|
5748
|
-
summary: Create
|
|
5748
|
+
summary: Create a contact
|
|
5749
5749
|
tags:
|
|
5750
5750
|
- contact
|
|
5751
5751
|
/v1/contacts/verification:
|
|
5752
5752
|
get:
|
|
5753
|
-
description: Retrieve contact verification
|
|
5754
5753
|
operationId: get_verification_by_token_v1_contacts_verification_get
|
|
5755
5754
|
parameters:
|
|
5756
5755
|
- in: query
|
|
@@ -5797,11 +5796,10 @@ paths:
|
|
|
5797
5796
|
schema:
|
|
5798
5797
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
5799
5798
|
description: Validation Error
|
|
5800
|
-
summary:
|
|
5799
|
+
summary: Retrieve contact verification by token
|
|
5801
5800
|
tags:
|
|
5802
5801
|
- contact
|
|
5803
5802
|
put:
|
|
5804
|
-
description: Complete contact verification
|
|
5805
5803
|
operationId: update_verification_by_token_v1_contacts_verification_put
|
|
5806
5804
|
parameters:
|
|
5807
5805
|
- in: query
|
|
@@ -5859,7 +5857,7 @@ paths:
|
|
|
5859
5857
|
schema:
|
|
5860
5858
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
5861
5859
|
description: Validation Error
|
|
5862
|
-
summary:
|
|
5860
|
+
summary: Complete contact verification with token
|
|
5863
5861
|
tags:
|
|
5864
5862
|
- contact
|
|
5865
5863
|
/v1/contacts/verify:
|
|
@@ -5889,7 +5887,8 @@ paths:
|
|
|
5889
5887
|
- contact
|
|
5890
5888
|
/v1/contacts/{contact_id}:
|
|
5891
5889
|
delete:
|
|
5892
|
-
description:
|
|
5890
|
+
description: Deletes a contact object; only possible if the contact is not in
|
|
5891
|
+
use
|
|
5893
5892
|
operationId: delete_contact_v1_contacts__contact_id__delete
|
|
5894
5893
|
parameters:
|
|
5895
5894
|
- in: path
|
|
@@ -5965,11 +5964,11 @@ paths:
|
|
|
5965
5964
|
description: Validation Error
|
|
5966
5965
|
security:
|
|
5967
5966
|
- OAuth2PasswordBearer: []
|
|
5968
|
-
summary: Delete
|
|
5967
|
+
summary: Delete a contact
|
|
5969
5968
|
tags:
|
|
5970
5969
|
- contact
|
|
5971
5970
|
get:
|
|
5972
|
-
description:
|
|
5971
|
+
description: Retrieves a contact object
|
|
5973
5972
|
operationId: get_contact_v1_contacts__contact_id__get
|
|
5974
5973
|
parameters:
|
|
5975
5974
|
- in: path
|
|
@@ -6011,12 +6010,11 @@ paths:
|
|
|
6011
6010
|
description: Validation Error
|
|
6012
6011
|
security:
|
|
6013
6012
|
- OAuth2PasswordBearer: []
|
|
6014
|
-
summary:
|
|
6013
|
+
summary: Retrieve a contact
|
|
6015
6014
|
tags:
|
|
6016
6015
|
- contact
|
|
6017
6016
|
/v1/contacts/{contact_id}/verification:
|
|
6018
6017
|
delete:
|
|
6019
|
-
description: Delete contact verification
|
|
6020
6018
|
operationId: cancel_verification_v1_contacts__contact_id__verification_delete
|
|
6021
6019
|
parameters:
|
|
6022
6020
|
- in: path
|
|
@@ -6066,11 +6064,10 @@ paths:
|
|
|
6066
6064
|
description: Validation Error
|
|
6067
6065
|
security:
|
|
6068
6066
|
- OAuth2PasswordBearer: []
|
|
6069
|
-
summary:
|
|
6067
|
+
summary: Delete contact verification
|
|
6070
6068
|
tags:
|
|
6071
6069
|
- contact
|
|
6072
6070
|
get:
|
|
6073
|
-
description: Retrieve contact verification
|
|
6074
6071
|
operationId: get_verification_status_v1_contacts__contact_id__verification_get
|
|
6075
6072
|
parameters:
|
|
6076
6073
|
- in: path
|
|
@@ -6124,11 +6121,10 @@ paths:
|
|
|
6124
6121
|
description: Validation Error
|
|
6125
6122
|
security:
|
|
6126
6123
|
- OAuth2PasswordBearer: []
|
|
6127
|
-
summary:
|
|
6124
|
+
summary: Retrieve contact verification by contact ID
|
|
6128
6125
|
tags:
|
|
6129
6126
|
- contact
|
|
6130
6127
|
post:
|
|
6131
|
-
description: Start contact verification
|
|
6132
6128
|
operationId: start_contact_verification_v1_contacts__contact_id__verification_post
|
|
6133
6129
|
parameters:
|
|
6134
6130
|
- in: path
|
|
@@ -6203,11 +6199,10 @@ paths:
|
|
|
6203
6199
|
description: Validation Error
|
|
6204
6200
|
security:
|
|
6205
6201
|
- OAuth2PasswordBearer: []
|
|
6206
|
-
summary: Start
|
|
6202
|
+
summary: Start contact verification
|
|
6207
6203
|
tags:
|
|
6208
6204
|
- contact
|
|
6209
6205
|
put:
|
|
6210
|
-
description: Complete contact verification
|
|
6211
6206
|
operationId: update_verification_v1_contacts__contact_id__verification_put
|
|
6212
6207
|
parameters:
|
|
6213
6208
|
- in: path
|
|
@@ -6291,7 +6286,7 @@ paths:
|
|
|
6291
6286
|
description: Validation Error
|
|
6292
6287
|
security:
|
|
6293
6288
|
- OAuth2PasswordBearer: []
|
|
6294
|
-
summary:
|
|
6289
|
+
summary: Complete contact verification by contact ID
|
|
6295
6290
|
tags:
|
|
6296
6291
|
- contact
|
|
6297
6292
|
/v1/dns:
|
|
@@ -6717,6 +6712,7 @@ paths:
|
|
|
6717
6712
|
- dns
|
|
6718
6713
|
/v1/domain-search/suggest:
|
|
6719
6714
|
get:
|
|
6715
|
+
description: Get a list of domain suggestions based on a search query
|
|
6720
6716
|
operationId: suggest_v1_domain_search_suggest_get
|
|
6721
6717
|
parameters:
|
|
6722
6718
|
- description: The primary keyword or phrase for the domain search
|
|
@@ -6727,11 +6723,7 @@ paths:
|
|
|
6727
6723
|
description: The primary keyword or phrase for the domain search
|
|
6728
6724
|
title: Query
|
|
6729
6725
|
type: string
|
|
6730
|
-
- description:
|
|
6731
|
-
|
|
6732
|
-
Specify one or more TLDs to include in the search.
|
|
6733
|
-
|
|
6734
|
-
'
|
|
6726
|
+
- description: The TLDs to include in the search
|
|
6735
6727
|
examples:
|
|
6736
6728
|
list:
|
|
6737
6729
|
summary: A list of TLDs
|
|
@@ -6748,11 +6740,7 @@ paths:
|
|
|
6748
6740
|
type: string
|
|
6749
6741
|
type: array
|
|
6750
6742
|
- type: 'null'
|
|
6751
|
-
description:
|
|
6752
|
-
|
|
6753
|
-
Specify one or more TLDs to include in the search.
|
|
6754
|
-
|
|
6755
|
-
'
|
|
6743
|
+
description: The TLDs to include in the search
|
|
6756
6744
|
title: Tlds
|
|
6757
6745
|
- description: The maximum number of domain suggestions to return
|
|
6758
6746
|
in: query
|
|
@@ -6815,7 +6803,7 @@ paths:
|
|
|
6815
6803
|
description: Bad Gateway
|
|
6816
6804
|
security:
|
|
6817
6805
|
- OAuth2PasswordBearer: []
|
|
6818
|
-
summary: Suggest
|
|
6806
|
+
summary: Suggest domains
|
|
6819
6807
|
tags:
|
|
6820
6808
|
- domain_search
|
|
6821
6809
|
/v1/domains:
|
|
@@ -6971,6 +6959,20 @@ paths:
|
|
|
6971
6959
|
type: string
|
|
6972
6960
|
- type: 'null'
|
|
6973
6961
|
title: Registered Before
|
|
6962
|
+
- description: Filter domains by registry status. Can be specified multiple
|
|
6963
|
+
times (union of all provided values).
|
|
6964
|
+
in: query
|
|
6965
|
+
name: statuses
|
|
6966
|
+
required: false
|
|
6967
|
+
schema:
|
|
6968
|
+
anyOf:
|
|
6969
|
+
- items:
|
|
6970
|
+
type: string
|
|
6971
|
+
type: array
|
|
6972
|
+
- type: 'null'
|
|
6973
|
+
description: Filter domains by registry status. Can be specified multiple
|
|
6974
|
+
times (union of all provided values).
|
|
6975
|
+
title: Statuses
|
|
6974
6976
|
- in: query
|
|
6975
6977
|
name: page
|
|
6976
6978
|
required: false
|
|
@@ -7744,7 +7746,7 @@ paths:
|
|
|
7744
7746
|
description: Validation Error
|
|
7745
7747
|
security:
|
|
7746
7748
|
- OAuth2PasswordBearer: []
|
|
7747
|
-
summary: Restore
|
|
7749
|
+
summary: Restore an eligible domain (during redemption period)
|
|
7748
7750
|
tags:
|
|
7749
7751
|
- domain
|
|
7750
7752
|
/v1/domains/{domain_reference}/transfer:
|
|
@@ -8068,6 +8070,7 @@ paths:
|
|
|
8068
8070
|
- email_forward
|
|
8069
8071
|
/v1/events:
|
|
8070
8072
|
get:
|
|
8073
|
+
description: Retrieves a paginated list of pending events for the organization
|
|
8071
8074
|
operationId: get_events_v1_events_get
|
|
8072
8075
|
parameters:
|
|
8073
8076
|
- in: query
|
|
@@ -8114,11 +8117,12 @@ paths:
|
|
|
8114
8117
|
description: Validation Error
|
|
8115
8118
|
security:
|
|
8116
8119
|
- OAuth2PasswordBearer: []
|
|
8117
|
-
summary: Get
|
|
8120
|
+
summary: Get pending events
|
|
8118
8121
|
tags:
|
|
8119
8122
|
- event
|
|
8120
8123
|
/v1/events/{event_id}:
|
|
8121
8124
|
get:
|
|
8125
|
+
description: Get an event by its ID
|
|
8122
8126
|
operationId: get_event_v1_events__event_id__get
|
|
8123
8127
|
parameters:
|
|
8124
8128
|
- in: path
|
|
@@ -8172,10 +8176,11 @@ paths:
|
|
|
8172
8176
|
description: Validation Error
|
|
8173
8177
|
security:
|
|
8174
8178
|
- OAuth2PasswordBearer: []
|
|
8175
|
-
summary: Get
|
|
8179
|
+
summary: Get event
|
|
8176
8180
|
tags:
|
|
8177
8181
|
- event
|
|
8178
8182
|
patch:
|
|
8183
|
+
description: Acknowledge an event
|
|
8179
8184
|
operationId: acknowledge_event_v1_events__event_id__patch
|
|
8180
8185
|
parameters:
|
|
8181
8186
|
- in: path
|
|
@@ -8225,11 +8230,12 @@ paths:
|
|
|
8225
8230
|
description: Validation Error
|
|
8226
8231
|
security:
|
|
8227
8232
|
- OAuth2PasswordBearer: []
|
|
8228
|
-
summary: Acknowledge
|
|
8233
|
+
summary: Acknowledge event
|
|
8229
8234
|
tags:
|
|
8230
8235
|
- event
|
|
8231
8236
|
/v1/organizations:
|
|
8232
8237
|
get:
|
|
8238
|
+
description: Retrieves a paginated list of organizations under the current organization
|
|
8233
8239
|
operationId: list_organizations_v1_organizations_get
|
|
8234
8240
|
parameters:
|
|
8235
8241
|
- in: query
|
|
@@ -8264,10 +8270,11 @@ paths:
|
|
|
8264
8270
|
description: Validation Error
|
|
8265
8271
|
security:
|
|
8266
8272
|
- OAuth2PasswordBearer: []
|
|
8267
|
-
summary: List
|
|
8273
|
+
summary: List all organizations
|
|
8268
8274
|
tags:
|
|
8269
8275
|
- organization
|
|
8270
8276
|
post:
|
|
8277
|
+
description: Create a new organization under the current organization
|
|
8271
8278
|
operationId: create_organization_v1_organizations_post
|
|
8272
8279
|
requestBody:
|
|
8273
8280
|
content:
|
|
@@ -8290,11 +8297,12 @@ paths:
|
|
|
8290
8297
|
description: Validation Error
|
|
8291
8298
|
security:
|
|
8292
8299
|
- OAuth2PasswordBearer: []
|
|
8293
|
-
summary: Create
|
|
8300
|
+
summary: Create an organization
|
|
8294
8301
|
tags:
|
|
8295
8302
|
- organization
|
|
8296
8303
|
/v1/organizations/attributes:
|
|
8297
8304
|
get:
|
|
8305
|
+
description: Retrieves a list of organization attributes for the current organization
|
|
8298
8306
|
operationId: get_attributes_v1_organizations_attributes_get
|
|
8299
8307
|
parameters:
|
|
8300
8308
|
- in: query
|
|
@@ -8340,10 +8348,11 @@ paths:
|
|
|
8340
8348
|
description: Validation Error
|
|
8341
8349
|
security:
|
|
8342
8350
|
- OAuth2PasswordBearer: []
|
|
8343
|
-
summary:
|
|
8351
|
+
summary: List organization attributes
|
|
8344
8352
|
tags:
|
|
8345
8353
|
- organization
|
|
8346
8354
|
patch:
|
|
8355
|
+
description: Updates one or more organization attributes for the current organization
|
|
8347
8356
|
operationId: update_attributes_v1_organizations_attributes_patch
|
|
8348
8357
|
parameters:
|
|
8349
8358
|
- in: query
|
|
@@ -8386,11 +8395,12 @@ paths:
|
|
|
8386
8395
|
description: Validation Error
|
|
8387
8396
|
security:
|
|
8388
8397
|
- OAuth2PasswordBearer: []
|
|
8389
|
-
summary: Update
|
|
8398
|
+
summary: Update organization attributes
|
|
8390
8399
|
tags:
|
|
8391
8400
|
- organization
|
|
8392
8401
|
/v1/organizations/attributes/{organization_id}:
|
|
8393
8402
|
get:
|
|
8403
|
+
description: Retrieves a list of organization attributes for the specified organization
|
|
8394
8404
|
operationId: get_attributes_v1_organizations_attributes__organization_id__get
|
|
8395
8405
|
parameters:
|
|
8396
8406
|
- in: path
|
|
@@ -8437,10 +8447,11 @@ paths:
|
|
|
8437
8447
|
description: Validation Error
|
|
8438
8448
|
security:
|
|
8439
8449
|
- OAuth2PasswordBearer: []
|
|
8440
|
-
summary:
|
|
8450
|
+
summary: List organization attributes
|
|
8441
8451
|
tags:
|
|
8442
8452
|
- organization
|
|
8443
8453
|
patch:
|
|
8454
|
+
description: Updates one or more organization attributes for the specified organization
|
|
8444
8455
|
operationId: update_attributes_v1_organizations_attributes__organization_id__patch
|
|
8445
8456
|
parameters:
|
|
8446
8457
|
- in: path
|
|
@@ -8484,7 +8495,7 @@ paths:
|
|
|
8484
8495
|
description: Validation Error
|
|
8485
8496
|
security:
|
|
8486
8497
|
- OAuth2PasswordBearer: []
|
|
8487
|
-
summary: Update
|
|
8498
|
+
summary: Update organization attributes
|
|
8488
8499
|
tags:
|
|
8489
8500
|
- organization
|
|
8490
8501
|
/v1/organizations/ip-restrictions:
|
|
@@ -8510,7 +8521,7 @@ paths:
|
|
|
8510
8521
|
description: Successful Response
|
|
8511
8522
|
security:
|
|
8512
8523
|
- OAuth2PasswordBearer: []
|
|
8513
|
-
summary: List
|
|
8524
|
+
summary: List IP restrictions
|
|
8514
8525
|
tags:
|
|
8515
8526
|
- organization
|
|
8516
8527
|
post:
|
|
@@ -8543,7 +8554,7 @@ paths:
|
|
|
8543
8554
|
description: Validation Error
|
|
8544
8555
|
security:
|
|
8545
8556
|
- OAuth2PasswordBearer: []
|
|
8546
|
-
summary: Create
|
|
8557
|
+
summary: Create an IP restriction
|
|
8547
8558
|
tags:
|
|
8548
8559
|
- organization
|
|
8549
8560
|
/v1/organizations/ip-restrictions/{ip_restriction_id}:
|
|
@@ -8571,7 +8582,7 @@ paths:
|
|
|
8571
8582
|
description: Validation Error
|
|
8572
8583
|
security:
|
|
8573
8584
|
- OAuth2PasswordBearer: []
|
|
8574
|
-
summary: Delete
|
|
8585
|
+
summary: Delete an IP restriction
|
|
8575
8586
|
tags:
|
|
8576
8587
|
- organization
|
|
8577
8588
|
get:
|
|
@@ -8606,7 +8617,7 @@ paths:
|
|
|
8606
8617
|
description: Validation Error
|
|
8607
8618
|
security:
|
|
8608
8619
|
- OAuth2PasswordBearer: []
|
|
8609
|
-
summary: Get
|
|
8620
|
+
summary: Get an IP restriction
|
|
8610
8621
|
tags:
|
|
8611
8622
|
- organization
|
|
8612
8623
|
patch:
|
|
@@ -8646,11 +8657,12 @@ paths:
|
|
|
8646
8657
|
description: Validation Error
|
|
8647
8658
|
security:
|
|
8648
8659
|
- OAuth2PasswordBearer: []
|
|
8649
|
-
summary: Update
|
|
8660
|
+
summary: Update an IP restriction
|
|
8650
8661
|
tags:
|
|
8651
8662
|
- organization
|
|
8652
8663
|
/v1/organizations/roles:
|
|
8653
8664
|
get:
|
|
8665
|
+
description: Retrieves a list of roles for the current organization
|
|
8654
8666
|
operationId: list_roles_v1_organizations_roles_get
|
|
8655
8667
|
responses:
|
|
8656
8668
|
'200':
|
|
@@ -8660,11 +8672,12 @@ paths:
|
|
|
8660
8672
|
description: Successful Response
|
|
8661
8673
|
security:
|
|
8662
8674
|
- OAuth2PasswordBearer: []
|
|
8663
|
-
summary: List
|
|
8675
|
+
summary: List all roles
|
|
8664
8676
|
tags:
|
|
8665
8677
|
- organization
|
|
8666
8678
|
/v1/organizations/users:
|
|
8667
8679
|
get:
|
|
8680
|
+
description: Retrieves a paginated list of users under the current organization
|
|
8668
8681
|
operationId: list_users_v1_organizations_users_get
|
|
8669
8682
|
parameters:
|
|
8670
8683
|
- in: query
|
|
@@ -8699,11 +8712,12 @@ paths:
|
|
|
8699
8712
|
description: Validation Error
|
|
8700
8713
|
security:
|
|
8701
8714
|
- OAuth2PasswordBearer: []
|
|
8702
|
-
summary: List
|
|
8715
|
+
summary: List all users
|
|
8703
8716
|
tags:
|
|
8704
8717
|
- organization
|
|
8705
8718
|
/v1/organizations/{organization_id}:
|
|
8706
8719
|
delete:
|
|
8720
|
+
description: Permanently deletes an organization
|
|
8707
8721
|
operationId: delete_user_v1_organizations__organization_id__delete
|
|
8708
8722
|
parameters:
|
|
8709
8723
|
- in: path
|
|
@@ -8728,10 +8742,11 @@ paths:
|
|
|
8728
8742
|
description: Validation Error
|
|
8729
8743
|
security:
|
|
8730
8744
|
- OAuth2PasswordBearer: []
|
|
8731
|
-
summary: Delete
|
|
8745
|
+
summary: Delete an organization
|
|
8732
8746
|
tags:
|
|
8733
8747
|
- organization
|
|
8734
8748
|
get:
|
|
8749
|
+
description: Retrieves details for a specific organization
|
|
8735
8750
|
operationId: get_organization_v1_organizations__organization_id__get
|
|
8736
8751
|
parameters:
|
|
8737
8752
|
- in: path
|
|
@@ -8760,10 +8775,11 @@ paths:
|
|
|
8760
8775
|
description: Validation Error
|
|
8761
8776
|
security:
|
|
8762
8777
|
- OAuth2PasswordBearer: []
|
|
8763
|
-
summary: Get
|
|
8778
|
+
summary: Get organization details
|
|
8764
8779
|
tags:
|
|
8765
8780
|
- organization
|
|
8766
8781
|
patch:
|
|
8782
|
+
description: Updates details for a specific organization
|
|
8767
8783
|
operationId: update_organization_v1_organizations__organization_id__patch
|
|
8768
8784
|
parameters:
|
|
8769
8785
|
- in: path
|
|
@@ -8798,11 +8814,12 @@ paths:
|
|
|
8798
8814
|
description: Validation Error
|
|
8799
8815
|
security:
|
|
8800
8816
|
- OAuth2PasswordBearer: []
|
|
8801
|
-
summary: Update
|
|
8817
|
+
summary: Update an organization
|
|
8802
8818
|
tags:
|
|
8803
8819
|
- organization
|
|
8804
8820
|
/v1/organizations/{organization_id}/billing/checkout-sessions:
|
|
8805
8821
|
post:
|
|
8822
|
+
description: Create a checkout session for the organization
|
|
8806
8823
|
operationId: get_checkout_session_v1_organizations__organization_id__billing_checkout_sessions_post
|
|
8807
8824
|
parameters:
|
|
8808
8825
|
- in: path
|
|
@@ -8837,12 +8854,13 @@ paths:
|
|
|
8837
8854
|
description: Validation Error
|
|
8838
8855
|
security:
|
|
8839
8856
|
- OAuth2PasswordBearer: []
|
|
8840
|
-
summary:
|
|
8857
|
+
summary: Create checkout session
|
|
8841
8858
|
tags:
|
|
8842
8859
|
- organization
|
|
8843
8860
|
- organization
|
|
8844
8861
|
/v1/organizations/{organization_id}/billing/payment-methods:
|
|
8845
8862
|
get:
|
|
8863
|
+
description: List all available payment methods for the organization
|
|
8846
8864
|
operationId: list_payment_methods_v1_organizations__organization_id__billing_payment_methods_get
|
|
8847
8865
|
parameters:
|
|
8848
8866
|
- in: path
|
|
@@ -8875,12 +8893,13 @@ paths:
|
|
|
8875
8893
|
description: Validation Error
|
|
8876
8894
|
security:
|
|
8877
8895
|
- OAuth2PasswordBearer: []
|
|
8878
|
-
summary: List
|
|
8896
|
+
summary: List all payment methods
|
|
8879
8897
|
tags:
|
|
8880
8898
|
- organization
|
|
8881
8899
|
- organization
|
|
8882
8900
|
/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}:
|
|
8883
8901
|
delete:
|
|
8902
|
+
description: Delete a payment method for the organization
|
|
8884
8903
|
operationId: delete_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__delete
|
|
8885
8904
|
parameters:
|
|
8886
8905
|
- in: path
|
|
@@ -8911,12 +8930,13 @@ paths:
|
|
|
8911
8930
|
description: Validation Error
|
|
8912
8931
|
security:
|
|
8913
8932
|
- OAuth2PasswordBearer: []
|
|
8914
|
-
summary: Delete
|
|
8933
|
+
summary: Delete a payment method
|
|
8915
8934
|
tags:
|
|
8916
8935
|
- organization
|
|
8917
8936
|
- organization
|
|
8918
8937
|
/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default:
|
|
8919
8938
|
patch:
|
|
8939
|
+
description: Set the provided payment method as default for the specified organization
|
|
8920
8940
|
operationId: update_default_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__default_patch
|
|
8921
8941
|
parameters:
|
|
8922
8942
|
- in: path
|
|
@@ -8955,12 +8975,14 @@ paths:
|
|
|
8955
8975
|
description: Validation Error
|
|
8956
8976
|
security:
|
|
8957
8977
|
- OAuth2PasswordBearer: []
|
|
8958
|
-
summary:
|
|
8978
|
+
summary: Set payment method as default
|
|
8959
8979
|
tags:
|
|
8960
8980
|
- organization
|
|
8961
8981
|
- organization
|
|
8962
8982
|
/v1/organizations/{organization_id}/billing/wallet/credits:
|
|
8963
8983
|
post:
|
|
8984
|
+
description: Credit the organization's wallet using the provided amount and
|
|
8985
|
+
payment method
|
|
8964
8986
|
operationId: credit_wallet_v1_organizations__organization_id__billing_wallet_credits_post
|
|
8965
8987
|
parameters:
|
|
8966
8988
|
- in: path
|
|
@@ -8995,12 +9017,13 @@ paths:
|
|
|
8995
9017
|
description: Validation Error
|
|
8996
9018
|
security:
|
|
8997
9019
|
- OAuth2PasswordBearer: []
|
|
8998
|
-
summary: Credit
|
|
9020
|
+
summary: Credit wallet
|
|
8999
9021
|
tags:
|
|
9000
9022
|
- organization
|
|
9001
9023
|
- organization
|
|
9002
9024
|
/v1/organizations/{organization_id}/plan:
|
|
9003
9025
|
patch:
|
|
9026
|
+
description: Changes the plan for an organization
|
|
9004
9027
|
operationId: change_plan_v1_organizations__organization_id__plan_patch
|
|
9005
9028
|
parameters:
|
|
9006
9029
|
- in: path
|
|
@@ -9035,11 +9058,12 @@ paths:
|
|
|
9035
9058
|
description: Validation Error
|
|
9036
9059
|
security:
|
|
9037
9060
|
- OAuth2PasswordBearer: []
|
|
9038
|
-
summary:
|
|
9061
|
+
summary: Update organization plan
|
|
9039
9062
|
tags:
|
|
9040
9063
|
- organization
|
|
9041
9064
|
/v1/organizations/{organization_id}/plans:
|
|
9042
9065
|
get:
|
|
9066
|
+
description: Retrieves a list of plans for an organization
|
|
9043
9067
|
operationId: get_current_available_plans_v1_organizations__organization_id__plans_get
|
|
9044
9068
|
parameters:
|
|
9045
9069
|
- in: path
|
|
@@ -9068,11 +9092,13 @@ paths:
|
|
|
9068
9092
|
description: Validation Error
|
|
9069
9093
|
security:
|
|
9070
9094
|
- OAuth2PasswordBearer: []
|
|
9071
|
-
summary: Get
|
|
9095
|
+
summary: Get plans for an organization
|
|
9072
9096
|
tags:
|
|
9073
9097
|
- organization
|
|
9074
9098
|
/v1/organizations/{organization_id}/pricing/product-type/{product_type}:
|
|
9075
9099
|
get:
|
|
9100
|
+
description: Retrieves pricing data for a specific product type. If a product
|
|
9101
|
+
action/class are specified, only prices for those are returned, if any.
|
|
9076
9102
|
operationId: get_pricing_plans_v1_organizations__organization_id__pricing_product_type__product_type__get
|
|
9077
9103
|
parameters:
|
|
9078
9104
|
- in: path
|
|
@@ -9122,11 +9148,12 @@ paths:
|
|
|
9122
9148
|
description: Validation Error
|
|
9123
9149
|
security:
|
|
9124
9150
|
- OAuth2PasswordBearer: []
|
|
9125
|
-
summary:
|
|
9151
|
+
summary: List product prices
|
|
9126
9152
|
tags:
|
|
9127
9153
|
- organization
|
|
9128
9154
|
/v1/organizations/{organization_id}/transactions:
|
|
9129
9155
|
get:
|
|
9156
|
+
description: Retrieves a paginated list of transactions for an organization
|
|
9130
9157
|
operationId: get_transactions_v1_organizations__organization_id__transactions_get
|
|
9131
9158
|
parameters:
|
|
9132
9159
|
- in: path
|
|
@@ -9253,11 +9280,12 @@ paths:
|
|
|
9253
9280
|
description: Validation Error
|
|
9254
9281
|
security:
|
|
9255
9282
|
- OAuth2PasswordBearer: []
|
|
9256
|
-
summary:
|
|
9283
|
+
summary: List all transactions
|
|
9257
9284
|
tags:
|
|
9258
9285
|
- organization
|
|
9259
9286
|
/v1/organizations/{organization_id}/transactions/{transaction_id}:
|
|
9260
9287
|
get:
|
|
9288
|
+
description: Retrieves details for a specific transaction for an organization
|
|
9261
9289
|
operationId: get_transaction_v1_organizations__organization_id__transactions__transaction_id__get
|
|
9262
9290
|
parameters:
|
|
9263
9291
|
- in: path
|
|
@@ -9297,11 +9325,12 @@ paths:
|
|
|
9297
9325
|
description: Validation Error
|
|
9298
9326
|
security:
|
|
9299
9327
|
- OAuth2PasswordBearer: []
|
|
9300
|
-
summary: Get a specific transaction
|
|
9328
|
+
summary: Get a specific transaction
|
|
9301
9329
|
tags:
|
|
9302
9330
|
- organization
|
|
9303
9331
|
/v1/tlds/portfolio:
|
|
9304
9332
|
get:
|
|
9333
|
+
description: Retrieves a list of TLDs we have support for
|
|
9305
9334
|
operationId: get_tld_portfolio_v1_tlds_portfolio_get
|
|
9306
9335
|
responses:
|
|
9307
9336
|
'200':
|
|
@@ -9315,11 +9344,12 @@ paths:
|
|
|
9315
9344
|
description: Successful Response
|
|
9316
9345
|
security:
|
|
9317
9346
|
- OAuth2PasswordBearer: []
|
|
9318
|
-
summary: Get
|
|
9347
|
+
summary: Get the list of TLDs we support
|
|
9319
9348
|
tags:
|
|
9320
9349
|
- tld
|
|
9321
9350
|
/v1/tlds/{tld}:
|
|
9322
9351
|
get:
|
|
9352
|
+
description: Retrieves the TLD specification for a given TLD
|
|
9323
9353
|
operationId: get_tld_spec_v1_tlds__tld__get
|
|
9324
9354
|
parameters:
|
|
9325
9355
|
- in: path
|
|
@@ -9355,11 +9385,12 @@ paths:
|
|
|
9355
9385
|
description: Validation Error
|
|
9356
9386
|
security:
|
|
9357
9387
|
- OAuth2PasswordBearer: []
|
|
9358
|
-
summary: Get
|
|
9388
|
+
summary: Get the TLD specification
|
|
9359
9389
|
tags:
|
|
9360
9390
|
- tld
|
|
9361
9391
|
/v1/users:
|
|
9362
9392
|
post:
|
|
9393
|
+
description: Create a new user
|
|
9363
9394
|
operationId: create_user_v1_users_post
|
|
9364
9395
|
requestBody:
|
|
9365
9396
|
content:
|
|
@@ -9382,11 +9413,12 @@ paths:
|
|
|
9382
9413
|
description: Validation Error
|
|
9383
9414
|
security:
|
|
9384
9415
|
- OAuth2PasswordBearer: []
|
|
9385
|
-
summary: Create
|
|
9416
|
+
summary: Create a user
|
|
9386
9417
|
tags:
|
|
9387
9418
|
- user
|
|
9388
9419
|
/v1/users/me:
|
|
9389
9420
|
get:
|
|
9421
|
+
description: Get the current user
|
|
9390
9422
|
operationId: get_current_user_v1_users_me_get
|
|
9391
9423
|
parameters:
|
|
9392
9424
|
- in: query
|
|
@@ -9414,7 +9446,7 @@ paths:
|
|
|
9414
9446
|
description: Validation Error
|
|
9415
9447
|
security:
|
|
9416
9448
|
- OAuth2PasswordBearer: []
|
|
9417
|
-
summary: Get
|
|
9449
|
+
summary: Get current user
|
|
9418
9450
|
tags:
|
|
9419
9451
|
- user
|
|
9420
9452
|
/v1/users/me/password-reset:
|
|
@@ -9454,6 +9486,7 @@ paths:
|
|
|
9454
9486
|
- user
|
|
9455
9487
|
/v1/users/{user_id}:
|
|
9456
9488
|
delete:
|
|
9489
|
+
description: Delete a user by ID
|
|
9457
9490
|
operationId: delete_user_v1_users__user_id__delete
|
|
9458
9491
|
parameters:
|
|
9459
9492
|
- in: path
|
|
@@ -9490,10 +9523,11 @@ paths:
|
|
|
9490
9523
|
description: Validation Error
|
|
9491
9524
|
security:
|
|
9492
9525
|
- OAuth2PasswordBearer: []
|
|
9493
|
-
summary: Delete
|
|
9526
|
+
summary: Delete a user
|
|
9494
9527
|
tags:
|
|
9495
9528
|
- user
|
|
9496
9529
|
get:
|
|
9530
|
+
description: Get a user by ID
|
|
9497
9531
|
operationId: get_user_v1_users__user_id__get
|
|
9498
9532
|
parameters:
|
|
9499
9533
|
- in: path
|
|
@@ -9532,10 +9566,11 @@ paths:
|
|
|
9532
9566
|
description: Validation Error
|
|
9533
9567
|
security:
|
|
9534
9568
|
- OAuth2PasswordBearer: []
|
|
9535
|
-
summary: Get
|
|
9569
|
+
summary: Get a user
|
|
9536
9570
|
tags:
|
|
9537
9571
|
- user
|
|
9538
9572
|
patch:
|
|
9573
|
+
description: Update a user by ID
|
|
9539
9574
|
operationId: update_user_v1_users__user_id__patch
|
|
9540
9575
|
parameters:
|
|
9541
9576
|
- in: path
|
|
@@ -9570,11 +9605,12 @@ paths:
|
|
|
9570
9605
|
description: Validation Error
|
|
9571
9606
|
security:
|
|
9572
9607
|
- OAuth2PasswordBearer: []
|
|
9573
|
-
summary: Update
|
|
9608
|
+
summary: Update a user
|
|
9574
9609
|
tags:
|
|
9575
9610
|
- user
|
|
9576
9611
|
/v1/users/{user_id}/permissions:
|
|
9577
9612
|
get:
|
|
9613
|
+
description: Get the permissions for a user
|
|
9578
9614
|
operationId: get_user_permissions_v1_users__user_id__permissions_get
|
|
9579
9615
|
parameters:
|
|
9580
9616
|
- in: path
|
|
@@ -9603,11 +9639,12 @@ paths:
|
|
|
9603
9639
|
description: Validation Error
|
|
9604
9640
|
security:
|
|
9605
9641
|
- OAuth2PasswordBearer: []
|
|
9606
|
-
summary: Get
|
|
9642
|
+
summary: Get user permissions
|
|
9607
9643
|
tags:
|
|
9608
9644
|
- user
|
|
9609
9645
|
/v1/users/{user_id}/roles:
|
|
9610
9646
|
get:
|
|
9647
|
+
description: Get the roles for a user
|
|
9611
9648
|
operationId: list_roles_v1_users__user_id__roles_get
|
|
9612
9649
|
parameters:
|
|
9613
9650
|
- in: path
|
|
@@ -9636,10 +9673,11 @@ paths:
|
|
|
9636
9673
|
description: Validation Error
|
|
9637
9674
|
security:
|
|
9638
9675
|
- OAuth2PasswordBearer: []
|
|
9639
|
-
summary:
|
|
9676
|
+
summary: Get user roles
|
|
9640
9677
|
tags:
|
|
9641
9678
|
- user
|
|
9642
9679
|
patch:
|
|
9680
|
+
description: Update the roles for a user
|
|
9643
9681
|
operationId: update_user_relations_v1_users__user_id__roles_patch
|
|
9644
9682
|
parameters:
|
|
9645
9683
|
- in: path
|
|
@@ -9674,7 +9712,7 @@ paths:
|
|
|
9674
9712
|
description: Validation Error
|
|
9675
9713
|
security:
|
|
9676
9714
|
- OAuth2PasswordBearer: []
|
|
9677
|
-
summary: Update
|
|
9715
|
+
summary: Update user roles
|
|
9678
9716
|
tags:
|
|
9679
9717
|
- user
|
|
9680
9718
|
servers:
|