public.domains.changes
const url = 'https://rest.watchtower15.com/v1/domains/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/changes?type=dns&include_total=true';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://rest.watchtower15.com/v1/domains/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/changes?type=dns&include_total=true' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”DomainsChangesResource
object
The scans that changed something. A row’s changes maps each changed field to {old, new} (a baseline lists every non-empty field with old null) and is null when there is nothing to show. Its values are the stored normalised strings (an SSL instant as its text, a list as its stored text): the one exception to epoch milliseconds.
object
object
The whole list’s size; present only with include_total=true.
Example generated
{ "data": [ { "uuid": "example", "completed_at": 1, "is_baseline": true, "changes": "example", "has_changes": true, "records": { "a": [ "example" ], "aaaa": [ "example" ], "mx": [ "example" ], "txt": [ "example" ], "cname": [ "example" ], "ns": [ "example" ], "soa": [ "example" ], "caa": [ "example" ] }, "registrar": "example", "registration_date": "example", "expiry_date": "example", "updated_date": "example", "days_until_expiry": 1, "is_expired": true, "nameservers": [ "example" ], "status_codes": [ "example" ], "common_name": "example", "issuer_cn": "example", "issuer_org": "example", "valid_from": 1, "valid_until": 1, "is_self_signed": true, "chain_valid": true } ], "next_cursor": "example", "total": 1}The API key is missing, malformed, expired or revoked.
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}The key or its owner does not hold what the operation needs.
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}No such record in this organisation (an absent id and another organisation’s answer alike).
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}The request is invalid; errors names the parameters.
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}A rate limit or the organisation’s daily limit is reached; Retry-After says when to retry.
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}An unexpected error.
object
https://docs.watchtower15.com/api/errors/<code>/
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "detail": "example", "request_id": "example", "errors": { "additionalProperty": [ "example" ] }, "limit": 1, "used": 1}