API

AcmeDomain

The domains of an ACME subscription: list them or get one.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /acme/subscriptions/{subscription_id}/domains list OK
GET /acme/subscriptions/{subscription_id}/domains/{domain_id} load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

acme_domains, err := client.AcmeDomain(nil).List(map[string]any{"subscription_id": "example", "domain": "example", "sharing_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(acme_domains)
acme_domain, err := client.AcmeDomain(nil).Load(map[string]any{"domain_id": 1, "subscription_id": "example", "sharing_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(acme_domain)

Lua

Construct client as shown in the Lua setup, then call the operations:

local acme_domains, err = client:AcmeDomain():list({ subscription_id = "example", domain = "example", sharing_id = "example" })
local acme_domain, err = client:AcmeDomain():load({ domain_id = 1, subscription_id = "example", sharing_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$acme_domains = $client->AcmeDomain()->list(["subscription_id" => "example", "domain" => "example", "sharing_id" => "example"]);
$acme_domain = $client->AcmeDomain()->load(["domain_id" => 1, "subscription_id" => "example", "sharing_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

acme_domains = client.AcmeDomain().list({"subscription_id": "example", "domain": "example", "sharing_id": "example"})
acme_domain = client.AcmeDomain().load({"domain_id": 1, "subscription_id": "example", "sharing_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

acme_domains = client.AcmeDomain.list({ "subscription_id" => "example", "domain" => "example", "sharing_id" => "example" })
acme_domain = client.AcmeDomain.load({ "domain_id" => 1, "subscription_id" => "example", "sharing_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const acme_domains = await client.AcmeDomain().list({ subscription_id: "example", domain: "example", sharing_id: "example" })
const acme_domain = await client.AcmeDomain().load({ domain_id: 1, subscription_id: "example", sharing_id: "example" })

Fields

Field Type Required Description
created_at string Yes Created At
deleted_at string Yes Deleted At
hostname string Yes Hostname
hostname_ulabel string Yes Hostname Ulabel
is_wildcard boolean Yes Is Wildcard
status string Yes Status
subscription_id string Yes Subscription Id

list

GET /acme/subscriptions/{subscription_id}/domains

Operation ID: getAcmeSubscriptionsSubscriptionIdDomains.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
subscription_id path string Yes
domain query string Yes
sharing_id query string Yes

Responses

200: OK

application/json

Property Type Required Description
[].created_at string Yes
[].deleted_at string Yes
[].hostname string Yes
[].hostname_ulabel string Yes
[].is_wildcard string Yes
[].status string Yes
[].subscription_id string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

load

GET /acme/subscriptions/{subscription_id}/domains/{domain_id}

Operation ID: getAcmeSubscriptionsSubscriptionIdDomainsDomainId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
subscription_id path string Yes
domain_id path integer Yes
sharing_id query string Yes

Responses

200: OK

application/json

Property Type Required Description
created_at string Yes
deleted_at string Yes
hostname string Yes
hostname_ulabel string Yes
is_wildcard string Yes
status string Yes
subscription_id string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes