@opusdns/api 0.90.0 → 0.92.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/keys.ts +507 -0
- package/src/helpers/requests.d.ts +79 -1
- package/src/helpers/responses.d.ts +115 -1
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +112 -0
- package/src/openapi.yaml +271 -4
- package/src/schema.d.ts +164 -1
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { Problem, HTTPValidationError, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, DomainForward, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
37
|
+
import { Problem, HTTPValidationError, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, Pagination_DomainForwardZone, DomainForward, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Response types for POST AuthToken endpoint
|
|
@@ -1661,6 +1661,116 @@ export type GET_DnsSummary_Response = GET_DnsSummary_Response_200;
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
1663
1663
|
|
|
1664
|
+
/**
|
|
1665
|
+
* Response types for GET DomainForwards endpoint
|
|
1666
|
+
*
|
|
1667
|
+
* List Domain Forwards
|
|
1668
|
+
*
|
|
1669
|
+
* @remarks
|
|
1670
|
+
* This type defines all possible response structures for the GET DomainForwards endpoint.
|
|
1671
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1672
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1673
|
+
*
|
|
1674
|
+
|
|
1675
|
+
*
|
|
1676
|
+
* @path /v1/domain-forwards
|
|
1677
|
+
*
|
|
1678
|
+
* @see {@link GET_DomainForwards_Response_200} - 200 response type
|
|
1679
|
+
* @see {@link GET_DomainForwards_Response_422} - 422 response type
|
|
1680
|
+
*
|
|
1681
|
+
|
|
1682
|
+
*/
|
|
1683
|
+
export type GET_DomainForwards_Response = GET_DomainForwards_Response_200 | GET_DomainForwards_Response_422;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* 200 response for GET DomainForwards endpoint
|
|
1687
|
+
*
|
|
1688
|
+
* @remarks
|
|
1689
|
+
* This type defines the response structure for the 200 status code
|
|
1690
|
+
* of the GET DomainForwards endpoint.
|
|
1691
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1692
|
+
*
|
|
1693
|
+
|
|
1694
|
+
*
|
|
1695
|
+
* @path /v1/domain-forwards
|
|
1696
|
+
*
|
|
1697
|
+
* @see {@link GET_DomainForwards_Response} - The main response type definition
|
|
1698
|
+
* @see {@link Pagination_DomainForwardZone} - The actual schema type definition
|
|
1699
|
+
*/
|
|
1700
|
+
export type GET_DomainForwards_Response_200 = Pagination_DomainForwardZone
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* 422 response for GET DomainForwards endpoint
|
|
1704
|
+
*
|
|
1705
|
+
* @remarks
|
|
1706
|
+
* This type defines the response structure for the 422 status code
|
|
1707
|
+
* of the GET DomainForwards endpoint.
|
|
1708
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1709
|
+
*
|
|
1710
|
+
|
|
1711
|
+
*
|
|
1712
|
+
* @path /v1/domain-forwards
|
|
1713
|
+
*
|
|
1714
|
+
* @see {@link GET_DomainForwards_Response} - The main response type definition
|
|
1715
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1716
|
+
*/
|
|
1717
|
+
export type GET_DomainForwards_Response_422 = HTTPValidationError
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* Response types for PATCH DomainForwards endpoint
|
|
1721
|
+
*
|
|
1722
|
+
* Patch Redirects
|
|
1723
|
+
*
|
|
1724
|
+
* @remarks
|
|
1725
|
+
* This type defines all possible response structures for the PATCH DomainForwards endpoint.
|
|
1726
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1727
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1728
|
+
*
|
|
1729
|
+
|
|
1730
|
+
*
|
|
1731
|
+
* @path /v1/domain-forwards
|
|
1732
|
+
*
|
|
1733
|
+
* @see {@link PATCH_DomainForwards_Response_404} - 404 response type
|
|
1734
|
+
* @see {@link PATCH_DomainForwards_Response_422} - 422 response type
|
|
1735
|
+
*
|
|
1736
|
+
|
|
1737
|
+
*/
|
|
1738
|
+
export type PATCH_DomainForwards_Response = PATCH_DomainForwards_Response_404 | PATCH_DomainForwards_Response_422;
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* 404 response for PATCH DomainForwards endpoint
|
|
1742
|
+
*
|
|
1743
|
+
* @remarks
|
|
1744
|
+
* This type defines the response structure for the 404 status code
|
|
1745
|
+
* of the PATCH DomainForwards endpoint.
|
|
1746
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1747
|
+
*
|
|
1748
|
+
|
|
1749
|
+
*
|
|
1750
|
+
* @path /v1/domain-forwards
|
|
1751
|
+
*
|
|
1752
|
+
* @see {@link PATCH_DomainForwards_Response} - The main response type definition
|
|
1753
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1754
|
+
*/
|
|
1755
|
+
export type PATCH_DomainForwards_Response_404 = Problem
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* 422 response for PATCH DomainForwards endpoint
|
|
1759
|
+
*
|
|
1760
|
+
* @remarks
|
|
1761
|
+
* This type defines the response structure for the 422 status code
|
|
1762
|
+
* of the PATCH DomainForwards endpoint.
|
|
1763
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1764
|
+
*
|
|
1765
|
+
|
|
1766
|
+
*
|
|
1767
|
+
* @path /v1/domain-forwards
|
|
1768
|
+
*
|
|
1769
|
+
* @see {@link PATCH_DomainForwards_Response} - The main response type definition
|
|
1770
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1771
|
+
*/
|
|
1772
|
+
export type PATCH_DomainForwards_Response_422 = HTTPValidationError
|
|
1773
|
+
|
|
1664
1774
|
/**
|
|
1665
1775
|
* Response types for DELETE DomainForwardsByZoneNameByRequestProtocol endpoint
|
|
1666
1776
|
*
|
|
@@ -1984,6 +2094,8 @@ export type PATCH_DomainForwardsByZoneNameDisable_Response_422 = HTTPValidationE
|
|
|
1984
2094
|
*
|
|
1985
2095
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
1986
2096
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
2097
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2098
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
1987
2099
|
*
|
|
1988
2100
|
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response_422} - 422 response type
|
|
1989
2101
|
*
|
|
@@ -2003,6 +2115,8 @@ export type PATCH_DomainForwardsByZoneNameEnable_Response = PATCH_DomainForwards
|
|
|
2003
2115
|
*
|
|
2004
2116
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
2005
2117
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
2118
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2119
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
2006
2120
|
*
|
|
2007
2121
|
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response} - The main response type definition
|
|
2008
2122
|
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* This file is auto-generated from the OpenAPI specification.
|
|
22
22
|
* Do not edit manually.
|
|
23
23
|
*/
|
|
24
|
-
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, HttpRedirect, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, Invoice, Organization, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
24
|
+
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, HttpRedirect, DomainForwardPatchOp, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardAlias, EventResponse, Invoice, Organization, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -331,6 +331,20 @@ export type NameserverArray = Nameserver[];
|
|
|
331
331
|
* @see {@link HttpRedirect} - The individual HttpRedirect type definition
|
|
332
332
|
*/
|
|
333
333
|
export type HttpRedirectArray = HttpRedirect[];
|
|
334
|
+
/**
|
|
335
|
+
* DomainForwardPatchOp
|
|
336
|
+
*
|
|
337
|
+
* @remarks
|
|
338
|
+
* Array type for DomainForwardPatchOp objects. Used when the API returns a collection of DomainForwardPatchOp instances.
|
|
339
|
+
*
|
|
340
|
+
* @example
|
|
341
|
+
* ```typescript
|
|
342
|
+
* const items: DomainForwardPatchOpArray = await api.getDomainForwardPatchOps();
|
|
343
|
+
* ```
|
|
344
|
+
*
|
|
345
|
+
* @see {@link DomainForwardPatchOp} - The individual DomainForwardPatchOp type definition
|
|
346
|
+
*/
|
|
347
|
+
export type DomainForwardPatchOpArray = DomainForwardPatchOp[];
|
|
334
348
|
/**
|
|
335
349
|
* DeletePolicyType
|
|
336
350
|
*
|
|
@@ -583,6 +597,20 @@ export type ContactSchemaArray = ContactSchema[];
|
|
|
583
597
|
* @see {@link DnsZone} - The individual DnsZoneResponse type definition
|
|
584
598
|
*/
|
|
585
599
|
export type DnsZoneArray = DnsZone[];
|
|
600
|
+
/**
|
|
601
|
+
* DomainForwardZone
|
|
602
|
+
*
|
|
603
|
+
* @remarks
|
|
604
|
+
* Array type for DomainForwardZone objects. Used when the API returns a collection of DomainForwardZone instances.
|
|
605
|
+
*
|
|
606
|
+
* @example
|
|
607
|
+
* ```typescript
|
|
608
|
+
* const items: DomainForwardZoneArray = await api.getDomainForwardZones();
|
|
609
|
+
* ```
|
|
610
|
+
*
|
|
611
|
+
* @see {@link DomainForwardZone} - The individual DomainForwardZone type definition
|
|
612
|
+
*/
|
|
613
|
+
export type DomainForwardZoneArray = DomainForwardZone[];
|
|
586
614
|
/**
|
|
587
615
|
* DomainResponse
|
|
588
616
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -1034,6 +1034,54 @@ export type DomainDnssecData = components['schemas']['DomainDnssecDataResponse']
|
|
|
1034
1034
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1035
1035
|
*/
|
|
1036
1036
|
export type DomainForward = components['schemas']['DomainForward'];
|
|
1037
|
+
/**
|
|
1038
|
+
* DomainForwardPatchOp
|
|
1039
|
+
*
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* Type alias for the `DomainForwardPatchOp` OpenAPI schema.
|
|
1042
|
+
* This type represents domainforwardpatchop data structures used in API requests and responses.
|
|
1043
|
+
*
|
|
1044
|
+
* @example
|
|
1045
|
+
* ```typescript
|
|
1046
|
+
* const response = await api.getDomainForwardPatchOp();
|
|
1047
|
+
* const item: DomainForwardPatchOp = response.results;
|
|
1048
|
+
* ```
|
|
1049
|
+
*
|
|
1050
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1051
|
+
*/
|
|
1052
|
+
export type DomainForwardPatchOp = components['schemas']['DomainForwardPatchOp'];
|
|
1053
|
+
/**
|
|
1054
|
+
* DomainForwardPatchOps
|
|
1055
|
+
*
|
|
1056
|
+
* @remarks
|
|
1057
|
+
* Type alias for the `DomainForwardPatchOps` OpenAPI schema.
|
|
1058
|
+
* This type represents domainforwardpatchops data structures used in API requests and responses.
|
|
1059
|
+
*
|
|
1060
|
+
* @example
|
|
1061
|
+
* ```typescript
|
|
1062
|
+
* const response = await api.getDomainForwardPatchOps();
|
|
1063
|
+
* const item: DomainForwardPatchOps = response.results;
|
|
1064
|
+
* ```
|
|
1065
|
+
*
|
|
1066
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1067
|
+
*/
|
|
1068
|
+
export type DomainForwardPatchOps = components['schemas']['DomainForwardPatchOps'];
|
|
1069
|
+
/**
|
|
1070
|
+
* DomainForwardProtocols
|
|
1071
|
+
*
|
|
1072
|
+
* @remarks
|
|
1073
|
+
* Type alias for the `DomainForwardProtocols` OpenAPI schema.
|
|
1074
|
+
* This type represents domainforwardprotocols data structures used in API requests and responses.
|
|
1075
|
+
*
|
|
1076
|
+
* @example
|
|
1077
|
+
* ```typescript
|
|
1078
|
+
* const response = await api.getDomainForwardProtocols();
|
|
1079
|
+
* const item: DomainForwardProtocols = response.results;
|
|
1080
|
+
* ```
|
|
1081
|
+
*
|
|
1082
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1083
|
+
*/
|
|
1084
|
+
export type DomainForwardProtocols = components['schemas']['DomainForwardProtocols'];
|
|
1037
1085
|
/**
|
|
1038
1086
|
* DomainForwardRequest
|
|
1039
1087
|
*
|
|
@@ -1050,6 +1098,22 @@ export type DomainForward = components['schemas']['DomainForward'];
|
|
|
1050
1098
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1051
1099
|
*/
|
|
1052
1100
|
export type DomainForwardRequest = components['schemas']['DomainForwardRequest'];
|
|
1101
|
+
/**
|
|
1102
|
+
* DomainForwardZone
|
|
1103
|
+
*
|
|
1104
|
+
* @remarks
|
|
1105
|
+
* Type alias for the `DomainForwardZone` OpenAPI schema.
|
|
1106
|
+
* This type represents domainforwardzone data structures used in API requests and responses.
|
|
1107
|
+
*
|
|
1108
|
+
* @example
|
|
1109
|
+
* ```typescript
|
|
1110
|
+
* const response = await api.getDomainForwardZone();
|
|
1111
|
+
* const item: DomainForwardZone = response.results;
|
|
1112
|
+
* ```
|
|
1113
|
+
*
|
|
1114
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1115
|
+
*/
|
|
1116
|
+
export type DomainForwardZone = components['schemas']['DomainForwardZone'];
|
|
1053
1117
|
/**
|
|
1054
1118
|
* DomainLifecycleBase
|
|
1055
1119
|
*
|
|
@@ -1626,6 +1690,22 @@ export type HttpProtocol = components['schemas']['HttpProtocol'];
|
|
|
1626
1690
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1627
1691
|
*/
|
|
1628
1692
|
export type HttpRedirect = components['schemas']['HttpRedirect'];
|
|
1693
|
+
/**
|
|
1694
|
+
* HttpRedirectRemove
|
|
1695
|
+
*
|
|
1696
|
+
* @remarks
|
|
1697
|
+
* Type alias for the `HttpRedirectRemove` OpenAPI schema.
|
|
1698
|
+
* This type represents httpredirectremove data structures used in API requests and responses.
|
|
1699
|
+
*
|
|
1700
|
+
* @example
|
|
1701
|
+
* ```typescript
|
|
1702
|
+
* const response = await api.getHttpRedirectRemove();
|
|
1703
|
+
* const item: HttpRedirectRemove = response.results;
|
|
1704
|
+
* ```
|
|
1705
|
+
*
|
|
1706
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1707
|
+
*/
|
|
1708
|
+
export type HttpRedirectRemove = components['schemas']['HttpRedirectRemove'];
|
|
1629
1709
|
/**
|
|
1630
1710
|
* IdnBase
|
|
1631
1711
|
*
|
|
@@ -2095,6 +2175,22 @@ export type Pagination_ContactSchema = components['schemas']['Pagination_Contact
|
|
|
2095
2175
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2096
2176
|
*/
|
|
2097
2177
|
export type Pagination_DnsZone = components['schemas']['Pagination_DnsZoneResponse_'];
|
|
2178
|
+
/**
|
|
2179
|
+
* Pagination[DomainForwardZone]
|
|
2180
|
+
*
|
|
2181
|
+
* @remarks
|
|
2182
|
+
* Type alias for the `Pagination_DomainForwardZone_` OpenAPI schema.
|
|
2183
|
+
* This type represents pagination[domainforwardzone] data structures used in API requests and responses.
|
|
2184
|
+
*
|
|
2185
|
+
* @example
|
|
2186
|
+
* ```typescript
|
|
2187
|
+
* const response = await api.getPagination_DomainForwardZone();
|
|
2188
|
+
* const item: Pagination_DomainForwardZone = response.results;
|
|
2189
|
+
* ```
|
|
2190
|
+
*
|
|
2191
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2192
|
+
*/
|
|
2193
|
+
export type Pagination_DomainForwardZone = components['schemas']['Pagination_DomainForwardZone_'];
|
|
2098
2194
|
/**
|
|
2099
2195
|
* Pagination[DomainResponse]
|
|
2100
2196
|
*
|
|
@@ -2431,6 +2527,22 @@ export type PricingPeriod = components['schemas']['PricingPeriod'];
|
|
|
2431
2527
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2432
2528
|
*/
|
|
2433
2529
|
export type Problem = components['schemas']['Problem'];
|
|
2530
|
+
/**
|
|
2531
|
+
* ProtocolRedirects
|
|
2532
|
+
*
|
|
2533
|
+
* @remarks
|
|
2534
|
+
* Type alias for the `ProtocolRedirects` OpenAPI schema.
|
|
2535
|
+
* This type represents protocolredirects data structures used in API requests and responses.
|
|
2536
|
+
*
|
|
2537
|
+
* @example
|
|
2538
|
+
* ```typescript
|
|
2539
|
+
* const response = await api.getProtocolRedirects();
|
|
2540
|
+
* const item: ProtocolRedirects = response.results;
|
|
2541
|
+
* ```
|
|
2542
|
+
*
|
|
2543
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2544
|
+
*/
|
|
2545
|
+
export type ProtocolRedirects = components['schemas']['ProtocolRedirects'];
|
|
2434
2546
|
/**
|
|
2435
2547
|
* PublicAuthRequestForm
|
|
2436
2548
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -1549,13 +1549,13 @@ components:
|
|
|
1549
1549
|
title: Updated On
|
|
1550
1550
|
type: string
|
|
1551
1551
|
wildcard:
|
|
1552
|
+
default: false
|
|
1552
1553
|
title: Wildcard
|
|
1553
1554
|
type: boolean
|
|
1554
1555
|
zone_name:
|
|
1555
1556
|
title: Zone Name
|
|
1556
1557
|
type: string
|
|
1557
1558
|
required:
|
|
1558
|
-
- wildcard
|
|
1559
1559
|
- redirects
|
|
1560
1560
|
- zone_name
|
|
1561
1561
|
- request_protocol
|
|
@@ -1563,6 +1563,50 @@ components:
|
|
|
1563
1563
|
- created_on
|
|
1564
1564
|
title: DomainForward
|
|
1565
1565
|
type: object
|
|
1566
|
+
DomainForwardPatchOp:
|
|
1567
|
+
properties:
|
|
1568
|
+
op:
|
|
1569
|
+
$ref: '#/components/schemas/PatchOp'
|
|
1570
|
+
redirect:
|
|
1571
|
+
anyOf:
|
|
1572
|
+
- $ref: '#/components/schemas/HttpRedirect'
|
|
1573
|
+
- $ref: '#/components/schemas/HttpRedirectRemove'
|
|
1574
|
+
title: Redirect
|
|
1575
|
+
request_protocol:
|
|
1576
|
+
$ref: '#/components/schemas/HttpProtocol'
|
|
1577
|
+
zone_name:
|
|
1578
|
+
title: Zone Name
|
|
1579
|
+
type: string
|
|
1580
|
+
required:
|
|
1581
|
+
- op
|
|
1582
|
+
- zone_name
|
|
1583
|
+
- request_protocol
|
|
1584
|
+
- redirect
|
|
1585
|
+
title: DomainForwardPatchOp
|
|
1586
|
+
type: object
|
|
1587
|
+
DomainForwardPatchOps:
|
|
1588
|
+
properties:
|
|
1589
|
+
ops:
|
|
1590
|
+
items:
|
|
1591
|
+
$ref: '#/components/schemas/DomainForwardPatchOp'
|
|
1592
|
+
title: Ops
|
|
1593
|
+
type: array
|
|
1594
|
+
required:
|
|
1595
|
+
- ops
|
|
1596
|
+
title: DomainForwardPatchOps
|
|
1597
|
+
type: object
|
|
1598
|
+
DomainForwardProtocols:
|
|
1599
|
+
properties:
|
|
1600
|
+
http:
|
|
1601
|
+
anyOf:
|
|
1602
|
+
- $ref: '#/components/schemas/ProtocolRedirects'
|
|
1603
|
+
- type: 'null'
|
|
1604
|
+
https:
|
|
1605
|
+
anyOf:
|
|
1606
|
+
- $ref: '#/components/schemas/ProtocolRedirects'
|
|
1607
|
+
- type: 'null'
|
|
1608
|
+
title: DomainForwardProtocols
|
|
1609
|
+
type: object
|
|
1566
1610
|
DomainForwardRequest:
|
|
1567
1611
|
properties:
|
|
1568
1612
|
redirects:
|
|
@@ -1571,13 +1615,33 @@ components:
|
|
|
1571
1615
|
title: Redirects
|
|
1572
1616
|
type: array
|
|
1573
1617
|
wildcard:
|
|
1618
|
+
default: false
|
|
1574
1619
|
title: Wildcard
|
|
1575
1620
|
type: boolean
|
|
1576
1621
|
required:
|
|
1577
|
-
- wildcard
|
|
1578
1622
|
- redirects
|
|
1579
1623
|
title: DomainForwardRequest
|
|
1580
1624
|
type: object
|
|
1625
|
+
DomainForwardZone:
|
|
1626
|
+
properties:
|
|
1627
|
+
enabled:
|
|
1628
|
+
title: Enabled
|
|
1629
|
+
type: boolean
|
|
1630
|
+
protocols:
|
|
1631
|
+
$ref: '#/components/schemas/DomainForwardProtocols'
|
|
1632
|
+
wildcard:
|
|
1633
|
+
title: Wildcard
|
|
1634
|
+
type: boolean
|
|
1635
|
+
zone_name:
|
|
1636
|
+
title: Zone Name
|
|
1637
|
+
type: string
|
|
1638
|
+
required:
|
|
1639
|
+
- zone_name
|
|
1640
|
+
- wildcard
|
|
1641
|
+
- enabled
|
|
1642
|
+
- protocols
|
|
1643
|
+
title: DomainForwardZone
|
|
1644
|
+
type: object
|
|
1581
1645
|
DomainLifecycleBase:
|
|
1582
1646
|
properties:
|
|
1583
1647
|
add_grace_period:
|
|
@@ -2545,6 +2609,20 @@ components:
|
|
|
2545
2609
|
- redirect_code
|
|
2546
2610
|
title: HttpRedirect
|
|
2547
2611
|
type: object
|
|
2612
|
+
HttpRedirectRemove:
|
|
2613
|
+
properties:
|
|
2614
|
+
request_path:
|
|
2615
|
+
title: Request Path
|
|
2616
|
+
type: string
|
|
2617
|
+
request_subdomain:
|
|
2618
|
+
anyOf:
|
|
2619
|
+
- type: string
|
|
2620
|
+
- type: 'null'
|
|
2621
|
+
title: Request Subdomain
|
|
2622
|
+
required:
|
|
2623
|
+
- request_path
|
|
2624
|
+
title: HttpRedirectRemove
|
|
2625
|
+
type: object
|
|
2548
2626
|
IdnBase:
|
|
2549
2627
|
properties:
|
|
2550
2628
|
idn_capable:
|
|
@@ -3628,6 +3706,20 @@ components:
|
|
|
3628
3706
|
- pagination
|
|
3629
3707
|
title: Pagination[DnsZoneResponse]
|
|
3630
3708
|
type: object
|
|
3709
|
+
Pagination_DomainForwardZone_:
|
|
3710
|
+
properties:
|
|
3711
|
+
pagination:
|
|
3712
|
+
$ref: '#/components/schemas/PaginationMetadata'
|
|
3713
|
+
results:
|
|
3714
|
+
items:
|
|
3715
|
+
$ref: '#/components/schemas/DomainForwardZone'
|
|
3716
|
+
title: Results
|
|
3717
|
+
type: array
|
|
3718
|
+
required:
|
|
3719
|
+
- results
|
|
3720
|
+
- pagination
|
|
3721
|
+
title: Pagination[DomainForwardZone]
|
|
3722
|
+
type: object
|
|
3631
3723
|
Pagination_DomainResponse_:
|
|
3632
3724
|
properties:
|
|
3633
3725
|
pagination:
|
|
@@ -3922,6 +4014,17 @@ components:
|
|
|
3922
4014
|
- status
|
|
3923
4015
|
title: Problem
|
|
3924
4016
|
type: object
|
|
4017
|
+
ProtocolRedirects:
|
|
4018
|
+
properties:
|
|
4019
|
+
redirects:
|
|
4020
|
+
items:
|
|
4021
|
+
$ref: '#/components/schemas/HttpRedirect'
|
|
4022
|
+
title: Redirects
|
|
4023
|
+
type: array
|
|
4024
|
+
required:
|
|
4025
|
+
- redirects
|
|
4026
|
+
title: ProtocolRedirects
|
|
4027
|
+
type: object
|
|
3925
4028
|
PublicAuthRequestForm:
|
|
3926
4029
|
properties:
|
|
3927
4030
|
client_id:
|
|
@@ -5005,7 +5108,7 @@ info:
|
|
|
5005
5108
|
'
|
|
5006
5109
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5007
5110
|
title: OpusDNS API
|
|
5008
|
-
version: 2025-10-
|
|
5111
|
+
version: 2025-10-31-165358
|
|
5009
5112
|
x-logo:
|
|
5010
5113
|
altText: OpusDNS API Reference
|
|
5011
5114
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -6483,6 +6586,159 @@ paths:
|
|
|
6483
6586
|
summary: Update Zone Rrsets
|
|
6484
6587
|
tags:
|
|
6485
6588
|
- dns
|
|
6589
|
+
/v1/domain-forwards:
|
|
6590
|
+
get:
|
|
6591
|
+
operationId: list_domain_forwards_v1_domain_forwards_get
|
|
6592
|
+
parameters:
|
|
6593
|
+
- in: query
|
|
6594
|
+
name: sort_by
|
|
6595
|
+
required: false
|
|
6596
|
+
schema:
|
|
6597
|
+
$ref: '#/components/schemas/ZoneSortField'
|
|
6598
|
+
default: created_on
|
|
6599
|
+
- in: query
|
|
6600
|
+
name: sort_order
|
|
6601
|
+
required: false
|
|
6602
|
+
schema:
|
|
6603
|
+
$ref: '#/components/schemas/SortOrder'
|
|
6604
|
+
default: desc
|
|
6605
|
+
- in: query
|
|
6606
|
+
name: dnssec_status
|
|
6607
|
+
required: false
|
|
6608
|
+
schema:
|
|
6609
|
+
anyOf:
|
|
6610
|
+
- $ref: '#/components/schemas/DnssecStatus'
|
|
6611
|
+
- type: 'null'
|
|
6612
|
+
title: Dnssec Status
|
|
6613
|
+
- in: query
|
|
6614
|
+
name: name
|
|
6615
|
+
required: false
|
|
6616
|
+
schema:
|
|
6617
|
+
anyOf:
|
|
6618
|
+
- type: string
|
|
6619
|
+
- type: 'null'
|
|
6620
|
+
title: Name
|
|
6621
|
+
- in: query
|
|
6622
|
+
name: search
|
|
6623
|
+
required: false
|
|
6624
|
+
schema:
|
|
6625
|
+
anyOf:
|
|
6626
|
+
- type: string
|
|
6627
|
+
- type: 'null'
|
|
6628
|
+
title: Search
|
|
6629
|
+
- in: query
|
|
6630
|
+
name: suffix
|
|
6631
|
+
required: false
|
|
6632
|
+
schema:
|
|
6633
|
+
anyOf:
|
|
6634
|
+
- type: string
|
|
6635
|
+
- type: 'null'
|
|
6636
|
+
title: Suffix
|
|
6637
|
+
- in: query
|
|
6638
|
+
name: created_after
|
|
6639
|
+
required: false
|
|
6640
|
+
schema:
|
|
6641
|
+
anyOf:
|
|
6642
|
+
- format: date-time
|
|
6643
|
+
type: string
|
|
6644
|
+
- type: 'null'
|
|
6645
|
+
title: Created After
|
|
6646
|
+
- in: query
|
|
6647
|
+
name: created_before
|
|
6648
|
+
required: false
|
|
6649
|
+
schema:
|
|
6650
|
+
anyOf:
|
|
6651
|
+
- format: date-time
|
|
6652
|
+
type: string
|
|
6653
|
+
- type: 'null'
|
|
6654
|
+
title: Created Before
|
|
6655
|
+
- in: query
|
|
6656
|
+
name: updated_after
|
|
6657
|
+
required: false
|
|
6658
|
+
schema:
|
|
6659
|
+
anyOf:
|
|
6660
|
+
- format: date-time
|
|
6661
|
+
type: string
|
|
6662
|
+
- type: 'null'
|
|
6663
|
+
title: Updated After
|
|
6664
|
+
- in: query
|
|
6665
|
+
name: updated_before
|
|
6666
|
+
required: false
|
|
6667
|
+
schema:
|
|
6668
|
+
anyOf:
|
|
6669
|
+
- format: date-time
|
|
6670
|
+
type: string
|
|
6671
|
+
- type: 'null'
|
|
6672
|
+
title: Updated Before
|
|
6673
|
+
- in: query
|
|
6674
|
+
name: page
|
|
6675
|
+
required: false
|
|
6676
|
+
schema:
|
|
6677
|
+
default: 1
|
|
6678
|
+
minimum: 1
|
|
6679
|
+
title: Page
|
|
6680
|
+
type: integer
|
|
6681
|
+
- in: query
|
|
6682
|
+
name: page_size
|
|
6683
|
+
required: false
|
|
6684
|
+
schema:
|
|
6685
|
+
default: 10
|
|
6686
|
+
maximum: 100
|
|
6687
|
+
minimum: 1
|
|
6688
|
+
title: Page Size
|
|
6689
|
+
type: integer
|
|
6690
|
+
responses:
|
|
6691
|
+
'200':
|
|
6692
|
+
content:
|
|
6693
|
+
application/json:
|
|
6694
|
+
schema:
|
|
6695
|
+
$ref: '#/components/schemas/Pagination_DomainForwardZone_'
|
|
6696
|
+
description: Successful Response
|
|
6697
|
+
'422':
|
|
6698
|
+
content:
|
|
6699
|
+
application/problem+json:
|
|
6700
|
+
schema:
|
|
6701
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
6702
|
+
description: Validation Error
|
|
6703
|
+
security:
|
|
6704
|
+
- OAuth2PasswordBearer: []
|
|
6705
|
+
summary: List Domain Forwards
|
|
6706
|
+
tags:
|
|
6707
|
+
- domain_forward
|
|
6708
|
+
patch:
|
|
6709
|
+
operationId: patch_redirects_v1_domain_forwards_patch
|
|
6710
|
+
requestBody:
|
|
6711
|
+
content:
|
|
6712
|
+
application/json:
|
|
6713
|
+
schema:
|
|
6714
|
+
$ref: '#/components/schemas/DomainForwardPatchOps'
|
|
6715
|
+
required: true
|
|
6716
|
+
responses:
|
|
6717
|
+
'204':
|
|
6718
|
+
description: Successful Response
|
|
6719
|
+
'404':
|
|
6720
|
+
content:
|
|
6721
|
+
application/problem+json:
|
|
6722
|
+
example:
|
|
6723
|
+
code: ERROR_DOMAIN_FORWARD_NOT_EXISTS
|
|
6724
|
+
detail: Domain forward not found
|
|
6725
|
+
status: 404
|
|
6726
|
+
title: Domain Forward Error
|
|
6727
|
+
type: domain-forward-not-found
|
|
6728
|
+
schema:
|
|
6729
|
+
$ref: '#/components/schemas/Problem'
|
|
6730
|
+
description: Not Found
|
|
6731
|
+
'422':
|
|
6732
|
+
content:
|
|
6733
|
+
application/problem+json:
|
|
6734
|
+
schema:
|
|
6735
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
6736
|
+
description: Validation Error
|
|
6737
|
+
security:
|
|
6738
|
+
- OAuth2PasswordBearer: []
|
|
6739
|
+
summary: Patch Redirects
|
|
6740
|
+
tags:
|
|
6741
|
+
- domain_forward
|
|
6486
6742
|
/v1/domain-forwards/{zone_name}/disable:
|
|
6487
6743
|
patch:
|
|
6488
6744
|
operationId: disable_domain_forward_v1_domain_forwards__zone_name__disable_patch
|
|
@@ -6521,13 +6777,24 @@ paths:
|
|
|
6521
6777
|
description: DNS zone name (trailing dot optional)
|
|
6522
6778
|
title: Zone Name
|
|
6523
6779
|
type: string
|
|
6524
|
-
-
|
|
6780
|
+
- description: Auto create zone if it doesn't exist
|
|
6781
|
+
in: query
|
|
6525
6782
|
name: auto_create_zone
|
|
6526
6783
|
required: false
|
|
6527
6784
|
schema:
|
|
6528
6785
|
default: false
|
|
6786
|
+
description: Auto create zone if it doesn't exist
|
|
6529
6787
|
title: Auto Create Zone
|
|
6530
6788
|
type: boolean
|
|
6789
|
+
- description: Wildcard domain forwarding
|
|
6790
|
+
in: query
|
|
6791
|
+
name: wildcard
|
|
6792
|
+
required: false
|
|
6793
|
+
schema:
|
|
6794
|
+
default: false
|
|
6795
|
+
description: Wildcard domain forwarding
|
|
6796
|
+
title: Wildcard
|
|
6797
|
+
type: boolean
|
|
6531
6798
|
responses:
|
|
6532
6799
|
'204':
|
|
6533
6800
|
description: Successful Response
|