Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/2 400
server: nginx
date: Fri, 05 Sep 2025 06:58:03 GMT
content-type: application/json; charset=utf-8
content-length: 120
x-ratelimit-limit: 2400
x-ratelimit-remaining: 2385
x-ratelimit-reset: 1757058040
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: 44ce10e5-04cc-4428-8473-55739ff6e37a
x-runtime: 0.109317
strict-transport-security: max-age=63072000

{"message":"Validation failed","errors":{"creates":[{"index":1,"message":"The SPF record type has been discontinued"}]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/2 400
server: nginx
date: Fri, 05 Sep 2025 06:50:48 GMT
content-type: application/json; charset=utf-8
content-length: 107
x-ratelimit-limit: 2400
x-ratelimit-remaining: 2390
x-ratelimit-reset: 1757058040
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: 254988cd-401b-4a32-b5d8-c25502573c9a
x-runtime: 0.105704
strict-transport-security: max-age=63072000

{"message":"Validation failed","errors":{"deletes":[{"index":0,"message":"Record not found ID=67622509"}]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/2 400
server: nginx
date: Fri, 05 Sep 2025 06:52:30 GMT
content-type: application/json; charset=utf-8
content-length: 107
x-ratelimit-limit: 2400
x-ratelimit-remaining: 2388
x-ratelimit-reset: 1757058040
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: e042a192-69de-46b5-9ea0-add647a9b20a
x-runtime: 0.170298
strict-transport-security: max-age=63072000

{"message":"Validation failed","errors":{"updates":[{"index":0,"message":"Record not found ID=99999999"}]}}
16 changes: 16 additions & 0 deletions src/test/resources/com/dnsimple/bulkEditZone/success.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HTTP/2 200
server: nginx
date: Fri, 05 Sep 2025 05:25:01 GMT
content-type: application/json; charset=utf-8
content-length: 1082
x-ratelimit-limit: 2400
x-ratelimit-remaining: 2399
x-ratelimit-reset: 1757053501
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
etag: W/"0d9f98e87eccabb6c8045c7fd0b61e5e"
cache-control: max-age=0, private, must-revalidate
x-request-id: f331c43b-7f06-4b1f-90a1-e88efee10c1c
x-runtime: 0.334890
strict-transport-security: max-age=63072000

{"data":{"creates":[{"id":67623409,"zone_id":"example.com","parent_id":null,"name":"ab","content":"3.2.3.4","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T05:25:00Z","updated_at":"2025-09-05T05:25:00Z"},{"id":67623410,"zone_id":"example.com","parent_id":null,"name":"ab","content":"4.2.3.4","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T05:25:00Z","updated_at":"2025-09-05T05:25:00Z"}],"updates":[{"id":67622534,"zone_id":"example.com","parent_id":null,"name":"update1-1757049890","content":"3.2.3.40","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T04:40:15Z","updated_at":"2025-09-05T05:25:00Z"},{"id":67622537,"zone_id":"example.com","parent_id":null,"name":"update2-1757049890","content":"5.2.3.40","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T04:40:22Z","updated_at":"2025-09-05T05:25:00Z"}],"deletes":[{"id":67622509},{"id":67622527}]}}