Show zone version differences
GET https://{{host}}/config-dns/v2/zones/:zone/versions/diff?from={{from}}&to={{to}}
Displays the difference between any two versions of a zone, as specified in the query parameters.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | (Required) The base zone version ID. | |
to | string | (Required) The version ID to compare against the base version. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"diffs":{"recordSetDiffs":[{"fromValue":{"rdata":["192.0.2.73"],"ttl":100},"name":"www.example.com","operation":"DELETE","type":"A"}],"settingsDiffs":[{"fieldName":"comment","fromValue":"old comment","operation":"EDIT","toValue":"new comment"}]},"metadata":{"fromVersionId":"9a274847-11b6-4589-b445-33c2de5b1747","fromVersionLastModifiedDate":"2021-12-25T00:00:00Z","toVersionId":"a41df66e-fd52-4da6-b963-c92d3f7db4d3","toVersionLastModifiedDate":"2021-12-25T00:00:00Z"}}