|
1 | 1 | openapi: 3.0.1 |
2 | 2 | info: |
3 | | - version: 4.92.0 |
| 3 | + version: 4.93.0 |
4 | 4 |
|
5 | 5 | title: Linode API |
6 | 6 | description: | |
@@ -2985,6 +2985,61 @@ paths: |
2985 | 2985 | - lang: CLI |
2986 | 2986 | source: > |
2987 | 2987 | linode-cli domains delete 1234 |
| 2988 | + /domains/{domainId}/zone-file: |
| 2989 | + x-linode-cli-command: domains |
| 2990 | + parameters: |
| 2991 | + - name: domainId |
| 2992 | + in: path |
| 2993 | + description: ID of the Domain. |
| 2994 | + required: true |
| 2995 | + schema: |
| 2996 | + type: string |
| 2997 | + get: |
| 2998 | + x-linode-grant: read_only |
| 2999 | + tags: |
| 3000 | + - Domains |
| 3001 | + summary: Domain Zone File View |
| 3002 | + description: > |
| 3003 | + Returns the zone file for the last rendered zone for the specified domain. |
| 3004 | + operationId: getDomainZone |
| 3005 | + x-linode-cli-action: zone-file |
| 3006 | + security: |
| 3007 | + - personalAccessToken: [] |
| 3008 | + - oauth: |
| 3009 | + - domains:read_only |
| 3010 | + responses: |
| 3011 | + '200': |
| 3012 | + description: | |
| 3013 | + An array containing the lines of the domain zone file. |
| 3014 | + content: |
| 3015 | + application/json: |
| 3016 | + schema: |
| 3017 | + properties: |
| 3018 | + zone_file: |
| 3019 | + type: array |
| 3020 | + items: |
| 3021 | + type: string |
| 3022 | + example: |
| 3023 | + - "; example.com [123]" |
| 3024 | + - "$TTL 864000" |
| 3025 | + - "@ IN SOA ns1.linode.com. user.example.com. 2021000066 14400 14400 1209600 86400" |
| 3026 | + - "@ NS ns1.linode.com." |
| 3027 | + - "@ NS ns2.linode.com." |
| 3028 | + - "@ NS ns3.linode.com." |
| 3029 | + - "@ NS ns4.linode.com." |
| 3030 | + - "@ NS ns5.linode.com." |
| 3031 | + description: | |
| 3032 | + The lines of the zone file for the last rendered zone for this domain. |
| 3033 | + default: |
| 3034 | + $ref: '#/components/responses/ErrorResponse' |
| 3035 | + x-code-samples: |
| 3036 | + - lang: Shell |
| 3037 | + source: > |
| 3038 | + curl -H "Authorization: Bearer $TOKEN" \ |
| 3039 | + https://api.linode.com/v4/domains/123/zone-file |
| 3040 | + - lang: CLI |
| 3041 | + source: > |
| 3042 | + linode-cli domains zone-file 123 |
2988 | 3043 | /domains/import: |
2989 | 3044 | post: |
2990 | 3045 | x-linode-grant: read_write |
@@ -15998,11 +16053,6 @@ components: |
15998 | 16053 | $ref: '#/components/schemas/Disk/properties/label' |
15999 | 16054 | filesystem: |
16000 | 16055 | $ref: '#/components/schemas/Disk/properties/filesystem' |
16001 | | - read_only: |
16002 | | - type: boolean |
16003 | | - description: > |
16004 | | - If true, this Disk is read-only. |
16005 | | - example: false |
16006 | 16056 | image: |
16007 | 16057 | type: string |
16008 | 16058 | description: > |
@@ -17259,6 +17309,7 @@ components: |
17259 | 17309 | x-linode-cli-display: 6 |
17260 | 17310 | type: |
17261 | 17311 | type: string |
| 17312 | + x-linode-filterable: true |
17262 | 17313 | description: > |
17263 | 17314 | How the Image was created. "Manual" Images can be created at any time. |
17264 | 17315 | "Automatic" images are created automatically from a deleted Linode. |
@@ -17377,8 +17428,9 @@ components: |
17377 | 17428 | x-linode-cli-display: 6 |
17378 | 17429 | type: |
17379 | 17430 | type: string |
| 17431 | + x-linode-filterable: true |
17380 | 17432 | description: > |
17381 | | - How the Image was created. Manual Images can be created at any time. |
| 17433 | + How the Image was created. "Manual" Images can be created at any time. |
17382 | 17434 | "Automatic" Images are created automatically from a deleted Linode. |
17383 | 17435 | enum: |
17384 | 17436 | - manual |
@@ -18123,6 +18175,7 @@ components: |
18123 | 18175 | example: '2018-01-01T00:01:01' |
18124 | 18176 | readOnly: true |
18125 | 18177 | ipv4: |
| 18178 | + x-linode-filterable: true |
18126 | 18179 | type: array |
18127 | 18180 | format: ipv4 |
18128 | 18181 | items: |
@@ -19571,6 +19624,7 @@ components: |
19571 | 19624 | readOnly: true |
19572 | 19625 | x-linode-cli-display: 4 |
19573 | 19626 | ipv4: |
| 19627 | + x-linode-filterable: true |
19574 | 19628 | type: string |
19575 | 19629 | format: ip |
19576 | 19630 | description: > |
@@ -20978,6 +21032,14 @@ components: |
20978 | 21032 | label: Enter the DB password |
20979 | 21033 | name: DB_PASSWORD |
20980 | 21034 | example: hunter2 |
| 21035 | + mine: |
| 21036 | + type: boolean |
| 21037 | + x-linode-filterable: true |
| 21038 | + description: | |
| 21039 | + Returns `true` if this StackScript is owned by the account of the user making the request, and the user |
| 21040 | + making the request is unrestricted or has access to this StackScript. |
| 21041 | + readOnly: true |
| 21042 | + example: true |
20981 | 21043 | StatsDataAvailable: |
20982 | 21044 | type: object |
20983 | 21045 | description: > |
|
0 commit comments