API reference · DNS
Read what publication last established for the zone
GET
/v1/orgs/{org}/zones/{zone}/dns/publication- Permission
dns.records.read- Operation
dns.publication.get
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Response 200
| Field | Type | Required | Notes |
|---|---|---|---|
state | string | yes | one of "confirmed", "pending", "failed", "unknown", "withdrawn" |
desiredSerial | integer | yes | 0 to ∞ |
confirmedSerial | integer or null | yes | |
lastAttemptAt | string (date-time) or null | yes | |
confirmedAt | string (date-time) or null | yes | |
nextAttemptAt | string (date-time) or null | yes | |
error | object or null | yes | |
error.code | string | yes | |
error.at | string (date-time) | yes | UTC, ISO 8601. |