@@ -2625,7 +2625,11 @@ paths:
2625
2625
content:
2626
2626
application/json:
2627
2627
schema:
2628
- $ref: '#/components/schemas/Domain'
2628
+ required:
2629
+ - domain
2630
+ - type
2631
+ allOf:
2632
+ - $ref: '#/components/schemas/Domain'
2629
2633
responses:
2630
2634
'200':
2631
2635
description: |
@@ -2730,6 +2734,7 @@ paths:
2730
2734
content:
2731
2735
application/json:
2732
2736
schema:
2737
+ required: domain
2733
2738
$ref: '#/components/schemas/Domain'
2734
2739
default:
2735
2740
$ref: '#/components/responses/ErrorResponse'
@@ -15771,10 +15776,6 @@ components:
15771
15776
A domain zonefile in our DNS system. You must own the domain name and
15772
15777
tell your registrar to use Linode's nameservers in order for a domain
15773
15778
in our system to be treated as authoritative.
15774
- required:
15775
- - id
15776
- - domain
15777
- - type
15778
15779
properties:
15779
15780
id:
15780
15781
type: integer
@@ -15795,6 +15796,8 @@ components:
15795
15796
domain:
15796
15797
type: string
15797
15798
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+\.?)
15799
+ minLength: 1
15800
+ maxLength: 255
15798
15801
description: >
15799
15802
The domain this Domain represents. Domain labels cannot be longer than
15800
15803
63 characters and must conform to [RFC1035](https://tools.ietf.org/html/rfc1035).
@@ -15818,6 +15821,7 @@ components:
15818
15821
enum:
15819
15822
- disabled
15820
15823
- active
15824
+ default: active
15821
15825
description: >
15822
15826
Used to control whether this Domain is currently being rendered.
15823
15827
example: active
@@ -15844,11 +15848,16 @@ components:
15844
15848
x-linode-cli-display: 5
15845
15849
retry_sec:
15846
15850
type: integer
15847
- description: >
15851
+ default: "0"
15852
+ description: |
15848
15853
The interval, in seconds, at which a failed refresh should be retried.
15849
- Valid values are 300, 3600, 7200, 14400, 28800, 57600,
15850
- 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other
15851
- value will be rounded to the nearest valid value.
15854
+
15855
+ * Valid values are
15856
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15857
+
15858
+ * Any other value is rounded up to the nearest valid value.
15859
+
15860
+ * A value of 0 is equivalent to the default value of 14400.
15852
15861
example: 300
15853
15862
master_ips:
15854
15863
type: array
@@ -15871,34 +15880,44 @@ components:
15871
15880
example: []
15872
15881
expire_sec:
15873
15882
type: integer
15874
- description: >
15883
+ default: "0"
15884
+ description: |
15875
15885
The amount of time in seconds that may pass before this Domain is no longer
15876
- authoritative. Valid values are
15877
- 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600,
15878
- 604800, 1209600, and 2419200 - any other value will be rounded to
15879
- the nearest valid value.
15886
+ authoritative.
15887
+
15888
+ * Valid values are
15889
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15890
+
15891
+ * Any other value is rounded up to the nearest valid value.
15892
+
15893
+ * A value of 0 is equivalent to the default value of 1209600.
15880
15894
example: 300
15881
15895
refresh_sec:
15882
15896
type: integer
15883
- description: >
15897
+ default: "0"
15898
+ description: |
15884
15899
The amount of time in seconds before this Domain should be refreshed.
15885
- Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600,
15886
- 604800, 1209600, and 2419200 - any other value will be rounded to
15887
- the nearest valid value.
15900
+
15901
+ * Valid values are
15902
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15903
+
15904
+ * Any other value is rounded up to the nearest valid value.
15905
+
15906
+ * A value of 0 is equivalent to the default value of 14400.
15888
15907
example: 300
15889
15908
ttl_sec:
15890
15909
type: integer
15910
+ default: "0"
15891
15911
description: >
15892
15912
"Time to Live" - the amount of time in seconds that this Domain's
15893
15913
records may be cached by resolvers or other domain servers.
15894
15914
15895
- * Valid values are 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800,
15896
- 345600, 604800, 1209600, and 2419200 - any other value will be
15897
- rounded to the nearest valid value.
15915
+ * Valid values are
15916
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15898
15917
15899
- * ttl_sec will default to 0 if no value is provided .
15918
+ * Any other value is rounded up to the nearest valid value .
15900
15919
15901
- * A value of 0 is equivalent to a value of 86400.
15920
+ * A value of 0 is equivalent to the default value of 86400.
15902
15921
example: 300
15903
15922
tags:
15904
15923
x-linode-filterable: true
0 commit comments