-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 #6093 from acmesh-official/dev
sync
- Loading branch information
Showing
7 changed files
with
49 additions
and
45 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
#!/usr/bin/env sh | ||
# shellcheck disable=SC2034 | ||
dns_myapi_info='omg.lol | ||
Based on the omg.lol API, defined at https://api.omg.lol/ | ||
Domains: omg.lol | ||
Site: github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide | ||
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_duckdns | ||
dns_omglol_info='omg.lol | ||
Site: omg.lol | ||
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_omglol | ||
Options: | ||
OMG_ApiKey API Key from omg.lol. This is accesible from the bottom of the account page at https://home.omg.lol/account | ||
OMG_ApiKey API Key from omg.lol. This is accessible from the bottom of the account page at https://home.omg.lol/account | ||
OMG_Address This is your omg.lol address, without the preceding @ - you can see your list on your dashboard at https://home.omg.lol/dashboard | ||
Issues: github.com/acmesh-official/acme.sh | ||
Issues: github.com/acmesh-official/acme.sh/issues/5299 | ||
Author: @Kholin <[email protected]> | ||
' | ||
|
||
#returns 0 means success, otherwise error. | ||
# See API Docs https://api.omg.lol/ | ||
|
||
######## Public functions ##################### | ||
|
||
# Please Read this guide first: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide | ||
|
||
#Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" | ||
dns_omglol_add() { | ||
fulldomain=$1 | ||
|
@@ -244,8 +240,8 @@ omg_delete() { | |
omg_validate_delete "$output" | ||
} | ||
|
||
# Validate the response on request to delete. Confirm stastus is success and | ||
# Message indicates deletion was successful | ||
# Validate the response on request to delete. | ||
# Confirm status is success and message indicates deletion was successful. | ||
# Input: Response - HTTP response received from delete request | ||
omg_validate_delete() { | ||
response=$1 | ||
|
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