-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1111 from isomerpages/release/0.62.0
Release/0.62.0
- Loading branch information
Showing
12 changed files
with
215 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,12 +35,18 @@ paths: | |
description: The contact email address for this DNS record. | ||
record: | ||
$ref: "#/components/schemas/DNSRecord" | ||
rootDomain: | ||
type: string | ||
description: The root domain associated with this DNS record. | ||
example: "example.com" | ||
example: | ||
email: "[email protected]" | ||
record: | ||
type: "A" | ||
name: "example.com" | ||
content: "192.168.1.1" | ||
rootDomain: "example.com" | ||
|
||
responses: | ||
"201": | ||
description: DNS record successfully added. | ||
|
@@ -74,6 +80,81 @@ paths: | |
message: | ||
type: string | ||
example: "Internal server error." | ||
put: | ||
summary: Update a DNS record | ||
description: Update an existing DNS record in the DNS management system. | ||
security: | ||
- ApiKeyAuth: [] | ||
parameters: | ||
- in: header | ||
name: X-API-KEY | ||
required: true | ||
schema: | ||
type: string | ||
description: API key required to authorize requests. | ||
example: "1234567890abcdef" | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
required: | ||
- record | ||
properties: | ||
email: | ||
type: string | ||
format: email | ||
description: The contact email address for this DNS record. | ||
record: | ||
$ref: "#/components/schemas/DNSRecord" | ||
rootDomain: | ||
type: string | ||
description: The root domain associated with this DNS record. | ||
example: "example.com" | ||
example: | ||
email: "[email protected]" | ||
record: | ||
type: "A" | ||
name: "example.com" | ||
content: "192.168.1.1" | ||
rootDomain: "example.com" | ||
responses: | ||
"200": | ||
description: DNS record successfully updated. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "DNS record updated successfully." | ||
"401": | ||
description: Unauthorized. | ||
"400": | ||
description: Invalid request data. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Invalid data provided." | ||
"404": | ||
description: DNS record not found. | ||
"500": | ||
description: Server error. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Internal server error." | ||
get: | ||
summary: Retrieve DNS records | ||
description: Get a list of DNS records for a specified name. | ||
|
@@ -128,6 +209,19 @@ paths: | |
"DS", | ||
] | ||
description: The type of the DNS record to be deleted. | ||
- in: query | ||
name: rootDomain | ||
required: false | ||
schema: | ||
type: string | ||
description: The root domain associated with the DNS record to be deleted. | ||
- in: query | ||
name: email | ||
required: true | ||
schema: | ||
type: string | ||
format: email | ||
description: The contact email address associated with the DNS record to be deleted. | ||
responses: | ||
"200": | ||
description: DNS record successfully deleted. | ||
|
@@ -227,4 +321,4 @@ components: | |
description: An 8-bit integer representing the type of the digest. | ||
digest: | ||
type: string | ||
description: The digest value, encoded in Base64. | ||
description: The digest value, encoded in Base64. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.