List Custom Hostnames·续1
<details>
<summary>
source: optional object {pointer }
</summary>
pointer: optional string
<a href="#(resource)%20custom_hostnames%20%3E%20(method)%20list%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(method)%20list%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20source">Link to this property</a>
</details>
messages: array of string
Informational messages returned by the custom hostname API.
success: true
Whether the API call was successful.
<details>
<summary>
result: optional array of object {id, hostname, created_at, 8 more }
</summary>
id: string
Custom hostname identifier tag.
maxLength36
minLength36
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>
hostname: string
The custom hostname that will point to your hostname via CNAME.
maxLength255
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>
created_at: optional string
This is the time the hostname was created.
formatdate-time
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>
custom_metadata: optional map[string]
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_metadata">Link to this property</a>
custom_origin_server: optional string
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_origin_server">Link to this property</a>
custom_origin_sni: optional string
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ‘:request_host_header:’ which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_origin_sni">Link to this property</a>
<details>
<summary>
ownership_verification: optional object {name, type, value }
This is a record which can be placed to activate a hostname.
</summary>
name: optional string
DNS Name for record.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification%20%3E%20(property)%20name">Link to this property</a>
type: optional "txt"
DNS Record type.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification%20%3E%20(property)%20type">Link to this property</a>
value: optional string
Content for the record.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification%20%3E%20(property)%20value">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification">Link to this property</a>
<details>
<summary>
ownership_verification_http: optional object {http_body, http_url }
This presents the token to be served by the given http url to activate a hostname.
</summary>
http_body: optional string
Token to be served.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification_http%20%3E%20(property)%20http_body">Link to this property</a>
http_url: optional string
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification_http%20%3E%20(property)%20http_url">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ownership_verification_http">Link to this property</a>
<details>
<summary>
ssl: optional object {id, bundle_method, certificate_authority, 17 more }
</summary>
id: optional string
Custom hostname SSL identifier tag.
maxLength36
minLength36
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20id">Link to this property</a>
<details>
<summary>
bundle_method: optional <a href="https://developers.cloudflare.com/api/resources/custom_hostnames#(resource)%20custom_hostnames%20%3E%20(model)%20bundle_method%20%3E%20(schema)">BundleMethod</a>
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.
</summary>
One of the following:
"ubiquitous"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20bundle_method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20bundle_method%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>
"optimal"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20bundle_method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20bundle_method%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>
"force"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20bundle_method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20bundle_method%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20bundle_method">Link to this property</a>
<details>
<summary>
certificate_authority: optional <a href="https://developers.cloudflare.com/api/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)">CertificateCA</a>
The Certificate Authority that will issue the certificate.
</summary>
One of the following:
"digicert"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20certificate_authority%20%2B%20(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>
"google"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20certificate_authority%20%2B%20(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>
"lets_encrypt"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20certificate_authority%20%2B%20(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>
"ssl_com"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20certificate_authority%20%2B%20(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20certificate_authority">Link to this property</a>
custom_certificate: optional string
If a custom uploaded certificate is used.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20custom_certificate">Link to this property</a>
custom_csr_id: optional string
The identifier for the Custom CSR that was used.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20custom_csr_id">Link to this property</a>
custom_key: optional string
The key for a custom uploaded certificate.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20custom_key">Link to this property</a>
<details>
<summary>
dcv_delegation_records: optional array of object {cname, cname_target, emails, 5 more }
DCV Delegation records for domain validation.
</summary>
cname: optional string
The CNAME record hostname for DCV delegation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20cname">Link to this property</a>
cname_target: optional string
The CNAME record target value for DCV delegation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20cname_target">Link to this property</a>
emails: optional array of string
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20emails">Link to this property</a>
http_body: optional string
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20http_body">Link to this property</a>
http_url: optional string
The url that will be checked during domain validation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20http_url">Link to this property</a>
status: optional string
Status of the validation record.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>
txt_name: optional string
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20txt_name">Link to this property</a>
txt_value: optional string
The TXT record that the certificate authority (CA) will check during domain validation.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20txt_value">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20dcv_delegation_records">Link to this property</a>
expires_on: optional string
The time the custom certificate expires on.
formatdate-time
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20expires_on">Link to this property</a>
hosts: optional array of string
A list of Hostnames on a custom uploaded certificate.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20hosts">Link to this property</a>
issuer: optional string
The issuer on a custom uploaded certificate.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20issuer">Link to this property</a>
<details>
<summary>
method: optional <a href="https://developers.cloudflare.com/api/resources/custom_hostnames#(resource)%20custom_hostnames%20%3E%20(model)%20dcv_method%20%3E%20(schema)">DCVMethod</a>
Domain control validation (DCV) method used for this hostname.
</summary>
One of the following:
"http"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20dcv_method%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>
"txt"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20dcv_method%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>
"email"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20method%20%2B%20(resource)%20custom_hostnames%20%3E%20(model)%20dcv_method%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>
</details>
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20method">Link to this property</a>
serial_number: optional string
The serial number on a custom uploaded certificate.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20serial_number">Link to this property</a>
<details>
<summary>
settings: optional object {ciphers, early_hints, http2, 2 more }
</summary>
ciphers: optional array of string
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20settings%20%3E%20(property)%20ciphers">Link to this property</a>
<details>
<summary>
early_hints: optional "on"or "off"
Whether or not Early Hints is enabled.
</summary>
One of the following:
"on"
<a href="#(resource)%20custom_hostnames%20%3E%20(model)%20custom_hostname_list_response%20%3E%20(schema)%20%3E%20(property)%20ssl%20%3E%20(property)%20settings%20%3E%20(property)%20early_hints%20%3E%20(member)%200">Link to this property</a>
