@@ -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: |
@@ -2653,7 +2657,8 @@ paths:
2653
2657
"status": "active",
2654
2658
"master_ips": ["127.0.0.1","255.255.255.1","123.123.123.7"],
2655
2659
"axfr_ips": ["44.55.66.77"],
2656
- "display_group": "Example Display Group"
2660
+ "group": "Example Display Group",
2661
+ "tags": ["tag1","tag2"]
2657
2662
}' \
2658
2663
https://api.linode.com/v4/domains
2659
2664
- lang: CLI
@@ -2750,7 +2755,8 @@ paths:
2750
2755
"status": "active",
2751
2756
"master_ips": ["127.0.0.1","255.255.255.1","123.123.123.7"],
2752
2757
"axfr_ips": ["44.55.66.77"],
2753
- "display_group": "Example Display Group"
2758
+ "group": "Example Display Group",
2759
+ "tags": ["tag1","tag2"]
2754
2760
}' \
2755
2761
https://api.linode.com/v4/domains/123
2756
2762
- lang: CLI
@@ -15771,10 +15777,6 @@ components:
15771
15777
A domain zonefile in our DNS system. You must own the domain name and
15772
15778
tell your registrar to use Linode's nameservers in order for a domain
15773
15779
in our system to be treated as authoritative.
15774
- required:
15775
- - id
15776
- - domain
15777
- - type
15778
15780
properties:
15779
15781
id:
15780
15782
type: integer
@@ -15795,6 +15797,8 @@ components:
15795
15797
domain:
15796
15798
type: string
15797
15799
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+\.?)
15800
+ minLength: 1
15801
+ maxLength: 255
15798
15802
description: >
15799
15803
The domain this Domain represents. Domain labels cannot be longer than
15800
15804
63 characters and must conform to [RFC1035](https://tools.ietf.org/html/rfc1035).
@@ -15818,6 +15822,7 @@ components:
15818
15822
enum:
15819
15823
- disabled
15820
15824
- active
15825
+ default: active
15821
15826
description: >
15822
15827
Used to control whether this Domain is currently being rendered.
15823
15828
example: active
@@ -15844,11 +15849,16 @@ components:
15844
15849
x-linode-cli-display: 5
15845
15850
retry_sec:
15846
15851
type: integer
15847
- description: >
15852
+ default: 0
15853
+ description: |
15848
15854
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.
15855
+
15856
+ * Valid values are
15857
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15858
+
15859
+ * Any other value is rounded up to the nearest valid value.
15860
+
15861
+ * A value of 0 is equivalent to the default value of 14400.
15852
15862
example: 300
15853
15863
master_ips:
15854
15864
type: array
@@ -15871,34 +15881,44 @@ components:
15871
15881
example: []
15872
15882
expire_sec:
15873
15883
type: integer
15874
- description: >
15884
+ default: 0
15885
+ description: |
15875
15886
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.
15887
+ authoritative.
15888
+
15889
+ * Valid values are
15890
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15891
+
15892
+ * Any other value is rounded up to the nearest valid value.
15893
+
15894
+ * A value of 0 is equivalent to the default value of 1209600.
15880
15895
example: 300
15881
15896
refresh_sec:
15882
15897
type: integer
15883
- description: >
15898
+ default: 0
15899
+ description: |
15884
15900
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.
15901
+
15902
+ * Valid values are
15903
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15904
+
15905
+ * Any other value is rounded up to the nearest valid value.
15906
+
15907
+ * A value of 0 is equivalent to the default value of 14400.
15888
15908
example: 300
15889
15909
ttl_sec:
15890
15910
type: integer
15911
+ default: 0
15891
15912
description: >
15892
15913
"Time to Live" - the amount of time in seconds that this Domain's
15893
15914
records may be cached by resolvers or other domain servers.
15894
15915
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.
15916
+ * Valid values are
15917
+ 0, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200.
15898
15918
15899
- * ttl_sec will default to 0 if no value is provided .
15919
+ * Any other value is rounded up to the nearest valid value .
15900
15920
15901
- * A value of 0 is equivalent to a value of 86400.
15921
+ * A value of 0 is equivalent to the default value of 86400.
15902
15922
example: 300
15903
15923
tags:
15904
15924
x-linode-filterable: true
0 commit comments