Retrieving unpublished zone changes using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
NOTE: The changes identified in the Zone ChangeSet last only as long as your current session, unless they are published.
Understanding How The API Works »
REST Syntax | Associated API Topics |
SOAP Syntax | Delete Zone ChangeSet (API) |
REST Syntax
Click to view all REST Resources | |
ZoneChanges/ GET — Retrieves changes to the specified zone that have been created during the current session, but are not yet published to the zone. HTTP Action — GET URI — https://api.dynect.net/REST/ZoneChanges/<zone> |
|
Arguments:
No Arguments. |
|
NOTE: Each response will contain the basic structure for all record types, but only the record type designated by the rdata_type field content. |
|
Response — Click for More Info
|
SOAP Syntax
Click to view all SOAP Commands | |
GetZoneChangeSet — Retrieves changes to the specified zone that have been created during the current session, but are not yet published to the zone. |
|
Arguments:
string string |
|
NOTE: Each response will contain the basic structure for all record types, but only the record type designated by the rdata_type field content. |
|
Response — Click for More Info
Click for Individual rdata Records |
|
Example Request — Click for More Info
{ 'token' => 'asdlkfjasl23j4879afa', 'zone' => 'example.com', } |