mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: update links of liara provider API doc (#2424)
This commit is contained in:
parent
4349dfc5eb
commit
4552d03a4d
3 changed files with 3 additions and 3 deletions
2
docs/content/dns/zz_gen_liara.md
generated
2
docs/content/dns/zz_gen_liara.md
generated
|
|
@ -60,7 +60,7 @@ More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
|||
|
||||
## More information
|
||||
|
||||
- [API documentation](https://dns-service.iran.liara.ir/swagger)
|
||||
- [API documentation](https://openapi.liara.ir/?urls.primaryName=DNS)
|
||||
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
<!-- providers/dns/liara/liara.toml -->
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ func NewClient(hc *http.Client) *Client {
|
|||
}
|
||||
|
||||
// GetRecords gets the records of a domain.
|
||||
// https://dns-service.iran.liara.ir/swagger
|
||||
// https://openapi.liara.ir/?urls.primaryName=DNS
|
||||
func (c Client) GetRecords(ctx context.Context, domainName string) ([]Record, error) {
|
||||
endpoint := c.baseURL.JoinPath("api", "v1", "zones", domainName, "dns-records")
|
||||
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ lego --email you@example.com --dns liara -d '*.example.com' -d example.com run
|
|||
LIARA_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"
|
||||
|
||||
[Links]
|
||||
API = "https://dns-service.iran.liara.ir/swagger"
|
||||
API = "https://openapi.liara.ir/?urls.primaryName=DNS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue