Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 69 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.92.0
version: 4.93.0

title: Linode API
description: |
Expand Down Expand Up @@ -2985,6 +2985,61 @@ paths:
- lang: CLI
source: >
linode-cli domains delete 1234
/domains/{domainId}/zone-file:
x-linode-cli-command: domains
parameters:
- name: domainId
in: path
description: ID of the Domain.
required: true
schema:
type: string
get:
x-linode-grant: read_only
tags:
- Domains
summary: Domain Zone File View
description: >
Returns the zone file for the last rendered zone for the specified domain.
operationId: getDomainZone
x-linode-cli-action: zone-file
security:
- personalAccessToken: []
- oauth:
- domains:read_only
responses:
'200':
description: |
An array containing the lines of the domain zone file.
content:
application/json:
schema:
properties:
zone_file:
type: array
items:
type: string
example:
- "; example.com [123]"
- "$TTL 864000"
- "@ IN SOA ns1.linode.com. user.example.com. 2021000066 14400 14400 1209600 86400"
- "@ NS ns1.linode.com."
- "@ NS ns2.linode.com."
- "@ NS ns3.linode.com."
- "@ NS ns4.linode.com."
- "@ NS ns5.linode.com."
description: |
The lines of the zone file for the last rendered zone for this domain.
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
- lang: Shell
source: >
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/domains/123/zone-file
- lang: CLI
source: >
linode-cli domains zone-file 123
/domains/import:
post:
x-linode-grant: read_write
Expand Down Expand Up @@ -15998,11 +16053,6 @@ components:
$ref: '#/components/schemas/Disk/properties/label'
filesystem:
$ref: '#/components/schemas/Disk/properties/filesystem'
read_only:
type: boolean
description: >
If true, this Disk is read-only.
example: false
image:
type: string
description: >
Expand Down Expand Up @@ -17259,6 +17309,7 @@ components:
x-linode-cli-display: 6
type:
type: string
x-linode-filterable: true
description: >
How the Image was created. "Manual" Images can be created at any time.
"Automatic" images are created automatically from a deleted Linode.
Expand Down Expand Up @@ -17377,8 +17428,9 @@ components:
x-linode-cli-display: 6
type:
type: string
x-linode-filterable: true
description: >
How the Image was created. Manual Images can be created at any time.
How the Image was created. "Manual" Images can be created at any time.
"Automatic" Images are created automatically from a deleted Linode.
enum:
- manual
Expand Down Expand Up @@ -18123,6 +18175,7 @@ components:
example: '2018-01-01T00:01:01'
readOnly: true
ipv4:
x-linode-filterable: true
type: array
format: ipv4
items:
Expand Down Expand Up @@ -19571,6 +19624,7 @@ components:
readOnly: true
x-linode-cli-display: 4
ipv4:
x-linode-filterable: true
type: string
format: ip
description: >
Expand Down Expand Up @@ -20978,6 +21032,14 @@ components:
label: Enter the DB password
name: DB_PASSWORD
example: hunter2
mine:
type: boolean
x-linode-filterable: true
description: |
Returns `true` if this StackScript is owned by the account of the user making the request, and the user
making the request is unrestricted or has access to this StackScript.
readOnly: true
example: true
StatsDataAvailable:
type: object
description: >
Expand Down