List custom domains of a status page
const url = 'https://api.perstat.io/status-pages/example/domains';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.perstat.io/status-pages/example/domains \ --header 'Authorization: Bearer <token>'Returns the custom domains configured for the status page with verification status, CNAME target, certificate state, and the last error if any. Requires project management rights. Accepts API keys with the status-pages:read scope, subject to current role and resource grants.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Request succeeded. The response body contains the result.
object
Vom Edge gemeldeter Cert-Status.
CNAME-Ziel, das der Kunde setzen soll.
true, sobald die Domain erfolgreich als VHost an die Edge gepusht wurde.
Eine verifizierte Domain mit edge_synced=false ist noch in Bereitstellung
(Edge-Push steht aus / wird vom Reconcile nachgezogen) und serviert noch nicht.
Public_id (spd_…).
pending | verified | failed.
cname | txt.
Wert für den TXT-Record _datargo-verify.<domain>.
Unix-Sekunden der Verifikation.
Examplegenerated
[ { "cert_status": "example", "cname_target": "example", "domain": "example", "edge_synced": true, "id": "example", "last_error": "example", "status": "example", "verification_method": "example", "verification_token": "example", "verified_at": 1 }]Authentication is missing or invalid.
The authenticated caller does not have permission to perform this operation.
No accessible resource matches the supplied identifier.