diff --git a/tests/fixtures/v2/.gitattributes b/tests/fixtures/v2/.gitattributes new file mode 100644 index 00000000..424ce4c6 --- /dev/null +++ b/tests/fixtures/v2/.gitattributes @@ -0,0 +1,4 @@ +# Preserve line endings in HTTP fixture files +# These files contain raw HTTP requests/responses. Treat them as binary +# to prevent Git from converting line endings. +**/*.http binary diff --git a/tests/fixtures/v2/api/acceptPush/success.http b/tests/fixtures/v2/api/acceptPush/success.http index 99c949d6..fad29035 100644 --- a/tests/fixtures/v2/api/acceptPush/success.http +++ b/tests/fixtures/v2/api/acceptPush/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Thu, 11 Aug 2016 10:23:46 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1470913058 -Cache-Control: no-cache -X-Request-Id: 5867ab50-6237-4cf8-b220-51f5ef57debd -X-Runtime: 0.582482 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 11 Aug 2016 10:23:46 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1470913058 +cache-control: no-cache +x-request-id: 5867ab50-6237-4cf8-b220-51f5ef57debd +x-runtime: 0.582482 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/accounts/success-account.http b/tests/fixtures/v2/api/accounts/success-account.http index c15759ab..c3dc4dce 100644 --- a/tests/fixtures/v2/api/accounts/success-account.http +++ b/tests/fixtures/v2/api/accounts/success-account.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 14 Jun 2016 12:02:58 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1465908577 -ETag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f705b65b-3589-43ad-97ca-3b2821d49d81 -X-Runtime: 0.012661 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"}]} +HTTP/1.1 200 OK +server: nginx +date: Tue, 14 Jun 2016 12:02:58 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1465908577 +etag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" +cache-control: max-age=0, private, must-revalidate +x-request-id: f705b65b-3589-43ad-97ca-3b2821d49d81 +x-runtime: 0.012661 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"}]} diff --git a/tests/fixtures/v2/api/accounts/success-user.http b/tests/fixtures/v2/api/accounts/success-user.http index b53589ca..ee9fe42f 100644 --- a/tests/fixtures/v2/api/accounts/success-user.http +++ b/tests/fixtures/v2/api/accounts/success-user.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 14 Jun 2016 12:05:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2390 -X-RateLimit-Reset: 1465908577 -ETag: W/"b8dc5b6e94652da599d15d4668b723b5" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 745455ba-3871-440d-b703-1448b9708c14 -X-Runtime: 0.014727 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} - +HTTP/1.1 200 OK +server: nginx +date: Tue, 14 Jun 2016 12:05:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2390 +x-ratelimit-reset: 1465908577 +etag: W/"b8dc5b6e94652da599d15d4668b723b5" +cache-control: max-age=0, private, must-revalidate +x-request-id: 745455ba-3871-440d-b703-1448b9708c14 +x-runtime: 0.014727 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} + diff --git a/tests/fixtures/v2/api/activateZoneService/success.http b/tests/fixtures/v2/api/activateZoneService/success.http index 04f808da..0501999a 100644 --- a/tests/fixtures/v2/api/activateZoneService/success.http +++ b/tests/fixtures/v2/api/activateZoneService/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 08 Aug 2023 04:19:23 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1691471963 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -ETag: W/"fe6afd982459be33146933235343d51d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8e8ac535-9f46-4304-8440-8c68c30427c3 -X-Runtime: 0.176579 -Strict-Transport-Security: max-age=63072000 - -{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-07-06T11:19:48Z"}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 08 Aug 2023 04:19:23 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1691471963 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"fe6afd982459be33146933235343d51d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8e8ac535-9f46-4304-8440-8c68c30427c3 +x-runtime: 0.176579 +strict-transport-security: max-age=63072000 + +{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-07-06T11:19:48Z"}} diff --git a/tests/fixtures/v2/api/appliedServices/success.http b/tests/fixtures/v2/api/appliedServices/success.http index f6db2cd7..0a2f22e8 100644 --- a/tests/fixtures/v2/api/appliedServices/success.http +++ b/tests/fixtures/v2/api/appliedServices/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 15 Jun 2016 11:09:44 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1465992405 -ETag: W/"f3fb525524e0a0eab452025850afb062" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 03bcc2ff-d1f1-4fc2-bb3f-9218a21c04b7 -X-Runtime: 0.065526 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Wed, 15 Jun 2016 11:09:44 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1465992405 +etag: W/"f3fb525524e0a0eab452025850afb062" +cache-control: max-age=0, private, must-revalidate +x-request-id: 03bcc2ff-d1f1-4fc2-bb3f-9218a21c04b7 +x-runtime: 0.065526 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + {"data":[{"id":1,"name":"WordPress","sid":"wordpress","description":"Share with the world, your community, or your closest friends.","setup_description":null,"requires_setup":true,"default_subdomain":"blog","created_at":"2013-11-05T18:06:50Z","updated_at":"2016-03-04T09:23:27Z","settings":[{"name":"site","label":"Site","append":null,"description":"Your Wordpress.com subdomain","example":null,"password":false}]}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/applyService/success.http b/tests/fixtures/v2/api/applyService/success.http index 4c290234..bc03f89c 100644 --- a/tests/fixtures/v2/api/applyService/success.http +++ b/tests/fixtures/v2/api/applyService/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Sat, 09 Jul 2016 11:12:42 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1468066326 -Cache-Control: no-cache -X-Request-Id: 30a3a44b-5792-4114-a355-a866603311ce -X-Runtime: 0.087254 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Sat, 09 Jul 2016 11:12:42 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1468066326 +cache-control: no-cache +x-request-id: 30a3a44b-5792-4114-a355-a866603311ce +x-runtime: 0.087254 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/applyTemplate/success.http b/tests/fixtures/v2/api/applyTemplate/success.http index c6c7ac5d..a081bbd8 100644 --- a/tests/fixtures/v2/api/applyTemplate/success.http +++ b/tests/fixtures/v2/api/applyTemplate/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Thu, 24 Mar 2016 11:05:38 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1458821049 -Cache-Control: no-cache -X-Request-Id: 967713d5-a203-40ee-875c-1df07868b7eb -X-Runtime: 0.147576 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Thu, 24 Mar 2016 11:05:38 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1458821049 +cache-control: no-cache +x-request-id: 967713d5-a203-40ee-875c-1df07868b7eb +x-runtime: 0.147576 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/authorizeDomainTransferOut/success.http b/tests/fixtures/v2/api/authorizeDomainTransferOut/success.http index 1265fb3f..cd152895 100644 --- a/tests/fixtures/v2/api/authorizeDomainTransferOut/success.http +++ b/tests/fixtures/v2/api/authorizeDomainTransferOut/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Sun, 21 Feb 2016 13:40:35 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3990 -X-RateLimit-Reset: 1456063540 -Cache-Control: no-cache -X-Request-Id: 9af6ab78-7ea8-4675-89f0-14d124fc7ca2 -X-Runtime: 3.038699 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Sun, 21 Feb 2016 13:40:35 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3990 +x-ratelimit-reset: 1456063540 +cache-control: no-cache +x-request-id: 9af6ab78-7ea8-4675-89f0-14d124fc7ca2 +x-runtime: 3.038699 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/badgateway.http b/tests/fixtures/v2/api/badgateway.http index 73718bf4..733351c8 100644 --- a/tests/fixtures/v2/api/badgateway.http +++ b/tests/fixtures/v2/api/badgateway.http @@ -1,9 +1,9 @@ HTTP/1.1 502 Bad Gateway -Server: nginx -Date: Mon, 22 Dec 2014 14:16:12 GMT -Content-Type: text/html -Content-Length: 166 -Connection: close +server: nginx +date: Mon, 22 Dec 2014 14:16:12 GMT +content-type: text/html +content-length: 166 +connection: close 502 Bad Gateway diff --git a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_create_validation_failed.http b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_create_validation_failed.http index 94736fd5..63181173 100644 --- a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_create_validation_failed.http +++ b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_create_validation_failed.http @@ -1,16 +1,16 @@ -HTTP/1.1 400 Bad Request -Server: nginx -Date: Tue, 23 Sep 2025 10:21:06 GMT -Content-Type: application/json; charset=utf-8 -Content-Length: 137 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1758626142 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-cache -X-Request-Id: 22761da9-ad02-4970-add5-e26602b09bb5 -X-Runtime: 0.115194 -Strict-Transport-Security: max-age=63072000 - -{"message":"Validation failed","errors":{"creates":[{"index":0,"message":"Validation failed","errors":{"record_type":["unsupported"]}}]}} +HTTP/1.1 400 Bad Request +server: nginx +date: Tue, 23 Sep 2025 10:21:06 GMT +content-type: application/json; charset=utf-8 +content-length: 137 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1758626142 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: 22761da9-ad02-4970-add5-e26602b09bb5 +x-runtime: 0.115194 +strict-transport-security: max-age=63072000 + +{"message":"Validation failed","errors":{"creates":[{"index":0,"message":"Validation failed","errors":{"record_type":["unsupported"]}}]}} diff --git a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_delete_validation_failed.http b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_delete_validation_failed.http index 195992d3..3fccb266 100644 --- a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_delete_validation_failed.http +++ b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_delete_validation_failed.http @@ -3,9 +3,9 @@ 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-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 diff --git a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_update_validation_failed.http b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_update_validation_failed.http index 3226a8f1..359e17d4 100644 --- a/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_update_validation_failed.http +++ b/tests/fixtures/v2/api/batchChangeZoneRecords/error_400_update_validation_failed.http @@ -3,9 +3,9 @@ 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-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 diff --git a/tests/fixtures/v2/api/batchChangeZoneRecords/success.http b/tests/fixtures/v2/api/batchChangeZoneRecords/success.http index 1634cfca..fc6b5055 100644 --- a/tests/fixtures/v2/api/batchChangeZoneRecords/success.http +++ b/tests/fixtures/v2/api/batchChangeZoneRecords/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -server: nginx -date: Fri, 05 Sep 2025 05:25:01 GMT -content-type: application/json; charset=utf-8 -content-length: 1080 -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}]}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 05 Sep 2025 05:25:01 GMT +content-type: application/json; charset=utf-8 +content-length: 1080 +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}]}} diff --git a/tests/fixtures/v2/api/cancelDomainTransfer/success.http b/tests/fixtures/v2/api/cancelDomainTransfer/success.http index 566bf1fc..74e638b4 100644 --- a/tests/fixtures/v2/api/cancelDomainTransfer/success.http +++ b/tests/fixtures/v2/api/cancelDomainTransfer/success.http @@ -1,18 +1,18 @@ -HTTP/1.1 202 Accepted -Server: nginx -Date: Fri, 05 Jun 2020 18:09:42 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1591384034 -Cache-Control: no-cache -X-Request-Id: 3cf6dcfa-0bb5-439e-863a-af2ef08bc830 -X-Runtime: 0.912731 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none - +HTTP/1.1 202 Accepted +server: nginx +date: Fri, 05 Jun 2020 18:09:42 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1591384034 +cache-control: no-cache +x-request-id: 3cf6dcfa-0bb5-439e-863a-af2ef08bc830 +x-runtime: 0.912731 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none + {"data":{"id":361,"domain_id":182245,"registrant_id":2715,"state":"transferring","auto_renew":false,"whois_privacy":false,"status_description":null,"created_at":"2020-06-05T18:08:00Z","updated_at":"2020-06-05T18:08:04Z"}} diff --git a/tests/fixtures/v2/api/changeDomainDelegation/success.http b/tests/fixtures/v2/api/changeDomainDelegation/success.http index a32a6d8c..78fea1bd 100644 --- a/tests/fixtures/v2/api/changeDomainDelegation/success.http +++ b/tests/fixtures/v2/api/changeDomainDelegation/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 24 Mar 2016 11:17:01 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1458821049 -ETag: W/"cb540984f806b12ac437cc1f76092f90" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 0ea7bdd2-63ca-4eef-9c41-4a83d2fe0067 -X-Runtime: 2.845860 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 24 Mar 2016 11:17:01 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1458821049 +etag: W/"cb540984f806b12ac437cc1f76092f90" +cache-control: max-age=0, private, must-revalidate +x-request-id: 0ea7bdd2-63ca-4eef-9c41-4a83d2fe0067 +x-runtime: 2.845860 +strict-transport-security: max-age=31536000 + {"data":["ns1.dnsimple.com","ns2.dnsimple.com","ns3.dnsimple.com","ns4.dnsimple.com"]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/changeDomainDelegationFromVanity/success.http b/tests/fixtures/v2/api/changeDomainDelegationFromVanity/success.http index bd6538ca..4f503165 100644 --- a/tests/fixtures/v2/api/changeDomainDelegationFromVanity/success.http +++ b/tests/fixtures/v2/api/changeDomainDelegationFromVanity/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Mon, 11 Jul 2016 09:55:23 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1468233619 -Cache-Control: no-cache -X-Request-Id: 334a5c9c-8205-414c-bca2-db0469ed0b4a -X-Runtime: 0.385941 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 11 Jul 2016 09:55:23 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1468233619 +cache-control: no-cache +x-request-id: 334a5c9c-8205-414c-bca2-db0469ed0b4a +x-runtime: 0.385941 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/changeDomainDelegationToVanity/success.http b/tests/fixtures/v2/api/changeDomainDelegationToVanity/success.http index cee5d3be..22ae29f2 100644 --- a/tests/fixtures/v2/api/changeDomainDelegationToVanity/success.http +++ b/tests/fixtures/v2/api/changeDomainDelegationToVanity/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 11 Jul 2016 09:40:19 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1468233619 -ETag: W/"ca1610ec571d766d1c1eda330b4fe9d6" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 931e4d9b-88ea-4723-b1b4-4b29c49b88b5 -X-Runtime: 0.270340 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 11 Jul 2016 09:40:19 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1468233619 +etag: W/"ca1610ec571d766d1c1eda330b4fe9d6" +cache-control: max-age=0, private, must-revalidate +x-request-id: 931e4d9b-88ea-4723-b1b4-4b29c49b88b5 +x-runtime: 0.270340 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":1,"name":"ns1.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-11T09:40:19Z","updated_at":"2016-07-11T09:40:19Z"},{"id":2,"name":"ns2.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-11T09:40:19Z","updated_at":"2016-07-11T09:40:19Z"}]} diff --git a/tests/fixtures/v2/api/checkDomain/success.http b/tests/fixtures/v2/api/checkDomain/success.http index 4b6d7904..31cdf9ce 100644 --- a/tests/fixtures/v2/api/checkDomain/success.http +++ b/tests/fixtures/v2/api/checkDomain/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 26 Feb 2016 16:04:05 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3999 -X-RateLimit-Reset: 1456506245 -ETag: W/"f3cf8499e935e48401aae26842f712c4" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e3c6fac1-a36d-42c3-8a04-d68f127add18 -X-Runtime: 0.605907 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Fri, 26 Feb 2016 16:04:05 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3999 +x-ratelimit-reset: 1456506245 +etag: W/"f3cf8499e935e48401aae26842f712c4" +cache-control: max-age=0, private, must-revalidate +x-request-id: e3c6fac1-a36d-42c3-8a04-d68f127add18 +x-runtime: 0.605907 +strict-transport-security: max-age=31536000 + {"data":{"domain":"ruby.codes","available":true,"premium":true}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/checkRegistrantChange/error-contactnotfound.http b/tests/fixtures/v2/api/checkRegistrantChange/error-contactnotfound.http index 9a12588e..baabb1d5 100644 --- a/tests/fixtures/v2/api/checkRegistrantChange/error-contactnotfound.http +++ b/tests/fixtures/v2/api/checkRegistrantChange/error-contactnotfound.http @@ -2,9 +2,9 @@ HTTP/1.1 404 server: nginx date: Tue, 22 Aug 2023 13:59:02 GMT content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1692716201 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1692716201 x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs cache-control: no-cache x-request-id: b1dd3f42-ebb9-42fd-a121-d595de96f667 diff --git a/tests/fixtures/v2/api/checkRegistrantChange/error-domainnotfound.http b/tests/fixtures/v2/api/checkRegistrantChange/error-domainnotfound.http index a78729eb..e1934901 100644 --- a/tests/fixtures/v2/api/checkRegistrantChange/error-domainnotfound.http +++ b/tests/fixtures/v2/api/checkRegistrantChange/error-domainnotfound.http @@ -2,9 +2,9 @@ HTTP/1.1 404 server: nginx date: Tue, 22 Aug 2023 11:09:40 GMT content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2395 -X-RateLimit-Reset: 1692705338 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2395 +x-ratelimit-reset: 1692705338 x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs etag: W/"cef1e7d85d0b9bfd25e81b812891d34f" cache-control: max-age=0, private, must-revalidate diff --git a/tests/fixtures/v2/api/checkRegistrantChange/success.http b/tests/fixtures/v2/api/checkRegistrantChange/success.http index cfaaac25..dcc16427 100644 --- a/tests/fixtures/v2/api/checkRegistrantChange/success.http +++ b/tests/fixtures/v2/api/checkRegistrantChange/success.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 -server: nginx -date: Tue, 22 Aug 2023 11:09:40 GMT -content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2395 -X-RateLimit-Reset: 1692705338 -x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs -etag: W/"cef1e7d85d0b9bfd25e81b812891d34f" -cache-control: max-age=0, private, must-revalidate -x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34 -x-runtime: 3.066249 -strict-transport-security: max-age=63072000 - -{"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}} +HTTP/1.1 200 +server: nginx +date: Tue, 22 Aug 2023 11:09:40 GMT +content-type: application/json; charset=utf-8 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2395 +x-ratelimit-reset: 1692705338 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"cef1e7d85d0b9bfd25e81b812891d34f" +cache-control: max-age=0, private, must-revalidate +x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34 +x-runtime: 3.066249 +strict-transport-security: max-age=63072000 + +{"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}} diff --git a/tests/fixtures/v2/api/checkZoneDistribution/error.http b/tests/fixtures/v2/api/checkZoneDistribution/error.http index 6c463284..a4efd982 100644 --- a/tests/fixtures/v2/api/checkZoneDistribution/error.http +++ b/tests/fixtures/v2/api/checkZoneDistribution/error.http @@ -1,20 +1,20 @@ HTTP/1.1 504 Gateway Timeout -Server: nginx -Date: Mon, 30 Oct 2017 09:09:41 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1509358181 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623 -X-Runtime: 0.471005 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 30 Oct 2017 09:09:41 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1509358181 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: 91f124fc-671d-40fa-877b-0b222692f623 +x-runtime: 0.471005 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"message":"Could not query zone, connection timed out"} diff --git a/tests/fixtures/v2/api/checkZoneDistribution/failure.http b/tests/fixtures/v2/api/checkZoneDistribution/failure.http index 88a8f19f..50e68e1e 100644 --- a/tests/fixtures/v2/api/checkZoneDistribution/failure.http +++ b/tests/fixtures/v2/api/checkZoneDistribution/failure.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 30 Oct 2017 09:09:41 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1509358181 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623 -X-Runtime: 0.471005 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 30 Oct 2017 09:09:41 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1509358181 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: 91f124fc-671d-40fa-877b-0b222692f623 +x-runtime: 0.471005 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"distributed":false}} diff --git a/tests/fixtures/v2/api/checkZoneDistribution/success.http b/tests/fixtures/v2/api/checkZoneDistribution/success.http index 6387335e..db11078d 100644 --- a/tests/fixtures/v2/api/checkZoneDistribution/success.http +++ b/tests/fixtures/v2/api/checkZoneDistribution/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 30 Oct 2017 09:09:41 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1509358181 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623 -X-Runtime: 0.471005 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 30 Oct 2017 09:09:41 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1509358181 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: 91f124fc-671d-40fa-877b-0b222692f623 +x-runtime: 0.471005 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"distributed":true}} diff --git a/tests/fixtures/v2/api/checkZoneRecordDistribution/error.http b/tests/fixtures/v2/api/checkZoneRecordDistribution/error.http index 6f7637bb..b707ae7e 100644 --- a/tests/fixtures/v2/api/checkZoneRecordDistribution/error.http +++ b/tests/fixtures/v2/api/checkZoneRecordDistribution/error.http @@ -1,20 +1,20 @@ HTTP/1.1 504 Gateway Timeout -Server: nginx -Date: Mon, 18 Dec 2017 10:54:48 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1513597686 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 74059b13-9262-4e2d-b8ff-a833376dce19 -X-Runtime: 0.408180 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 18 Dec 2017 10:54:48 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1513597686 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: 74059b13-9262-4e2d-b8ff-a833376dce19 +x-runtime: 0.408180 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"message":"Could not query zone, connection timed out"} diff --git a/tests/fixtures/v2/api/checkZoneRecordDistribution/failure.http b/tests/fixtures/v2/api/checkZoneRecordDistribution/failure.http index a4f928ed..23d3adb2 100644 --- a/tests/fixtures/v2/api/checkZoneRecordDistribution/failure.http +++ b/tests/fixtures/v2/api/checkZoneRecordDistribution/failure.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 18 Dec 2017 10:54:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1513597686 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f5a86610-0e22-4047-a27c-350769eaa6d5 -X-Runtime: 0.425440 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 18 Dec 2017 10:54:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1513597686 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: f5a86610-0e22-4047-a27c-350769eaa6d5 +x-runtime: 0.425440 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"distributed":false}} diff --git a/tests/fixtures/v2/api/checkZoneRecordDistribution/success.http b/tests/fixtures/v2/api/checkZoneRecordDistribution/success.http index 4b2042d4..ca1c3cf5 100644 --- a/tests/fixtures/v2/api/checkZoneRecordDistribution/success.http +++ b/tests/fixtures/v2/api/checkZoneRecordDistribution/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 18 Dec 2017 10:48:06 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1513597686 -ETag: W/"10fc650d019e6bffa876f08bce8f3380" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 34c69751-ffee-4856-ac28-ead4f3a66e18 -X-Runtime: 0.438473 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 18 Dec 2017 10:48:06 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1513597686 +etag: W/"10fc650d019e6bffa876f08bce8f3380" +cache-control: max-age=0, private, must-revalidate +x-request-id: 34c69751-ffee-4856-ac28-ead4f3a66e18 +x-runtime: 0.438473 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"distributed":true}} diff --git a/tests/fixtures/v2/api/createContact/created.http b/tests/fixtures/v2/api/createContact/created.http index e32e0b9d..929ddc74 100644 --- a/tests/fixtures/v2/api/createContact/created.http +++ b/tests/fixtures/v2/api/createContact/created.http @@ -1,16 +1,16 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Tue, 19 Jan 2016 20:50:26 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1453239045 -ETag: W/"165299b0ea3e5c1c80f1ae622146626f" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e -X-Runtime: 0.061482 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} +HTTP/1.1 201 Created +server: nginx +date: Tue, 19 Jan 2016 20:50:26 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1453239045 +etag: W/"165299b0ea3e5c1c80f1ae622146626f" +cache-control: max-age=0, private, must-revalidate +x-request-id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e +x-runtime: 0.061482 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} diff --git a/tests/fixtures/v2/api/createContact/error-validation-errors.http b/tests/fixtures/v2/api/createContact/error-validation-errors.http index 2324b9e3..95ab2d1f 100644 --- a/tests/fixtures/v2/api/createContact/error-validation-errors.http +++ b/tests/fixtures/v2/api/createContact/error-validation-errors.http @@ -1,18 +1,18 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Wed, 23 Nov 2016 08:12:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1479892333 -Cache-Control: no-cache -X-Request-Id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 -X-Runtime: 0.062556 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Wed, 23 Nov 2016 08:12:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1479892333 +cache-control: no-cache +x-request-id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 +x-runtime: 0.062556 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"Validation failed","errors":{"address1":["can't be blank"],"city":["can't be blank"],"country":["can't be blank"],"email":["can't be blank","is an invalid email address"],"first_name":["can't be blank"],"last_name":["can't be blank"],"phone":["can't be blank","is probably not a phone number"],"postal_code":["can't be blank"],"state_province":["can't be blank"]}} diff --git a/tests/fixtures/v2/api/createDelegationSignerRecord/created.http b/tests/fixtures/v2/api/createDelegationSignerRecord/created.http index fa810402..85fe530d 100644 --- a/tests/fixtures/v2/api/createDelegationSignerRecord/created.http +++ b/tests/fixtures/v2/api/createDelegationSignerRecord/created.http @@ -1,20 +1,20 @@ HTTP/1.1 201 Created -Server: nginx -Date: Fri, 03 Mar 2017 15:24:00 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1488558240 -ETag: W/"6443c4a27424c31a2a08e941be6319a4" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 44b1448f-c7da-4988-ba5a-5b7f9892b1d2 -X-Runtime: 0.351659 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 15:24:00 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1488558240 +etag: W/"6443c4a27424c31a2a08e941be6319a4" +cache-control: max-age=0, private, must-revalidate +x-request-id: 44b1448f-c7da-4988-ba5a-5b7f9892b1d2 +x-runtime: 0.351659 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"id":2,"domain_id":1010,"algorithm":"13","digest":"684a1f049d7d082b7f98691657da5a65764913df7f065f6f8c36edf62d66ca03","digest_type":"2","keytag":"2371","public_key":null,"created_at":"2017-03-03T15:24:00Z","updated_at":"2017-03-03T15:24:00Z"}} diff --git a/tests/fixtures/v2/api/createDelegationSignerRecord/validation-error.http b/tests/fixtures/v2/api/createDelegationSignerRecord/validation-error.http index e8800190..50a68778 100644 --- a/tests/fixtures/v2/api/createDelegationSignerRecord/validation-error.http +++ b/tests/fixtures/v2/api/createDelegationSignerRecord/validation-error.http @@ -1,18 +1,18 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Fri, 03 Mar 2017 15:20:28 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2395 -X-RateLimit-Reset: 1488554574 -Cache-Control: no-cache -X-Request-Id: bf652af9-54cd-42c7-8fd3-2f52e2baea4b -X-Runtime: 0.350846 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Fri, 03 Mar 2017 15:20:28 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2395 +x-ratelimit-reset: 1488554574 +cache-control: no-cache +x-request-id: bf652af9-54cd-42c7-8fd3-2f52e2baea4b +x-runtime: 0.350846 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"Validation failed","errors":{"algorithm":["can't be blank"],"digest":["can't be blank"],"digest_type":["can't be blank"],"keytag":["can't be blank"]}} diff --git a/tests/fixtures/v2/api/createDomain/created.http b/tests/fixtures/v2/api/createDomain/created.http index 1fb18dbe..2a433494 100644 --- a/tests/fixtures/v2/api/createDomain/created.http +++ b/tests/fixtures/v2/api/createDomain/created.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Thu, 04 Jun 2020 19:47:05 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2378 -X-RateLimit-Reset: 1591300248 -ETag: W/"399e70627412fa31dba332feca5e8ec1" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ee897eee-36cc-4b7f-be15-f4627f344bf9 -X-Runtime: 0.194561 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Thu, 04 Jun 2020 19:47:05 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2378 +x-ratelimit-reset: 1591300248 +etag: W/"399e70627412fa31dba332feca5e8ec1" +cache-control: max-age=0, private, must-revalidate +x-request-id: ee897eee-36cc-4b7f-be15-f4627f344bf9 +x-runtime: 0.194561 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":181985,"account_id":1385,"registrant_id":null,"name":"example-beta.com","unicode_name":"example-beta.com","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"expires_at":null,"created_at":"2020-06-04T19:47:05Z","updated_at":"2020-06-04T19:47:05Z"}} diff --git a/tests/fixtures/v2/api/createEmailForward/created.http b/tests/fixtures/v2/api/createEmailForward/created.http index ed05a3a7..d1e586d5 100644 --- a/tests/fixtures/v2/api/createEmailForward/created.http +++ b/tests/fixtures/v2/api/createEmailForward/created.http @@ -1,21 +1,21 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Mon, 25 Jan 2021 13:54:40 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4772 -X-RateLimit-Reset: 1611583415 -ETag: W/"80ad3ad1e115a8123193447fa003f68a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 1086590f-0e65-4010-8636-031400a662bf -X-Runtime: 0.880228 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com","active":true}} +HTTP/1.1 201 Created +server: nginx +date: Mon, 25 Jan 2021 13:54:40 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4772 +x-ratelimit-reset: 1611583415 +etag: W/"80ad3ad1e115a8123193447fa003f68a" +cache-control: max-age=0, private, must-revalidate +x-request-id: 1086590f-0e65-4010-8636-031400a662bf +x-runtime: 0.880228 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + +{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com","active":true}} diff --git a/tests/fixtures/v2/api/createPrimaryServer/created.http b/tests/fixtures/v2/api/createPrimaryServer/created.http index fa081905..4ed3c356 100644 --- a/tests/fixtures/v2/api/createPrimaryServer/created.http +++ b/tests/fixtures/v2/api/createPrimaryServer/created.http @@ -1,21 +1,21 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Wed, 17 Mar 2021 23:08:42 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2388 -X-RateLimit-Reset: 1616024599 -ETag: W/"ceda02163217bdb9e6850e2c36cbf163" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 24ed1594-6701-475b-b66b-f85f9fe69736 -X-Runtime: 0.162800 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Wed, 17 Mar 2021 23:08:42 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2388 +x-ratelimit-reset: 1616024599 +etag: W/"ceda02163217bdb9e6850e2c36cbf163" +cache-control: max-age=0, private, must-revalidate +x-request-id: 24ed1594-6701-475b-b66b-f85f9fe69736 +x-runtime: 0.162800 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":{"id":4,"account_id":531,"name":"PrimaryProduction","ip":"1.2.3.4","port":53,"linked_secondary_zones":[],"created_at":"2021-03-17T23:08:42Z","updated_at":"2021-03-17T23:08:42Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/createRegistrantChange/success.http b/tests/fixtures/v2/api/createRegistrantChange/success.http index 113283df..3e56cac0 100644 --- a/tests/fixtures/v2/api/createRegistrantChange/success.http +++ b/tests/fixtures/v2/api/createRegistrantChange/success.http @@ -1,14 +1,14 @@ -HTTP/1.1 202 -server: nginx -date: Tue, 22 Aug 2023 11:11:00 GMT -content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1692705339 -x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs -cache-control: no-cache -x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0 -x-runtime: 3.408950 -strict-transport-security: max-age=63072000 - -{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}} +HTTP/1.1 202 +server: nginx +date: Tue, 22 Aug 2023 11:11:00 GMT +content-type: application/json; charset=utf-8 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1692705339 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0 +x-runtime: 3.408950 +strict-transport-security: max-age=63072000 + +{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}} diff --git a/tests/fixtures/v2/api/createSecondaryZone/created.http b/tests/fixtures/v2/api/createSecondaryZone/created.http index 86de9e4d..5d18398b 100644 --- a/tests/fixtures/v2/api/createSecondaryZone/created.http +++ b/tests/fixtures/v2/api/createSecondaryZone/created.http @@ -1,21 +1,21 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Wed, 17 Mar 2021 23:44:27 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1616028241 -ETag: W/"9726e9abb694bb7a61777076d14158fd" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 967ead79-85e7-4950-aa70-52da90f9abcc -X-Runtime: 0.294142 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Wed, 17 Mar 2021 23:44:27 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1616028241 +etag: W/"9726e9abb694bb7a61777076d14158fd" +cache-control: max-age=0, private, must-revalidate +x-request-id: 967ead79-85e7-4950-aa70-52da90f9abcc +x-runtime: 0.294142 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":{"id":734,"account_id":531,"name":"secondaryexample.com","reverse":false,"secondary":true,"last_transferred_at":null,"created_at":"2021-03-17T23:44:27Z","updated_at":"2021-03-17T23:44:27Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/createTemplate/created.http b/tests/fixtures/v2/api/createTemplate/created.http index 76eb4630..73941c5d 100644 --- a/tests/fixtures/v2/api/createTemplate/created.http +++ b/tests/fixtures/v2/api/createTemplate/created.http @@ -1,16 +1,16 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Thu, 24 Mar 2016 11:09:16 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1458821049 -ETag: W/"c0be8a0056ccd8e0ee31a60c51256848" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: c4ab6dd9-87d4-4244-8ec8-9187a511b89c -X-Runtime: 0.115316 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Thu, 24 Mar 2016 11:09:16 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1458821049 +etag: W/"c0be8a0056ccd8e0ee31a60c51256848" +cache-control: max-age=0, private, must-revalidate +x-request-id: c4ab6dd9-87d4-4244-8ec8-9187a511b89c +x-runtime: 0.115316 +strict-transport-security: max-age=31536000 + {"data":{"id":1,"account_id":1010,"name":"Beta","sid":"beta","description":"A beta template.","created_at":"2016-03-24T11:09:16Z","updated_at":"2016-03-24T11:09:16Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/createTemplateRecord/created.http b/tests/fixtures/v2/api/createTemplateRecord/created.http index 04e9a158..33fb4325 100644 --- a/tests/fixtures/v2/api/createTemplateRecord/created.http +++ b/tests/fixtures/v2/api/createTemplateRecord/created.http @@ -1,16 +1,16 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Tue, 03 May 2016 07:51:33 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1462265481 -ETag: W/"a8518ecf2fd31e6c22b0acccb5cef797" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: b2d51e79-b3d2-4abe-9184-155fb5546617 -X-Runtime: 0.190813 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":300,"template_id":268,"name":"","content":"mx.example.com","ttl":600,"priority":10,"type":"MX","created_at":"2016-05-03T07:51:33Z","updated_at":"2016-05-03T07:51:33Z"}} +HTTP/1.1 201 Created +server: nginx +date: Tue, 03 May 2016 07:51:33 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1462265481 +etag: W/"a8518ecf2fd31e6c22b0acccb5cef797" +cache-control: max-age=0, private, must-revalidate +x-request-id: b2d51e79-b3d2-4abe-9184-155fb5546617 +x-runtime: 0.190813 +strict-transport-security: max-age=31536000 + +{"data":{"id":300,"template_id":268,"name":"","content":"mx.example.com","ttl":600,"priority":10,"type":"MX","created_at":"2016-05-03T07:51:33Z","updated_at":"2016-05-03T07:51:33Z"}} diff --git a/tests/fixtures/v2/api/createWebhook/created.http b/tests/fixtures/v2/api/createWebhook/created.http index 67a70f2c..a951b437 100644 --- a/tests/fixtures/v2/api/createWebhook/created.http +++ b/tests/fixtures/v2/api/createWebhook/created.http @@ -1,16 +1,16 @@ HTTP/1.1 201 Created -Server: nginx -Date: Mon, 15 Feb 2016 17:04:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3996 -X-RateLimit-Reset: 1455559348 -ETag: W/"a4b43ee926d18d0839f1eae08e78c66b" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: dca89281-416a-4766-9428-d0295f58586e -X-Runtime: 0.175179 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 15 Feb 2016 17:04:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3996 +x-ratelimit-reset: 1455559348 +etag: W/"a4b43ee926d18d0839f1eae08e78c66b" +cache-control: max-age=0, private, must-revalidate +x-request-id: dca89281-416a-4766-9428-d0295f58586e +x-runtime: 0.175179 +strict-transport-security: max-age=31536000 {"data":{"id":1,"url":"https://webhook.test","suppressed_at": null}} diff --git a/tests/fixtures/v2/api/createZoneRecord/created-apex.http b/tests/fixtures/v2/api/createZoneRecord/created-apex.http index 057572aa..0aca5d49 100644 --- a/tests/fixtures/v2/api/createZoneRecord/created-apex.http +++ b/tests/fixtures/v2/api/createZoneRecord/created-apex.http @@ -1,16 +1,16 @@ HTTP/1.1 201 Created -Server: nginx -Date: Thu, 07 Jan 2016 17:45:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3990 -X-RateLimit-Reset: 1452188712 -ETag: W/"a7ddff4ee5dc28bbebf3d416e8bd0f04" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f96f5034-bf0c-4201-9564-493c162e3cb4 -X-Runtime: 0.099095 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 07 Jan 2016 17:45:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3990 +x-ratelimit-reset: 1452188712 +etag: W/"a7ddff4ee5dc28bbebf3d416e8bd0f04" +cache-control: max-age=0, private, must-revalidate +x-request-id: f96f5034-bf0c-4201-9564-493c162e3cb4 +x-runtime: 0.099095 +strict-transport-security: max-age=31536000 {"data":{"id":1,"zone_id":"example.com","parent_id":null,"name":"","content":"127.0.0.1","ttl":600,"priority":null,"type":"A","system_record":false,"regions":["global"],"created_at":"2016-01-07T17:45:13Z","updated_at":"2016-01-07T17:45:13Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/createZoneRecord/created.http b/tests/fixtures/v2/api/createZoneRecord/created.http index 07d44ad2..cad9f608 100644 --- a/tests/fixtures/v2/api/createZoneRecord/created.http +++ b/tests/fixtures/v2/api/createZoneRecord/created.http @@ -1,16 +1,16 @@ HTTP/1.1 201 Created -Server: nginx -Date: Thu, 07 Jan 2016 17:45:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3990 -X-RateLimit-Reset: 1452188712 -ETag: W/"a7ddff4ee5dc28bbebf3d416e8bd0f04" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f96f5034-bf0c-4201-9564-493c162e3cb4 -X-Runtime: 0.099095 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 07 Jan 2016 17:45:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3990 +x-ratelimit-reset: 1452188712 +etag: W/"a7ddff4ee5dc28bbebf3d416e8bd0f04" +cache-control: max-age=0, private, must-revalidate +x-request-id: f96f5034-bf0c-4201-9564-493c162e3cb4 +x-runtime: 0.099095 +strict-transport-security: max-age=31536000 {"data":{"id":1,"zone_id":"example.com","parent_id":null,"name":"www","content":"127.0.0.1","ttl":600,"priority":null,"type":"A","system_record":false,"regions":["global"],"created_at":"2016-01-07T17:45:13Z","updated_at":"2016-01-07T17:45:13Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/deactivateZoneService/success.http b/tests/fixtures/v2/api/deactivateZoneService/success.http index 1ab190c8..f9cb9fb8 100644 --- a/tests/fixtures/v2/api/deactivateZoneService/success.http +++ b/tests/fixtures/v2/api/deactivateZoneService/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 08 Aug 2023 04:19:52 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1691471962 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -ETag: W/"5f30a37d01b99bb9e620ef1bbce9a014" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: d2f7bba4-4c81-4818-81d2-c9bbe95f104e -X-Runtime: 0.133278 -Strict-Transport-Security: max-age=63072000 - -{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":false,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-08-08T04:19:52Z"}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 08 Aug 2023 04:19:52 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1691471962 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"5f30a37d01b99bb9e620ef1bbce9a014" +cache-control: max-age=0, private, must-revalidate +x-request-id: d2f7bba4-4c81-4818-81d2-c9bbe95f104e +x-runtime: 0.133278 +strict-transport-security: max-age=63072000 + +{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":false,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-08-08T04:19:52Z"}} diff --git a/tests/fixtures/v2/api/deleteContact/error-contact-in-use.http b/tests/fixtures/v2/api/deleteContact/error-contact-in-use.http index 950f9209..d95070e6 100644 --- a/tests/fixtures/v2/api/deleteContact/error-contact-in-use.http +++ b/tests/fixtures/v2/api/deleteContact/error-contact-in-use.http @@ -1,18 +1,18 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Wed, 11 Apr 2018 10:50:21 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1523447401 -Cache-Control: no-cache -X-Request-Id: 8d9f3de7-6e42-4a16-82eb-e2434dd58008 -X-Runtime: 0.271090 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Wed, 11 Apr 2018 10:50:21 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1523447401 +cache-control: no-cache +x-request-id: 8d9f3de7-6e42-4a16-82eb-e2434dd58008 +x-runtime: 0.271090 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"The contact cannot be deleted because it's currently in use"} diff --git a/tests/fixtures/v2/api/deleteContact/success.http b/tests/fixtures/v2/api/deleteContact/success.http index 338d8b57..e0855823 100644 --- a/tests/fixtures/v2/api/deleteContact/success.http +++ b/tests/fixtures/v2/api/deleteContact/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Tue, 19 Jan 2016 21:49:42 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3999 -X-RateLimit-Reset: 1453243782 -Cache-Control: no-cache -X-Request-Id: 10c8528b-569b-4152-a89c-fc9c5f94afe9 -X-Runtime: 0.029858 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Tue, 19 Jan 2016 21:49:42 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3999 +x-ratelimit-reset: 1453243782 +cache-control: no-cache +x-request-id: 10c8528b-569b-4152-a89c-fc9c5f94afe9 +x-runtime: 0.029858 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/deleteDelegationSignerRecord/success.http b/tests/fixtures/v2/api/deleteDelegationSignerRecord/success.http index 0acf42fa..97c77057 100644 --- a/tests/fixtures/v2/api/deleteDelegationSignerRecord/success.http +++ b/tests/fixtures/v2/api/deleteDelegationSignerRecord/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Fri, 03 Mar 2017 15:25:00 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488558240 -Cache-Control: no-cache -X-Request-Id: 50271e09-f056-4413-9eea-87e097d43e8b -X-Runtime: 0.306806 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 15:25:00 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488558240 +cache-control: no-cache +x-request-id: 50271e09-f056-4413-9eea-87e097d43e8b +x-runtime: 0.306806 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/deleteDomain/success.http b/tests/fixtures/v2/api/deleteDomain/success.http index fbb093c4..f289709f 100644 --- a/tests/fixtures/v2/api/deleteDomain/success.http +++ b/tests/fixtures/v2/api/deleteDomain/success.http @@ -1,13 +1,13 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Fri, 18 Dec 2015 16:13:54 GMT -Connection: keep-alive -Strict-Transport-Security: max-age=31536000 -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3990 -X-RateLimit-Reset: 1450455233 -Cache-Control: no-cache -X-Request-Id: a2924814-4aff-42cf-9785-9327ce097d0a -X-Runtime: 0.241247 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 18 Dec 2015 16:13:54 GMT +connection: keep-alive +strict-transport-security: max-age=31536000 +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3990 +x-ratelimit-reset: 1450455233 +cache-control: no-cache +x-request-id: a2924814-4aff-42cf-9785-9327ce097d0a +x-runtime: 0.241247 +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/deleteEmailForward/success.http b/tests/fixtures/v2/api/deleteEmailForward/success.http index 6807c4b4..0ffb1ef4 100644 --- a/tests/fixtures/v2/api/deleteEmailForward/success.http +++ b/tests/fixtures/v2/api/deleteEmailForward/success.http @@ -1,18 +1,18 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Mon, 25 Jan 2021 13:56:43 GMT -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4765 -X-RateLimit-Reset: 1611583416 -Cache-Control: no-cache -X-Request-Id: bfaceb73-4fd3-4490-8528-472ec1df3526 -X-Runtime: 0.506670 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Mon, 25 Jan 2021 13:56:43 GMT +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4765 +x-ratelimit-reset: 1611583416 +cache-control: no-cache +x-request-id: bfaceb73-4fd3-4490-8528-472ec1df3526 +x-runtime: 0.506670 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/deleteRegistrantChange/success.http b/tests/fixtures/v2/api/deleteRegistrantChange/success.http index 2c6ab27a..66ad2d0c 100644 --- a/tests/fixtures/v2/api/deleteRegistrantChange/success.http +++ b/tests/fixtures/v2/api/deleteRegistrantChange/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -server: nginx -date: Tue, 22 Aug 2023 11:14:44 GMT -content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1692705338 -x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs -cache-control: no-cache -x-request-id: b123e1f0-aa70-4abb-95cf-34f377c83ef4 -x-runtime: 0.114839 -strict-transport-security: max-age=63072000 - +HTTP/1.1 204 No Content +server: nginx +date: Tue, 22 Aug 2023 11:14:44 GMT +content-type: application/json; charset=utf-8 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1692705338 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: b123e1f0-aa70-4abb-95cf-34f377c83ef4 +x-runtime: 0.114839 +strict-transport-security: max-age=63072000 + diff --git a/tests/fixtures/v2/api/deleteRegistrantChange/success_async.http b/tests/fixtures/v2/api/deleteRegistrantChange/success_async.http index 0dcae7e4..885fd38f 100644 --- a/tests/fixtures/v2/api/deleteRegistrantChange/success_async.http +++ b/tests/fixtures/v2/api/deleteRegistrantChange/success_async.http @@ -2,9 +2,9 @@ HTTP/1.1 202 server: nginx date: Tue, 22 Aug 2023 11:11:00 GMT content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1692705339 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1692705339 x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs cache-control: no-cache x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0 diff --git a/tests/fixtures/v2/api/deleteTemplate/success.http b/tests/fixtures/v2/api/deleteTemplate/success.http index c6c7ac5d..a081bbd8 100644 --- a/tests/fixtures/v2/api/deleteTemplate/success.http +++ b/tests/fixtures/v2/api/deleteTemplate/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Thu, 24 Mar 2016 11:05:38 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1458821049 -Cache-Control: no-cache -X-Request-Id: 967713d5-a203-40ee-875c-1df07868b7eb -X-Runtime: 0.147576 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Thu, 24 Mar 2016 11:05:38 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1458821049 +cache-control: no-cache +x-request-id: 967713d5-a203-40ee-875c-1df07868b7eb +x-runtime: 0.147576 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/deleteTemplateRecord/success.http b/tests/fixtures/v2/api/deleteTemplateRecord/success.http index 04eb4a5b..a1555b49 100644 --- a/tests/fixtures/v2/api/deleteTemplateRecord/success.http +++ b/tests/fixtures/v2/api/deleteTemplateRecord/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Tue, 03 May 2016 08:00:35 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1462265481 -Cache-Control: no-cache -X-Request-Id: f0a48944-1c61-41f4-b379-04f8644d883b -X-Runtime: 0.122787 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Tue, 03 May 2016 08:00:35 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1462265481 +cache-control: no-cache +x-request-id: f0a48944-1c61-41f4-b379-04f8644d883b +x-runtime: 0.122787 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/deleteWebhook/success.http b/tests/fixtures/v2/api/deleteWebhook/success.http index f43c3cdf..ddc8d816 100644 --- a/tests/fixtures/v2/api/deleteWebhook/success.http +++ b/tests/fixtures/v2/api/deleteWebhook/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Mon, 15 Feb 2016 17:05:39 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3993 -X-RateLimit-Reset: 1455559348 -Cache-Control: no-cache -X-Request-Id: d681e116-4a27-45a6-b571-3f74bfafb1f4 -X-Runtime: 0.520613 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Mon, 15 Feb 2016 17:05:39 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3993 +x-ratelimit-reset: 1455559348 +cache-control: no-cache +x-request-id: d681e116-4a27-45a6-b571-3f74bfafb1f4 +x-runtime: 0.520613 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/deleteZoneRecord/success.http b/tests/fixtures/v2/api/deleteZoneRecord/success.http index aa75c860..19b62c2e 100644 --- a/tests/fixtures/v2/api/deleteZoneRecord/success.http +++ b/tests/fixtures/v2/api/deleteZoneRecord/success.http @@ -1,13 +1,13 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Thu, 07 Jan 2016 18:06:28 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3987 -X-RateLimit-Reset: 1452189987 -Cache-Control: no-cache -X-Request-Id: 776cea0f-98ae-4550-9a2e-81f8ab27f82b -X-Runtime: 0.099235 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 07 Jan 2016 18:06:28 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3987 +x-ratelimit-reset: 1452189987 +cache-control: no-cache +x-request-id: 776cea0f-98ae-4550-9a2e-81f8ab27f82b +x-runtime: 0.099235 +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/disableDnssec/not-enabled.http b/tests/fixtures/v2/api/disableDnssec/not-enabled.http index 8bb7259f..83043735 100644 --- a/tests/fixtures/v2/api/disableDnssec/not-enabled.http +++ b/tests/fixtures/v2/api/disableDnssec/not-enabled.http @@ -1,18 +1,18 @@ HTTP/1.1 428 Precondition Required -Server: nginx -Date: Fri, 03 Mar 2017 10:00:36 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1488538622 -Cache-Control: no-cache -X-Request-Id: 8e6cfeba-61f3-4449-9d95-dceaa1be30b0 -X-Runtime: 0.033649 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Fri, 03 Mar 2017 10:00:36 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1488538622 +cache-control: no-cache +x-request-id: 8e6cfeba-61f3-4449-9d95-dceaa1be30b0 +x-runtime: 0.033649 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"DNSSEC cannot be disabled because it is not enabled"} diff --git a/tests/fixtures/v2/api/disableDnssec/success.http b/tests/fixtures/v2/api/disableDnssec/success.http index 79fd6d84..667a1531 100644 --- a/tests/fixtures/v2/api/disableDnssec/success.http +++ b/tests/fixtures/v2/api/disableDnssec/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Fri, 03 Mar 2017 09:59:48 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1488538622 -Cache-Control: no-cache -X-Request-Id: d4904f31-9f5a-4616-a398-65915a2ade0f -X-Runtime: 0.150273 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 09:59:48 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1488538622 +cache-control: no-cache +x-request-id: d4904f31-9f5a-4616-a398-65915a2ade0f +x-runtime: 0.150273 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/disableDomainAutoRenewal/success.http b/tests/fixtures/v2/api/disableDomainAutoRenewal/success.http index d1ee055c..5cfe803d 100644 --- a/tests/fixtures/v2/api/disableDomainAutoRenewal/success.http +++ b/tests/fixtures/v2/api/disableDomainAutoRenewal/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Fri, 12 Feb 2016 11:15:46 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3996 -X-RateLimit-Reset: 1455279163 -Cache-Control: no-cache -X-Request-Id: 6a8e83f1-f80c-4dc0-a462-d63c932a59bb -X-Runtime: 0.509466 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Fri, 12 Feb 2016 11:15:46 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3996 +x-ratelimit-reset: 1455279163 +cache-control: no-cache +x-request-id: 6a8e83f1-f80c-4dc0-a462-d63c932a59bb +x-runtime: 0.509466 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/disableDomainTransferLock/success.http b/tests/fixtures/v2/api/disableDomainTransferLock/success.http index d562c1e5..b81ea4cd 100644 --- a/tests/fixtures/v2/api/disableDomainTransferLock/success.http +++ b/tests/fixtures/v2/api/disableDomainTransferLock/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Tue, 15 Aug 2023 09:58:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488538623 -ETag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 -X-Runtime: 0.024780 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Tue, 15 Aug 2023 09:58:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488538623 +etag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 +x-runtime: 0.024780 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"enabled":false}} diff --git a/tests/fixtures/v2/api/disableVanityNameServers/success.http b/tests/fixtures/v2/api/disableVanityNameServers/success.http index 2c8f72bb..2fc0e30d 100644 --- a/tests/fixtures/v2/api/disableVanityNameServers/success.http +++ b/tests/fixtures/v2/api/disableVanityNameServers/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Tue, 12 Jul 2016 08:56:00 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1468314483 -Cache-Control: no-cache -X-Request-Id: 99c3fef2-d875-40fd-961c-194bffd694f1 -X-Runtime: 5.983300 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Tue, 12 Jul 2016 08:56:00 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1468314483 +cache-control: no-cache +x-request-id: 99c3fef2-d875-40fd-961c-194bffd694f1 +x-runtime: 5.983300 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/disableWhoisPrivacy/success.http b/tests/fixtures/v2/api/disableWhoisPrivacy/success.http index 791fec9e..25282a6b 100644 --- a/tests/fixtures/v2/api/disableWhoisPrivacy/success.http +++ b/tests/fixtures/v2/api/disableWhoisPrivacy/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sat, 13 Feb 2016 14:36:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3995 -X-RateLimit-Reset: 1455377134 -ETag: W/"56e3e7f76ba9c84dcab9aef72347edf2" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 4831c4d9-e62e-4710-a999-4ab32a900cea -X-Runtime: 0.988453 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":2,"expires_on":"2017-02-13","enabled":false,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:36:38Z"}} +HTTP/1.1 200 OK +server: nginx +date: Sat, 13 Feb 2016 14:36:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3995 +x-ratelimit-reset: 1455377134 +etag: W/"56e3e7f76ba9c84dcab9aef72347edf2" +cache-control: max-age=0, private, must-revalidate +x-request-id: 4831c4d9-e62e-4710-a999-4ab32a900cea +x-runtime: 0.988453 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":2,"expires_on":"2017-02-13","enabled":false,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:36:38Z"}} diff --git a/tests/fixtures/v2/api/dnsAnalytics/success.http b/tests/fixtures/v2/api/dnsAnalytics/success.http index d142db6b..eef6c24e 100644 --- a/tests/fixtures/v2/api/dnsAnalytics/success.http +++ b/tests/fixtures/v2/api/dnsAnalytics/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Tue, 14 Jun 2016 12:02:58 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1465908577 -ETag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f705b65b-3589-43ad-97ca-3b2821d49d81 -X-Runtime: 0.012661 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Tue, 14 Jun 2016 12:02:58 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1465908577 +etag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" +cache-control: max-age=0, private, must-revalidate +x-request-id: f705b65b-3589-43ad-97ca-3b2821d49d81 +x-runtime: 0.012661 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data": {"headers": ["zone_name", "date", "volume"], "rows": [["bar.com", "2023-12-08", 1200], ["bar.com", "2023-12-09", 1200], ["bar.com", "2024-01-07", 1200], ["bar.com", "2024-01-08", 1200], ["example.com", "2023-12-08", 1200], ["example.com", "2023-12-09", 1200], ["example.com", "2024-01-07", 1200], ["example.com", "2024-01-08", 1200], ["foo.com", "2023-12-08", 1200], ["foo.com", "2023-12-09", 1200], ["foo.com", "2024-01-07", 1200], ["foo.com", "2024-01-08", 1200]]}, "query": {"account_id": 1, "start_date": "2023-12-08", "end_date": "2024-01-08", "sort": "zone_name:asc,date:asc", "page": 0, "per_page": 100, "groupings": "zone_name,date"}, "pagination": {"current_page": 0, "per_page": 100, "total_entries": 93, "total_pages": 1}} diff --git a/tests/fixtures/v2/api/downloadCertificate/success.http b/tests/fixtures/v2/api/downloadCertificate/success.http index 7bb4558a..78712934 100644 --- a/tests/fixtures/v2/api/downloadCertificate/success.http +++ b/tests/fixtures/v2/api/downloadCertificate/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sat, 11 Jun 2016 18:53:48 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1465674527 -ETag: W/"11aa44434f1e34a4ff761e23658395de" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ab7d0c2a-1a17-414e-b4e9-ebfd44343e90 -X-Runtime: 0.020621 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Sat, 11 Jun 2016 18:53:48 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1465674527 +etag: W/"11aa44434f1e34a4ff761e23658395de" +cache-control: max-age=0, private, must-revalidate +x-request-id: ab7d0c2a-1a17-414e-b4e9-ebfd44343e90 +x-runtime: 0.020621 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + {"data":{"server":"-----BEGIN CERTIFICATE-----\nMIIE7TCCA9WgAwIBAgITAPpTe4O3vjuQ9L4gLsogi/ukujANBgkqhkiG9w0BAQsF\nADAiMSAwHgYDVQQDDBdGYWtlIExFIEludGVybWVkaWF0ZSBYMTAeFw0xNjA2MTEx\nNzQ4MDBaFw0xNjA5MDkxNzQ4MDBaMBkxFzAVBgNVBAMTDnd3dy53ZXBwb3MubmV0\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtzCcMfWoQRt5AMEY0HUb\n2GaraL1GsWOo6YXdPfe+YDvtnmDw23NcoTX7VSeCgU9M3RKs19AsCJcRNTLJ2dmD\nrAuyCTud9YTAaXQcTOLUhtO8T8+9AFVIva2OmAlKCR5saBW3JaRxW7V2aHEd/d1s\ns1CvNOO7jNppc9NwGSnDHcn3rqNv/U3MaU0gpJJRqsKkvcLU6IHJGgxyQ6AbpwJD\nIqBnzkjHu2IuhGEbRuMjyWLA2qtsjyVlfPotDxUdVouUQpz7dGHUFrLR7ma8QAYu\nOfl1ZMyrc901HGMa7zwbnFWurs3fed7vAosTRZIjnn72/3Wo7L9RiMB+vwr3NX7c\n9QIDAQABo4ICIzCCAh8wDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUF\nBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRh9q/3Zxbk4yA/\nt7j+8xA+rkiZBTAfBgNVHSMEGDAWgBTAzANGuVggzFxycPPhLssgpvVoOjB4Bggr\nBgEFBQcBAQRsMGowMwYIKwYBBQUHMAGGJ2h0dHA6Ly9vY3NwLnN0Zy1pbnQteDEu\nbGV0c2VuY3J5cHQub3JnLzAzBggrBgEFBQcwAoYnaHR0cDovL2NlcnQuc3RnLWlu\ndC14MS5sZXRzZW5jcnlwdC5vcmcvMCUGA1UdEQQeMByCCndlcHBvcy5uZXSCDnd3\ndy53ZXBwb3MubmV0MIH+BgNVHSAEgfYwgfMwCAYGZ4EMAQIBMIHmBgsrBgEEAYLf\nEwEBATCB1jAmBggrBgEFBQcCARYaaHR0cDovL2Nwcy5sZXRzZW5jcnlwdC5vcmcw\ngasGCCsGAQUFBwICMIGeDIGbVGhpcyBDZXJ0aWZpY2F0ZSBtYXkgb25seSBiZSBy\nZWxpZWQgdXBvbiBieSBSZWx5aW5nIFBhcnRpZXMgYW5kIG9ubHkgaW4gYWNjb3Jk\nYW5jZSB3aXRoIHRoZSBDZXJ0aWZpY2F0ZSBQb2xpY3kgZm91bmQgYXQgaHR0cHM6\nLy9sZXRzZW5jcnlwdC5vcmcvcmVwb3NpdG9yeS8wDQYJKoZIhvcNAQELBQADggEB\nAEqMdWrmdIyQxthWsX3iHmM2h/wXwEesD0VIaA+Pq4mjwmKBkoPSmHGQ/O4v8RaK\nB6gl8v+qmvCwwqC1SkBmm+9C2yt/P6WhAiA/DD+WppYgJWfcz2lEKrgufFlHPukB\nDzE0mJDuXm09QTApWlaTZWYfWKY50T5uOT/rs+OwGFFCO/8o7v5AZRAHos6uzjvq\nAtFZj/FEnXXMjSSlQ7YKTXToVpnAYH4e3/UMsi6/O4orkVz82ZfhKwMWHV8dXlRw\ntQaemFWTjGPgSLXJAtQO30DgNJBHX/fJEaHv6Wy8TF3J0wOGpzGbOwaTX8YAmEzC\nlzzjs+clg5MN5rd1g4POJtU=\n-----END CERTIFICATE-----\n","root":null,"chain":["-----BEGIN CERTIFICATE-----\nMIIEqzCCApOgAwIBAgIRAIvhKg5ZRO08VGQx8JdhT+UwDQYJKoZIhvcNAQELBQAw\nGjEYMBYGA1UEAwwPRmFrZSBMRSBSb290IFgxMB4XDTE2MDUyMzIyMDc1OVoXDTM2\nMDUyMzIyMDc1OVowIjEgMB4GA1UEAwwXRmFrZSBMRSBJbnRlcm1lZGlhdGUgWDEw\nggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDtWKySDn7rWZc5ggjz3ZB0\n8jO4xti3uzINfD5sQ7Lj7hzetUT+wQob+iXSZkhnvx+IvdbXF5/yt8aWPpUKnPym\noLxsYiI5gQBLxNDzIec0OIaflWqAr29m7J8+NNtApEN8nZFnf3bhehZW7AxmS1m0\nZnSsdHw0Fw+bgixPg2MQ9k9oefFeqa+7Kqdlz5bbrUYV2volxhDFtnI4Mh8BiWCN\nxDH1Hizq+GKCcHsinDZWurCqder/afJBnQs+SBSL6MVApHt+d35zjBD92fO2Je56\ndhMfzCgOKXeJ340WhW3TjD1zqLZXeaCyUNRnfOmWZV8nEhtHOFbUCU7r/KkjMZO9\nAgMBAAGjgeMwgeAwDgYDVR0PAQH/BAQDAgGGMBIGA1UdEwEB/wQIMAYBAf8CAQAw\nHQYDVR0OBBYEFMDMA0a5WCDMXHJw8+EuyyCm9Wg6MHoGCCsGAQUFBwEBBG4wbDA0\nBggrBgEFBQcwAYYoaHR0cDovL29jc3Auc3RnLXJvb3QteDEubGV0c2VuY3J5cHQu\nb3JnLzA0BggrBgEFBQcwAoYoaHR0cDovL2NlcnQuc3RnLXJvb3QteDEubGV0c2Vu\nY3J5cHQub3JnLzAfBgNVHSMEGDAWgBTBJnSkikSg5vogKNhcI5pFiBh54DANBgkq\nhkiG9w0BAQsFAAOCAgEABYSu4Il+fI0MYU42OTmEj+1HqQ5DvyAeyCA6sGuZdwjF\nUGeVOv3NnLyfofuUOjEbY5irFCDtnv+0ckukUZN9lz4Q2YjWGUpW4TTu3ieTsaC9\nAFvCSgNHJyWSVtWvB5XDxsqawl1KzHzzwr132bF2rtGtazSqVqK9E07sGHMCf+zp\nDQVDVVGtqZPHwX3KqUtefE621b8RI6VCl4oD30Olf8pjuzG4JKBFRFclzLRjo/h7\nIkkfjZ8wDa7faOjVXx6n+eUQ29cIMCzr8/rNWHS9pYGGQKJiY2xmVC9h12H99Xyf\nzWE9vb5zKP3MVG6neX1hSdo7PEAb9fqRhHkqVsqUvJlIRmvXvVKTwNCP3eCjRCCI\nPTAvjV+4ni786iXwwFYNz8l3PmPLCyQXWGohnJ8iBm+5nk7O2ynaPVW0U2W+pt2w\nSVuvdDM5zGv2f9ltNWUiYZHJ1mmO97jSY/6YfdOUH66iRtQtDkHBRdkNBsMbD+Em\n2TgBldtHNSJBfB3pm9FblgOcJ0FSWcUDWJ7vO0+NTXlgrRofRT6pVywzxVo6dND0\nWzYlTWeUVsO40xJqhgUQRER9YLOLxJ0O6C8i0xFxAMKOtSdodMB3RIwt7RFQ0uyt\nn5Z5MqkYhlMI3J1tPRTp1nEt9fyGspBOO05gi148Qasp+3N+svqKomoQglNoAxU=\n-----END CERTIFICATE-----"]}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/enableDnssec/success.http b/tests/fixtures/v2/api/enableDnssec/success.http index 859e12fe..1e146608 100644 --- a/tests/fixtures/v2/api/enableDnssec/success.http +++ b/tests/fixtures/v2/api/enableDnssec/success.http @@ -1,20 +1,20 @@ HTTP/1.1 201 Created -Server: nginx -Date: Fri, 03 Mar 2017 13:49:58 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488552566 -ETag: W/"80f207d402f1a1a4845455aa064c3735" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 49ea1585-3871-4829-90f4-ea2aad994256 -X-Runtime: 0.700056 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 13:49:58 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488552566 +etag: W/"80f207d402f1a1a4845455aa064c3735" +cache-control: max-age=0, private, must-revalidate +x-request-id: 49ea1585-3871-4829-90f4-ea2aad994256 +x-runtime: 0.700056 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"enabled":true,"created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}} diff --git a/tests/fixtures/v2/api/enableDomainAutoRenewal/success.http b/tests/fixtures/v2/api/enableDomainAutoRenewal/success.http index 38188cba..da7bd0f6 100644 --- a/tests/fixtures/v2/api/enableDomainAutoRenewal/success.http +++ b/tests/fixtures/v2/api/enableDomainAutoRenewal/success.http @@ -1,13 +1,13 @@ -HTTP/1.1 204 No Content -Server: nginx -Date: Fri, 12 Feb 2016 11:13:38 GMT -Connection: keep-alive -Status: 204 No Content -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1455279163 -Cache-Control: no-cache -X-Request-Id: 46e77cb2-157e-4740-8cd3-f20d4d653c95 -X-Runtime: 7.702967 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 204 No Content +server: nginx +date: Fri, 12 Feb 2016 11:13:38 GMT +connection: keep-alive +status: 204 No Content +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1455279163 +cache-control: no-cache +x-request-id: 46e77cb2-157e-4740-8cd3-f20d4d653c95 +x-runtime: 7.702967 +strict-transport-security: max-age=31536000 + diff --git a/tests/fixtures/v2/api/enableDomainTransferLock/success.http b/tests/fixtures/v2/api/enableDomainTransferLock/success.http index e90c83ce..58b639ea 100644 --- a/tests/fixtures/v2/api/enableDomainTransferLock/success.http +++ b/tests/fixtures/v2/api/enableDomainTransferLock/success.http @@ -1,20 +1,20 @@ HTTP/1.1 201 Created -Server: nginx -Date: Tue, 15 Aug 2023 09:58:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488538623 -ETag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 -X-Runtime: 0.024780 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Tue, 15 Aug 2023 09:58:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488538623 +etag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 +x-runtime: 0.024780 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"enabled":true}} diff --git a/tests/fixtures/v2/api/enableVanityNameServers/success.http b/tests/fixtures/v2/api/enableVanityNameServers/success.http index 5969f14b..40521580 100644 --- a/tests/fixtures/v2/api/enableVanityNameServers/success.http +++ b/tests/fixtures/v2/api/enableVanityNameServers/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Thu, 14 Jul 2016 13:22:17 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1468506137 -ETag: W/"ddc2c4431fb922cefbf5706b6d32796e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 3fd2135a-aeb4-4297-8826-a10705740fbb -X-Runtime: 0.438926 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 14 Jul 2016 13:22:17 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1468506137 +etag: W/"ddc2c4431fb922cefbf5706b6d32796e" +cache-control: max-age=0, private, must-revalidate +x-request-id: 3fd2135a-aeb4-4297-8826-a10705740fbb +x-runtime: 0.438926 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":1,"name":"ns1.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-14T13:22:17Z","updated_at":"2016-07-14T13:22:17Z"},{"id":2,"name":"ns2.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-14T13:22:17Z","updated_at":"2016-07-14T13:22:17Z"},{"id":3,"name":"ns3.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-14T13:22:17Z","updated_at":"2016-07-14T13:22:17Z"},{"id":4,"name":"ns4.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-14T13:22:17Z","updated_at":"2016-07-14T13:22:17Z"}]} diff --git a/tests/fixtures/v2/api/enableWhoisPrivacy/created.http b/tests/fixtures/v2/api/enableWhoisPrivacy/created.http index 96da2f03..ac8bab2f 100644 --- a/tests/fixtures/v2/api/enableWhoisPrivacy/created.http +++ b/tests/fixtures/v2/api/enableWhoisPrivacy/created.http @@ -1,16 +1,16 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Sat, 13 Feb 2016 14:34:52 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 201 Created -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1455377135 -ETag: W/"c955cdcda56f131395952576e6ded0b6" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 779eff1a-429c-432a-ad17-617502d62e69 -X-Runtime: 2.563855 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":2,"expires_on":null,"enabled":null,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:34:50Z"}} +HTTP/1.1 201 Created +server: nginx +date: Sat, 13 Feb 2016 14:34:52 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 201 Created +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1455377135 +etag: W/"c955cdcda56f131395952576e6ded0b6" +cache-control: max-age=0, private, must-revalidate +x-request-id: 779eff1a-429c-432a-ad17-617502d62e69 +x-runtime: 2.563855 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":2,"expires_on":null,"enabled":null,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:34:50Z"}} diff --git a/tests/fixtures/v2/api/enableWhoisPrivacy/success.http b/tests/fixtures/v2/api/enableWhoisPrivacy/success.http index e1d2edb1..386f588e 100644 --- a/tests/fixtures/v2/api/enableWhoisPrivacy/success.http +++ b/tests/fixtures/v2/api/enableWhoisPrivacy/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sat, 13 Feb 2016 14:36:49 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3994 -X-RateLimit-Reset: 1455377135 -ETag: W/"1063ebb3e281ca6e1941874002696cd7" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 34453d13-76ba-4f64-ad94-2d536c61826c -X-Runtime: 1.408974 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":2,"expires_on":"2017-02-13","enabled":true,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:36:48Z"}} +HTTP/1.1 200 OK +server: nginx +date: Sat, 13 Feb 2016 14:36:49 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3994 +x-ratelimit-reset: 1455377135 +etag: W/"1063ebb3e281ca6e1941874002696cd7" +cache-control: max-age=0, private, must-revalidate +x-request-id: 34453d13-76ba-4f64-ad94-2d536c61826c +x-runtime: 1.408974 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":2,"expires_on":"2017-02-13","enabled":true,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:36:48Z"}} diff --git a/tests/fixtures/v2/api/getCertificate/success.http b/tests/fixtures/v2/api/getCertificate/success.http index 8d470769..3cf1d605 100644 --- a/tests/fixtures/v2/api/getCertificate/success.http +++ b/tests/fixtures/v2/api/getCertificate/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 18 Jun 2020 19:16:29 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4797 -X-RateLimit-Reset: 1592510057 -ETag: W/"9ace4f536d7b618fd4b38efd3cea9d1f" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 83905116-1333-4b07-ace4-d0db9e90c4fa -X-Runtime: 0.012798 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 18 Jun 2020 19:16:29 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4797 +x-ratelimit-reset: 1592510057 +etag: W/"9ace4f536d7b618fd4b38efd3cea9d1f" +cache-control: max-age=0, private, must-revalidate +x-request-id: 83905116-1333-4b07-ace4-d0db9e90c4fa +x-runtime: 0.012798 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":101967,"domain_id":289333,"contact_id":2511,"name":"www","common_name":"www.bingo.pizza","years":1,"csr":"-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmJpbmdvLnBpenphMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw4+KoZ9IDCK2o5qAQpi+Icu5kksmjQzx\n5o5g4B6XhRxhsfHlK/i3iU5hc8CONjyVv8j82835RNsiKrflnxGa9SH68vbQfcn4\nIpbMz9c+Eqv5h0Euqlc3A4DBzp0unEu5QAUhR6Xu1TZIWDPjhrBOGiszRlLQcp4F\nzy6fD6j5/d/ylpzTp5v54j+Ey31Bz86IaBPtSpHI+Qk87Hs8DVoWxZk/6RlAkyur\nXDGWnPu9n3RMfs9ag5anFhggLIhCNtVN4+0vpgPQ59pqwYo8TfdYzK7WSKeL7geu\nCqVE3bHAqU6dLtgHOZfTkLwGycUh4p9aawuc6fsXHHYDpIL8s3vAvwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtiaW5nby5waXp6YYIPd3d3LmJp\nbmdvLnBpenphMA0GCSqGSIb3DQEBCwUAA4IBAQBwOLKv+PO5hSJkgqS6wL/wRqLh\nQ1zbcHRHAjRjnpRz06cDvN3X3aPI+lpKSNFCI0A1oKJG7JNtgxX3Est66cuO8ESQ\nPIb6WWN7/xlVlBCe7ZkjAFgN6JurFdclwCp/NI5wBCwj1yb3Ar5QQMFIZOezIgTI\nAWkQSfCmgkB96d6QlDWgidYDDjcsXugQveOQRPlHr0TsElu47GakxZdJCFZU+WPM\nodQQf5SaqiIK2YaH1dWO//4KpTS9QoTy1+mmAa27apHcmz6X6+G5dvpHZ1qH14V0\nJoMWIK+39HRPq6mDo1UMVet/xFUUrG/H7/tFlYIDVbSpVlpVAFITd/eQkaW/\n-----END CERTIFICATE REQUEST-----\n","state":"issued","auto_renew":false,"alternate_names":[],"authority_identifier":"letsencrypt","created_at":"2020-06-18T18:54:17Z","updated_at":"2020-06-18T19:10:14Z","expires_at":"2020-09-16T18:10:13Z","expires_on":"2020-09-16"}} diff --git a/tests/fixtures/v2/api/getCertificatePrivateKey/success.http b/tests/fixtures/v2/api/getCertificatePrivateKey/success.http index 3b64067e..f87d9007 100644 --- a/tests/fixtures/v2/api/getCertificatePrivateKey/success.http +++ b/tests/fixtures/v2/api/getCertificatePrivateKey/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sat, 11 Jun 2016 18:50:50 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1465674527 -ETag: W/"e7dc6ca9cd96889839628adf0d96c225" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 0fa852bc-5f6d-49b3-af98-313dd2449ef2 -X-Runtime: 0.091833 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAtzCcMfWoQRt5AMEY0HUb2GaraL1GsWOo6YXdPfe+YDvtnmDw\n23NcoTX7VSeCgU9M3RKs19AsCJcRNTLJ2dmDrAuyCTud9YTAaXQcTOLUhtO8T8+9\nAFVIva2OmAlKCR5saBW3JaRxW7V2aHEd/d1ss1CvNOO7jNppc9NwGSnDHcn3rqNv\n/U3MaU0gpJJRqsKkvcLU6IHJGgxyQ6AbpwJDIqBnzkjHu2IuhGEbRuMjyWLA2qts\njyVlfPotDxUdVouUQpz7dGHUFrLR7ma8QAYuOfl1ZMyrc901HGMa7zwbnFWurs3f\ned7vAosTRZIjnn72/3Wo7L9RiMB+vwr3NX7c9QIDAQABAoIBAEQx32OlzK34GTKT\nr7Yicmw7xEGofIGa1Q2h3Lut13whsxKLif5X0rrcyqRnoeibacS+qXXrJolIG4rP\nTl8/3wmUDQHs5J+6fJqFM+fXZUCP4AFiFzzhgsPBsVyd0KbWYYrZ0qU7s0ttoRe+\nTGjuHgIe3ip1QKNtx2Xr50YmytDydknmro79J5Gfrub1l2iA8SDm1eBrQ4SFaNQ2\nU709pHeSwX8pTihUX2Zy0ifpr0O1wYQjGLneMoG4rrNQJG/z6iUdhYczwwt1kDRQ\n4WkM2sovFOyxbBfoCQ3Gy/eem7OXfjNKUe47DAVLnPkKbqL/3Lo9FD7kcB8K87Ap\nr/vYrl0CgYEA413RAk7571w5dM+VftrdbFZ+Yi1OPhUshlPSehavro8kMGDEG5Ts\n74wEz2X3cfMxauMpMrBk/XnUCZ20AnWQClK73RB5fzPw5XNv473Tt/AFmt7eLOzl\nOcYrhpEHegtsD/ZaljlGtPqsjQAL9Ijhao03m1cGB1+uxI7FgacdckcCgYEAzkKP\n6xu9+WqOol73cnlYPS3sSZssyUF+eqWSzq2YJGRmfr1fbdtHqAS1ZbyC5fZVNZYV\nml1vfXi2LDcU0qS04JazurVyQr2rJZMTlCWVET1vhik7Y87wgCkLwKpbwamPDmlI\n9GY+fLNEa4yfAOOpvpTJpenUScxyKWH2cdYFOOMCgYBhrJnvffINC/d64Pp+BpP8\nyKN+lav5K6t3AWd4H2rVeJS5W7ijiLTIq8QdPNayUyE1o+S8695WrhGTF/aO3+ZD\nKQufikZHiQ7B43d7xL7BVBF0WK3lateGnEVyh7dIjMOdj92Wj4B6mv2pjQ2VvX/p\nAEWVLCtg24/+zL64VgxmXQKBgGosyXj1Zu2ldJcQ28AJxup3YVLilkNje4AXC2No\n6RCSvlAvm5gpcNGE2vvr9lX6YBKdl7FGt8WXBe/sysNEFfgmm45ZKOBCUn+dHk78\nqaeeQHKHdxMBy7utZWdgSqt+ZS299NgaacA3Z9kVIiSLDS4V2VeW7riujXXP/9TJ\nnxaRAoGBAMWXOfNVzfTyrKff6gvDWH+hqNICLyzvkEn2utNY9Q6WwqGuY9fvP/4Z\nXzc48AOBzUr8OeA4sHKJ79sJirOiWHNfD1swtvyVzsFZb6moiNwD3Ce/FzYCa3lQ\nU8blTH/uqpR2pSC6whzJ/lnSdqHUqhyp00000000000000000000\n-----END RSA PRIVATE KEY-----\n"}} +HTTP/1.1 200 OK +server: nginx +date: Sat, 11 Jun 2016 18:50:50 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1465674527 +etag: W/"e7dc6ca9cd96889839628adf0d96c225" +cache-control: max-age=0, private, must-revalidate +x-request-id: 0fa852bc-5f6d-49b3-af98-313dd2449ef2 +x-runtime: 0.091833 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAtzCcMfWoQRt5AMEY0HUb2GaraL1GsWOo6YXdPfe+YDvtnmDw\n23NcoTX7VSeCgU9M3RKs19AsCJcRNTLJ2dmDrAuyCTud9YTAaXQcTOLUhtO8T8+9\nAFVIva2OmAlKCR5saBW3JaRxW7V2aHEd/d1ss1CvNOO7jNppc9NwGSnDHcn3rqNv\n/U3MaU0gpJJRqsKkvcLU6IHJGgxyQ6AbpwJDIqBnzkjHu2IuhGEbRuMjyWLA2qts\njyVlfPotDxUdVouUQpz7dGHUFrLR7ma8QAYuOfl1ZMyrc901HGMa7zwbnFWurs3f\ned7vAosTRZIjnn72/3Wo7L9RiMB+vwr3NX7c9QIDAQABAoIBAEQx32OlzK34GTKT\nr7Yicmw7xEGofIGa1Q2h3Lut13whsxKLif5X0rrcyqRnoeibacS+qXXrJolIG4rP\nTl8/3wmUDQHs5J+6fJqFM+fXZUCP4AFiFzzhgsPBsVyd0KbWYYrZ0qU7s0ttoRe+\nTGjuHgIe3ip1QKNtx2Xr50YmytDydknmro79J5Gfrub1l2iA8SDm1eBrQ4SFaNQ2\nU709pHeSwX8pTihUX2Zy0ifpr0O1wYQjGLneMoG4rrNQJG/z6iUdhYczwwt1kDRQ\n4WkM2sovFOyxbBfoCQ3Gy/eem7OXfjNKUe47DAVLnPkKbqL/3Lo9FD7kcB8K87Ap\nr/vYrl0CgYEA413RAk7571w5dM+VftrdbFZ+Yi1OPhUshlPSehavro8kMGDEG5Ts\n74wEz2X3cfMxauMpMrBk/XnUCZ20AnWQClK73RB5fzPw5XNv473Tt/AFmt7eLOzl\nOcYrhpEHegtsD/ZaljlGtPqsjQAL9Ijhao03m1cGB1+uxI7FgacdckcCgYEAzkKP\n6xu9+WqOol73cnlYPS3sSZssyUF+eqWSzq2YJGRmfr1fbdtHqAS1ZbyC5fZVNZYV\nml1vfXi2LDcU0qS04JazurVyQr2rJZMTlCWVET1vhik7Y87wgCkLwKpbwamPDmlI\n9GY+fLNEa4yfAOOpvpTJpenUScxyKWH2cdYFOOMCgYBhrJnvffINC/d64Pp+BpP8\nyKN+lav5K6t3AWd4H2rVeJS5W7ijiLTIq8QdPNayUyE1o+S8695WrhGTF/aO3+ZD\nKQufikZHiQ7B43d7xL7BVBF0WK3lateGnEVyh7dIjMOdj92Wj4B6mv2pjQ2VvX/p\nAEWVLCtg24/+zL64VgxmXQKBgGosyXj1Zu2ldJcQ28AJxup3YVLilkNje4AXC2No\n6RCSvlAvm5gpcNGE2vvr9lX6YBKdl7FGt8WXBe/sysNEFfgmm45ZKOBCUn+dHk78\nqaeeQHKHdxMBy7utZWdgSqt+ZS299NgaacA3Z9kVIiSLDS4V2VeW7riujXXP/9TJ\nnxaRAoGBAMWXOfNVzfTyrKff6gvDWH+hqNICLyzvkEn2utNY9Q6WwqGuY9fvP/4Z\nXzc48AOBzUr8OeA4sHKJ79sJirOiWHNfD1swtvyVzsFZb6moiNwD3Ce/FzYCa3lQ\nU8blTH/uqpR2pSC6whzJ/lnSdqHUqhyp00000000000000000000\n-----END RSA PRIVATE KEY-----\n"}} diff --git a/tests/fixtures/v2/api/getContact/success.http b/tests/fixtures/v2/api/getContact/success.http index dc227e9c..a208a2da 100644 --- a/tests/fixtures/v2/api/getContact/success.http +++ b/tests/fixtures/v2/api/getContact/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 19 Jan 2016 20:57:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3996 -X-RateLimit-Reset: 1453239045 -ETag: W/"165299b0ea3e5c1c80f1ae622146626f" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 4c0679ed-5c79-41bf-84cb-0dc2250a07ce -X-Runtime: 0.127802 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 19 Jan 2016 20:57:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3996 +x-ratelimit-reset: 1453239045 +etag: W/"165299b0ea3e5c1c80f1ae622146626f" +cache-control: max-age=0, private, must-revalidate +x-request-id: 4c0679ed-5c79-41bf-84cb-0dc2250a07ce +x-runtime: 0.127802 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} diff --git a/tests/fixtures/v2/api/getDelegationSignerRecord/success.http b/tests/fixtures/v2/api/getDelegationSignerRecord/success.http index 45cc96bb..06e93c6d 100644 --- a/tests/fixtures/v2/api/getDelegationSignerRecord/success.http +++ b/tests/fixtures/v2/api/getDelegationSignerRecord/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Fri, 03 Mar 2017 13:53:06 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1488552566 -ETag: W/"0aa4c6cec5adfa60dcf78ed2c3c661dd" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ccf90c89-d463-43c6-ac25-3839169e1afd -X-Runtime: 0.024246 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 13:53:06 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1488552566 +etag: W/"0aa4c6cec5adfa60dcf78ed2c3c661dd" +cache-control: max-age=0, private, must-revalidate +x-request-id: ccf90c89-d463-43c6-ac25-3839169e1afd +x-runtime: 0.024246 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"id":24,"domain_id":1010,"algorithm":"8","digest":"C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F","digest_type":"2","keytag":"44620","public_key":null,"created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}} diff --git a/tests/fixtures/v2/api/getDnssec/success.http b/tests/fixtures/v2/api/getDnssec/success.http index 0ec11416..9cb9c2ed 100644 --- a/tests/fixtures/v2/api/getDnssec/success.http +++ b/tests/fixtures/v2/api/getDnssec/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Fri, 03 Mar 2017 09:58:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488538623 -ETag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 -X-Runtime: 0.024780 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 09:58:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488538623 +etag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 +x-runtime: 0.024780 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"enabled":true,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}} diff --git a/tests/fixtures/v2/api/getDomain/success.http b/tests/fixtures/v2/api/getDomain/success.http index 43ce90fd..7e3562bc 100644 --- a/tests/fixtures/v2/api/getDomain/success.http +++ b/tests/fixtures/v2/api/getDomain/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 04 Jun 2020 19:37:22 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2379 -X-RateLimit-Reset: 1591300247 -ETag: W/"ff4a8463ecca39d4869695d66de60043" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 2e8259ab-c933-487e-8f85-d23f1cdf62fa -X-Runtime: 0.019482 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 04 Jun 2020 19:37:22 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2379 +x-ratelimit-reset: 1591300247 +etag: W/"ff4a8463ecca39d4869695d66de60043" +cache-control: max-age=0, private, must-revalidate +x-request-id: 2e8259ab-c933-487e-8f85-d23f1cdf62fa +x-runtime: 0.019482 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":181984,"account_id":1385,"registrant_id":2715,"name":"example-alpha.com","unicode_name":"example-alpha.com","state":"registered","auto_renew":false,"private_whois":false,"expires_on":"2021-06-05","expires_at":"2021-06-05T02:15:00Z","created_at":"2020-06-04T19:15:14Z","updated_at":"2020-06-04T19:15:21Z"}} diff --git a/tests/fixtures/v2/api/getDomainDelegation/success-empty.http b/tests/fixtures/v2/api/getDomainDelegation/success-empty.http index 24043aec..ec390bb8 100644 --- a/tests/fixtures/v2/api/getDomainDelegation/success-empty.http +++ b/tests/fixtures/v2/api/getDomainDelegation/success-empty.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 24 Mar 2016 11:13:41 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2393 -X-RateLimit-Reset: 1458821048 -ETag: W/"e0234245cb00aa260ccfa99a9a0b235e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: c88385f9-c8f7-435a-9060-0b1a27488b2b -X-Runtime: 0.206440 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 24 Mar 2016 11:13:41 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2393 +x-ratelimit-reset: 1458821048 +etag: W/"e0234245cb00aa260ccfa99a9a0b235e" +cache-control: max-age=0, private, must-revalidate +x-request-id: c88385f9-c8f7-435a-9060-0b1a27488b2b +x-runtime: 0.206440 +strict-transport-security: max-age=31536000 + {"data":[]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getDomainDelegation/success.http b/tests/fixtures/v2/api/getDomainDelegation/success.http index 1680272f..b12b29a0 100644 --- a/tests/fixtures/v2/api/getDomainDelegation/success.http +++ b/tests/fixtures/v2/api/getDomainDelegation/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 24 Mar 2016 11:17:18 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1458821048 -ETag: W/"cb540984f806b12ac437cc1f76092f90" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e53ac7b5-0d26-45bc-9226-09c2d34be293 -X-Runtime: 0.192986 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 24 Mar 2016 11:17:18 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1458821048 +etag: W/"cb540984f806b12ac437cc1f76092f90" +cache-control: max-age=0, private, must-revalidate +x-request-id: e53ac7b5-0d26-45bc-9226-09c2d34be293 +x-runtime: 0.192986 +strict-transport-security: max-age=31536000 + {"data":["ns1.dnsimple.com","ns2.dnsimple.com","ns3.dnsimple.com","ns4.dnsimple.com"]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getDomainPrices/failure.http b/tests/fixtures/v2/api/getDomainPrices/failure.http index 792dba54..f0fa12f0 100644 --- a/tests/fixtures/v2/api/getDomainPrices/failure.http +++ b/tests/fixtures/v2/api/getDomainPrices/failure.http @@ -1,19 +1,19 @@ -HTTP/1.1 400 Bad Request -Server: nginx -Date: Mon, 08 Mar 2021 14:35:58 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1615217645 -Cache-Control: no-cache -X-Request-Id: e414a674-63bb-4e54-b714-db5b516bb190 -X-Runtime: 0.009579 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' - +HTTP/1.1 400 Bad Request +server: nginx +date: Mon, 08 Mar 2021 14:35:58 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1615217645 +cache-control: no-cache +x-request-id: e414a674-63bb-4e54-b714-db5b516bb190 +x-runtime: 0.009579 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' + {"message":"TLD .PINEAPPLE is not supported"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getDomainPrices/success.http b/tests/fixtures/v2/api/getDomainPrices/success.http index a3b5c8d4..fec25b3a 100644 --- a/tests/fixtures/v2/api/getDomainPrices/success.http +++ b/tests/fixtures/v2/api/getDomainPrices/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Mon, 08 Mar 2021 14:35:26 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1615217645 -ETag: W/"2104f27f2877f429295359cfc409f9f7" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: b0d9e000-58a6-4254-af43-8735d26e12d9 -X-Runtime: 9.129301 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - -{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0,"restore_price":20.0}} +HTTP/1.1 200 OK +server: nginx +date: Mon, 08 Mar 2021 14:35:26 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1615217645 +etag: W/"2104f27f2877f429295359cfc409f9f7" +cache-control: max-age=0, private, must-revalidate +x-request-id: b0d9e000-58a6-4254-af43-8735d26e12d9 +x-runtime: 9.129301 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + +{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0,"restore_price":20.0}} diff --git a/tests/fixtures/v2/api/getDomainRegistration/success.http b/tests/fixtures/v2/api/getDomainRegistration/success.http index e10836d5..f5ccb107 100644 --- a/tests/fixtures/v2/api/getDomainRegistration/success.http +++ b/tests/fixtures/v2/api/getDomainRegistration/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 05 Jun 2020 18:23:53 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1591384034 -ETag: W/"80c5827934c13b1ca87a587d96e7d1e8" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 9f4959ee-06a9-488c-906e-27a570cafbbf -X-Runtime: 0.078429 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":361,"domain_id":104040,"registrant_id":2715,"period":1,"state":"registering","auto_renew":false,"whois_privacy":false,"created_at":"2023-01-27T17:44:32Z","updated_at":"2023-01-27T17:44:40Z"}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 05 Jun 2020 18:23:53 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1591384034 +etag: W/"80c5827934c13b1ca87a587d96e7d1e8" +cache-control: max-age=0, private, must-revalidate +x-request-id: 9f4959ee-06a9-488c-906e-27a570cafbbf +x-runtime: 0.078429 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + +{"data":{"id":361,"domain_id":104040,"registrant_id":2715,"period":1,"state":"registering","auto_renew":false,"whois_privacy":false,"created_at":"2023-01-27T17:44:32Z","updated_at":"2023-01-27T17:44:40Z"}} diff --git a/tests/fixtures/v2/api/getDomainRenewal/success.http b/tests/fixtures/v2/api/getDomainRenewal/success.http index 1e63781f..fb76f672 100644 --- a/tests/fixtures/v2/api/getDomainRenewal/success.http +++ b/tests/fixtures/v2/api/getDomainRenewal/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Fri, 09 Dec 2016 19:46:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1481315245 -ETag: W/"179d85ea8a26a3d5dc76e42de2d7918e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ba6f2707-5df0-4ffa-b91b-51d4460bab8e -X-Runtime: 13.571302 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":999,"period":1,"state":"renewed","created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-12T19:46:45Z"}} +HTTP/1.1 201 Created +server: nginx +date: Fri, 09 Dec 2016 19:46:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1481315245 +etag: W/"179d85ea8a26a3d5dc76e42de2d7918e" +cache-control: max-age=0, private, must-revalidate +x-request-id: ba6f2707-5df0-4ffa-b91b-51d4460bab8e +x-runtime: 13.571302 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":999,"period":1,"state":"renewed","created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-12T19:46:45Z"}} diff --git a/tests/fixtures/v2/api/getDomainRestore/success.http b/tests/fixtures/v2/api/getDomainRestore/success.http index 7045f346..29f2a284 100644 --- a/tests/fixtures/v2/api/getDomainRestore/success.http +++ b/tests/fixtures/v2/api/getDomainRestore/success.http @@ -1,22 +1,22 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sun, 18 Feb 2024 10:48:05 GMT -Content-Type: application/json -Content-Length: 120 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1547125899 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-cache -X-Request-Id: 2a8d691f-f47e-4d41-9916-eba67e683914 -X-Runtime: 0.004845 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=63072000 - -{"data":{"id":43,"domain_id":214,"state":"new","created_at":"2024-02-14T14:40:42Z","updated_at":"2024-02-14T14:40:42Z"}} +HTTP/1.1 200 OK +server: nginx +date: Sun, 18 Feb 2024 10:48:05 GMT +content-type: application/json +content-length: 120 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1547125899 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: 2a8d691f-f47e-4d41-9916-eba67e683914 +x-runtime: 0.004845 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=63072000 + +{"data":{"id":43,"domain_id":214,"state":"new","created_at":"2024-02-14T14:40:42Z","updated_at":"2024-02-14T14:40:42Z"}} diff --git a/tests/fixtures/v2/api/getDomainTransfer/success.http b/tests/fixtures/v2/api/getDomainTransfer/success.http index ef90c633..f302c731 100644 --- a/tests/fixtures/v2/api/getDomainTransfer/success.http +++ b/tests/fixtures/v2/api/getDomainTransfer/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 05 Jun 2020 18:23:53 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1591384034 -ETag: W/"80c5827934c13b1ca87a587d96e7d1e8" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 9f4959ee-06a9-488c-906e-27a570cafbbf -X-Runtime: 0.078429 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Fri, 05 Jun 2020 18:23:53 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1591384034 +etag: W/"80c5827934c13b1ca87a587d96e7d1e8" +cache-control: max-age=0, private, must-revalidate +x-request-id: 9f4959ee-06a9-488c-906e-27a570cafbbf +x-runtime: 0.078429 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":361,"domain_id":182245,"registrant_id":2715,"state":"cancelled","auto_renew":false,"whois_privacy":false,"status_description":"Canceled by customer","created_at":"2020-06-05T18:08:00Z","updated_at":"2020-06-05T18:10:01Z"}} diff --git a/tests/fixtures/v2/api/getDomainTransferLock/success.http b/tests/fixtures/v2/api/getDomainTransferLock/success.http index f93ffb3f..ace099dd 100644 --- a/tests/fixtures/v2/api/getDomainTransferLock/success.http +++ b/tests/fixtures/v2/api/getDomainTransferLock/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Tue, 15 Aug 2023 09:58:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1488538623 -ETag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 -X-Runtime: 0.024780 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Tue, 15 Aug 2023 09:58:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1488538623 +etag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786 +x-runtime: 0.024780 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"enabled":true}} diff --git a/tests/fixtures/v2/api/getEmailForward/success.http b/tests/fixtures/v2/api/getEmailForward/success.http index 5ee537c7..251f999b 100644 --- a/tests/fixtures/v2/api/getEmailForward/success.http +++ b/tests/fixtures/v2/api/getEmailForward/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Mon, 25 Jan 2021 13:56:24 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4766 -X-RateLimit-Reset: 1611583416 -ETag: W/"80ad3ad1e115a8123193447fa003f68a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8f3a9517-f623-4d14-be2b-3f332a4d7873 -X-Runtime: 0.010653 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com","active":true}} +HTTP/1.1 200 OK +server: nginx +date: Mon, 25 Jan 2021 13:56:24 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4766 +x-ratelimit-reset: 1611583416 +etag: W/"80ad3ad1e115a8123193447fa003f68a" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8f3a9517-f623-4d14-be2b-3f332a4d7873 +x-runtime: 0.010653 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + +{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com","active":true}} diff --git a/tests/fixtures/v2/api/getPrimaryServer/success.http b/tests/fixtures/v2/api/getPrimaryServer/success.http index 32f6122c..8b7ccc40 100644 --- a/tests/fixtures/v2/api/getPrimaryServer/success.http +++ b/tests/fixtures/v2/api/getPrimaryServer/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 17 Mar 2021 23:18:40 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2386 -X-RateLimit-Reset: 1616024599 -ETag: W/"ceda02163217bdb9e6850e2c36cbf163" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 259fc436-7146-4e6b-98fa-3c43f541482b -X-Runtime: 0.033067 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Wed, 17 Mar 2021 23:18:40 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2386 +x-ratelimit-reset: 1616024599 +etag: W/"ceda02163217bdb9e6850e2c36cbf163" +cache-control: max-age=0, private, must-revalidate +x-request-id: 259fc436-7146-4e6b-98fa-3c43f541482b +x-runtime: 0.033067 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":{"id":4,"account_id":531,"name":"PrimaryProduction","ip":"1.2.3.4","port":53,"linked_secondary_zones":[],"created_at":"2021-03-17T23:08:42Z","updated_at":"2021-03-17T23:08:42Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getRegistrantChange/success.http b/tests/fixtures/v2/api/getRegistrantChange/success.http index 14d35406..bf2eb01c 100644 --- a/tests/fixtures/v2/api/getRegistrantChange/success.http +++ b/tests/fixtures/v2/api/getRegistrantChange/success.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 -server: nginx -date: Tue, 22 Aug 2023 11:13:58 GMT -content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1692705338 -x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs -etag: W/"76c5d4c7579b754b94a42ac7fa37a901" -cache-control: max-age=0, private, must-revalidate -x-request-id: e910cd08-3f9c-4da4-9986-50dbe9c3bc55 -x-runtime: 0.022006 -strict-transport-security: max-age=63072000 - -{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}} +HTTP/1.1 200 +server: nginx +date: Tue, 22 Aug 2023 11:13:58 GMT +content-type: application/json; charset=utf-8 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1692705338 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"76c5d4c7579b754b94a42ac7fa37a901" +cache-control: max-age=0, private, must-revalidate +x-request-id: e910cd08-3f9c-4da4-9986-50dbe9c3bc55 +x-runtime: 0.022006 +strict-transport-security: max-age=63072000 + +{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}} diff --git a/tests/fixtures/v2/api/getService/success.http b/tests/fixtures/v2/api/getService/success.http index 8b635576..98270757 100644 --- a/tests/fixtures/v2/api/getService/success.http +++ b/tests/fixtures/v2/api/getService/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 15 Apr 2016 14:50:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1460735221 -ETag: W/"be453ad05df875577d40dbfbb479239a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 741b849f-dba6-4d0b-a68c-f47fe1aa3a54 -X-Runtime: 0.140632 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"name":"Service 1","sid":"service1","description":"First service example.","setup_description":null,"requires_setup":true,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[{"name":"username","label":"Service 1 Account Username","append":".service1.com","description":"Your Service 1 username is used to connect services to your account.","example":"username","password":false}]}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 15 Apr 2016 14:50:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1460735221 +etag: W/"be453ad05df875577d40dbfbb479239a" +cache-control: max-age=0, private, must-revalidate +x-request-id: 741b849f-dba6-4d0b-a68c-f47fe1aa3a54 +x-runtime: 0.140632 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"name":"Service 1","sid":"service1","description":"First service example.","setup_description":null,"requires_setup":true,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[{"name":"username","label":"Service 1 Account Username","append":".service1.com","description":"Your Service 1 username is used to connect services to your account.","example":"username","password":false}]}} diff --git a/tests/fixtures/v2/api/getTemplate/success.http b/tests/fixtures/v2/api/getTemplate/success.http index 1f8ea99e..b9f6f906 100644 --- a/tests/fixtures/v2/api/getTemplate/success.http +++ b/tests/fixtures/v2/api/getTemplate/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 22 Mar 2016 11:14:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1458648490 -ETag: W/"6a2c0c6789d853473765a5fc5662da2e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 3401ffd6-730f-42c0-856c-3b270ca4b35f -X-Runtime: 0.938420 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Tue, 22 Mar 2016 11:14:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1458648490 +etag: W/"6a2c0c6789d853473765a5fc5662da2e" +cache-control: max-age=0, private, must-revalidate +x-request-id: 3401ffd6-730f-42c0-856c-3b270ca4b35f +x-runtime: 0.938420 +strict-transport-security: max-age=31536000 + {"data":{"id":1,"account_id":1010,"name":"Alpha","sid":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58Z","updated_at":"2016-03-22T11:08:58Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getTemplateRecord/success.http b/tests/fixtures/v2/api/getTemplateRecord/success.http index 5d714fb3..27df7991 100644 --- a/tests/fixtures/v2/api/getTemplateRecord/success.http +++ b/tests/fixtures/v2/api/getTemplateRecord/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 03 May 2016 08:04:20 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1462265481 -ETag: W/"743142eab9fecf3edb41e9b3f30a903f" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 6484e900-7255-4194-9ff8-ae5650ebd765 -X-Runtime: 0.138017 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":301,"template_id":268,"name":"","content":"mx.example.com","ttl":600,"priority":10,"type":"MX","created_at":"2016-05-03T08:03:26Z","updated_at":"2016-05-03T08:03:26Z"}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 03 May 2016 08:04:20 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1462265481 +etag: W/"743142eab9fecf3edb41e9b3f30a903f" +cache-control: max-age=0, private, must-revalidate +x-request-id: 6484e900-7255-4194-9ff8-ae5650ebd765 +x-runtime: 0.138017 +strict-transport-security: max-age=31536000 + +{"data":{"id":301,"template_id":268,"name":"","content":"mx.example.com","ttl":600,"priority":10,"type":"MX","created_at":"2016-05-03T08:03:26Z","updated_at":"2016-05-03T08:03:26Z"}} diff --git a/tests/fixtures/v2/api/getTld/success.http b/tests/fixtures/v2/api/getTld/success.http index 354ce314..7936f1bf 100644 --- a/tests/fixtures/v2/api/getTld/success.http +++ b/tests/fixtures/v2/api/getTld/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 23 Sep 2016 09:06:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1474622397 -ETag: W/"8e3d87c11204e76362765aea4c0916e0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 426d0884-2583-45d8-8ab6-0e36050ba6dc -X-Runtime: 0.011580 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"tld":"com","tld_type":1,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true,"dnssec_interface_type":"ds","name_server_min":"2","name_server_max":"13"}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 23 Sep 2016 09:06:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1474622397 +etag: W/"8e3d87c11204e76362765aea4c0916e0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 426d0884-2583-45d8-8ab6-0e36050ba6dc +x-runtime: 0.011580 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"tld":"com","tld_type":1,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true,"dnssec_interface_type":"ds","name_server_min":"2","name_server_max":"13"}} diff --git a/tests/fixtures/v2/api/getTldExtendedAttributes/success-attributes.http b/tests/fixtures/v2/api/getTldExtendedAttributes/success-attributes.http index 42e91ae2..eb002bc5 100644 --- a/tests/fixtures/v2/api/getTldExtendedAttributes/success-attributes.http +++ b/tests/fixtures/v2/api/getTldExtendedAttributes/success-attributes.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sun, 28 Feb 2016 13:19:01 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1456669059 -ETag: W/"8fbf2767d4a37fb8a504dff8709c9f2a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 46f26f07-a46e-40d6-8d74-f41e75069b8a -X-Runtime: 0.527156 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Sun, 28 Feb 2016 13:19:01 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1456669059 +etag: W/"8fbf2767d4a37fb8a504dff8709c9f2a" +cache-control: max-age=0, private, must-revalidate +x-request-id: 46f26f07-a46e-40d6-8d74-f41e75069b8a +x-runtime: 0.527156 +strict-transport-security: max-age=31536000 + {"data":[{"name":"uk_legal_type","description":"Legal type of registrant contact","required":false,"options":[{"title":"UK Individual","value":"IND","description":"UK Individual (our default value)"},{"title":"Non-UK Individual (representing self)","value":"FIND","description":"Non-UK Individual (representing self)"},{"title":"UK Limited Company","value":"LTD","description":"UK Limited Company"},{"title":"UK Public Limited Company","value":"PLC","description":"UK Public Limited Company"},{"title":"UK Partnership","value":"PTNR","description":"UK Partnership"},{"title":"UK LLP","value":"LLP","description":"UK Limited Liability Partnership"},{"title":"UK Sole Trader","value":"STRA","description":"UK Sole Trader"},{"title":"UK Registered Charity","value":"RCHAR","description":"UK Registered Charity"},{"title":"UK Industrial/Provident Registered Company","value":"IP","description":"UK Industrial/Provident Registered Company"},{"title":"UK School","value":"SCH","description":"UK School"},{"title":"Other Foreign","value":"FOTHER","description":"Other foreign organizations"},{"title":"UK Government Body","value":"GOV","description":"UK Government Body"},{"title":"UK Corporation by Royal Charter","value":"CRC","description":"UK Corporation by Royal Charter"},{"title":"UK Statutory Body","value":"STAT","description":"UK Statutory Body"},{"title":"UK Entity (other)","value":"OTHER","description":"UK Entity (other)"},{"title":"Non-UK Corporation","value":"FCORP","description":"Non-UK Corporation"},{"title":"Non-UK Organization (other)","value":"FOTHER","description":"Non-UK Organization"}]},{"name":"uk_reg_co_no","description":"Company identification number","required":false,"options":[]},{"name":"registered_for","description":"Company or person domain is registered for (this must be accurate and CANNOT BE CHANGED)","required":true,"options":[]},{"name":"uk_reg_opt_out","description":"Hide registrant data in Nominet WHOIS","required":false,"options":[{"title":"No","value":"n","description":"Do not hide the registrant contact information in Nominet's WHOIS."},{"title":"Yes","value":"y","description":"Hide the registrant contact information in Nominet's WHOIS (only available to individuals)."}]}]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getTldExtendedAttributes/success-noattributes.http b/tests/fixtures/v2/api/getTldExtendedAttributes/success-noattributes.http index 5777d6a0..be4eb65e 100644 --- a/tests/fixtures/v2/api/getTldExtendedAttributes/success-noattributes.http +++ b/tests/fixtures/v2/api/getTldExtendedAttributes/success-noattributes.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sun, 28 Feb 2016 13:19:18 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3996 -X-RateLimit-Reset: 1456669058 -ETag: W/"e0234245cb00aa260ccfa99a9a0b235e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 414e9bf2-4681-4769-a3e0-ed9b8905edcc -X-Runtime: 0.459391 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Sun, 28 Feb 2016 13:19:18 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3996 +x-ratelimit-reset: 1456669058 +etag: W/"e0234245cb00aa260ccfa99a9a0b235e" +cache-control: max-age=0, private, must-revalidate +x-request-id: 414e9bf2-4681-4769-a3e0-ed9b8905edcc +x-runtime: 0.459391 +strict-transport-security: max-age=31536000 + {"data":[]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getTldExtendedAttributes/success.http b/tests/fixtures/v2/api/getTldExtendedAttributes/success.http index 42e91ae2..eb002bc5 100644 --- a/tests/fixtures/v2/api/getTldExtendedAttributes/success.http +++ b/tests/fixtures/v2/api/getTldExtendedAttributes/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Sun, 28 Feb 2016 13:19:01 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1456669059 -ETag: W/"8fbf2767d4a37fb8a504dff8709c9f2a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 46f26f07-a46e-40d6-8d74-f41e75069b8a -X-Runtime: 0.527156 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Sun, 28 Feb 2016 13:19:01 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1456669059 +etag: W/"8fbf2767d4a37fb8a504dff8709c9f2a" +cache-control: max-age=0, private, must-revalidate +x-request-id: 46f26f07-a46e-40d6-8d74-f41e75069b8a +x-runtime: 0.527156 +strict-transport-security: max-age=31536000 + {"data":[{"name":"uk_legal_type","description":"Legal type of registrant contact","required":false,"options":[{"title":"UK Individual","value":"IND","description":"UK Individual (our default value)"},{"title":"Non-UK Individual (representing self)","value":"FIND","description":"Non-UK Individual (representing self)"},{"title":"UK Limited Company","value":"LTD","description":"UK Limited Company"},{"title":"UK Public Limited Company","value":"PLC","description":"UK Public Limited Company"},{"title":"UK Partnership","value":"PTNR","description":"UK Partnership"},{"title":"UK LLP","value":"LLP","description":"UK Limited Liability Partnership"},{"title":"UK Sole Trader","value":"STRA","description":"UK Sole Trader"},{"title":"UK Registered Charity","value":"RCHAR","description":"UK Registered Charity"},{"title":"UK Industrial/Provident Registered Company","value":"IP","description":"UK Industrial/Provident Registered Company"},{"title":"UK School","value":"SCH","description":"UK School"},{"title":"Other Foreign","value":"FOTHER","description":"Other foreign organizations"},{"title":"UK Government Body","value":"GOV","description":"UK Government Body"},{"title":"UK Corporation by Royal Charter","value":"CRC","description":"UK Corporation by Royal Charter"},{"title":"UK Statutory Body","value":"STAT","description":"UK Statutory Body"},{"title":"UK Entity (other)","value":"OTHER","description":"UK Entity (other)"},{"title":"Non-UK Corporation","value":"FCORP","description":"Non-UK Corporation"},{"title":"Non-UK Organization (other)","value":"FOTHER","description":"Non-UK Organization"}]},{"name":"uk_reg_co_no","description":"Company identification number","required":false,"options":[]},{"name":"registered_for","description":"Company or person domain is registered for (this must be accurate and CANNOT BE CHANGED)","required":true,"options":[]},{"name":"uk_reg_opt_out","description":"Hide registrant data in Nominet WHOIS","required":false,"options":[{"title":"No","value":"n","description":"Do not hide the registrant contact information in Nominet's WHOIS."},{"title":"Yes","value":"y","description":"Hide the registrant contact information in Nominet's WHOIS (only available to individuals)."}]}]} \ No newline at end of file diff --git a/tests/fixtures/v2/api/getWebhook/success.http b/tests/fixtures/v2/api/getWebhook/success.http index 43add2ea..8dc7ee8a 100644 --- a/tests/fixtures/v2/api/getWebhook/success.http +++ b/tests/fixtures/v2/api/getWebhook/success.http @@ -1,16 +1,16 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 15 Feb 2016 17:06:09 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3992 -X-RateLimit-Reset: 1455559348 -ETag: W/"cbb707ff6fc185d71f5a8df3110f1379" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 0109ea48-b7f0-4f78-a970-6866653b83eb -X-Runtime: 0.087618 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 15 Feb 2016 17:06:09 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3992 +x-ratelimit-reset: 1455559348 +etag: W/"cbb707ff6fc185d71f5a8df3110f1379" +cache-control: max-age=0, private, must-revalidate +x-request-id: 0109ea48-b7f0-4f78-a970-6866653b83eb +x-runtime: 0.087618 +strict-transport-security: max-age=31536000 {"data":{"id":1,"url":"https://webhook.test","suppressed_at":null}} diff --git a/tests/fixtures/v2/api/getZone/success.http b/tests/fixtures/v2/api/getZone/success.http index 615312ae..716c11f0 100644 --- a/tests/fixtures/v2/api/getZone/success.http +++ b/tests/fixtures/v2/api/getZone/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 22 Jan 2016 16:54:14 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3995 -X-RateLimit-Reset: 1453484046 -ETag: W/"2161245abd349a34cba32a970e6424ba" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 93182033-a215-484e-a107-5235fa48001c -X-Runtime: 0.177942 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 22 Jan 2016 16:54:14 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3995 +x-ratelimit-reset: 1453484046 +etag: W/"2161245abd349a34cba32a970e6424ba" +cache-control: max-age=0, private, must-revalidate +x-request-id: 93182033-a215-484e-a107-5235fa48001c +x-runtime: 0.177942 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}} diff --git a/tests/fixtures/v2/api/getZoneFile/success.http b/tests/fixtures/v2/api/getZoneFile/success.http index 4c45a556..91664790 100644 --- a/tests/fixtures/v2/api/getZoneFile/success.http +++ b/tests/fixtures/v2/api/getZoneFile/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 20 Jul 2016 09:04:24 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1469008918 -ETag: W/"85eb7f1ef577371eadf7d5b05203a60e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: eb3c7bc0-882d-4bb4-873d-aa4d4a3ddc81 -X-Runtime: 0.021226 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 20 Jul 2016 09:04:24 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1469008918 +etag: W/"85eb7f1ef577371eadf7d5b05203a60e" +cache-control: max-age=0, private, must-revalidate +x-request-id: eb3c7bc0-882d-4bb4-873d-aa4d4a3ddc81 +x-runtime: 0.021226 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"zone":"$ORIGIN example.com.\n$TTL 1h\nexample.com. 3600 IN SOA ns1.dnsimple.com. admin.dnsimple.com. 1453132552 86400 7200 604800 300\nexample.com. 3600 IN NS ns1.dnsimple.com.\nexample.com. 3600 IN NS ns2.dnsimple.com.\nexample.com. 3600 IN NS ns3.dnsimple.com.\nexample.com. 3600 IN NS ns4.dnsimple.com.\n"}} diff --git a/tests/fixtures/v2/api/getZoneRecord/success.http b/tests/fixtures/v2/api/getZoneRecord/success.http index 3aed56cc..b02496ea 100644 --- a/tests/fixtures/v2/api/getZoneRecord/success.http +++ b/tests/fixtures/v2/api/getZoneRecord/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 05 Oct 2016 09:53:54 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1475662530 -ETag: W/"d4d22097268cd23fab63ef3e9982b5c1" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8a07b24d-6f59-4012-9f53-6cae893f0372 -X-Runtime: 0.051822 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 05 Oct 2016 09:53:54 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1475662530 +etag: W/"d4d22097268cd23fab63ef3e9982b5c1" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8a07b24d-6f59-4012-9f53-6cae893f0372 +x-runtime: 0.051822 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"id":5,"zone_id":"example.com","parent_id":null,"name":"","content":"mxa.example.com","ttl":600,"priority":10,"type":"MX","regions":["SV1", "IAD"],"system_record":false,"created_at":"2016-10-05T09:51:35Z","updated_at":"2016-10-05T09:51:35Z"}} diff --git a/tests/fixtures/v2/api/initiatePush/success.http b/tests/fixtures/v2/api/initiatePush/success.http index 49c7514c..3d11e2a8 100644 --- a/tests/fixtures/v2/api/initiatePush/success.http +++ b/tests/fixtures/v2/api/initiatePush/success.http @@ -1,20 +1,20 @@ HTTP/1.1 201 Created -Server: nginx -Date: Thu, 11 Aug 2016 10:16:03 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2395 -X-RateLimit-Reset: 1470913058 -ETag: W/"fbbdec6f757e014f6f0b2159090aed80" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 3c3f4bee-3e06-4998-8946-02d4fae26fa4 -X-Runtime: 0.601397 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 11 Aug 2016 10:16:03 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2395 +x-ratelimit-reset: 1470913058 +etag: W/"fbbdec6f757e014f6f0b2159090aed80" +cache-control: max-age=0, private, must-revalidate +x-request-id: 3c3f4bee-3e06-4998-8946-02d4fae26fa4 +x-runtime: 0.601397 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"id":1,"domain_id":100,"contact_id":null,"account_id":2020,"created_at":"2016-08-11T10:16:03Z","updated_at":"2016-08-11T10:16:03Z","accepted_at":null}} diff --git a/tests/fixtures/v2/api/issueLetsencryptCertificate/success.http b/tests/fixtures/v2/api/issueLetsencryptCertificate/success.http index 8e3e969e..965566e7 100644 --- a/tests/fixtures/v2/api/issueLetsencryptCertificate/success.http +++ b/tests/fixtures/v2/api/issueLetsencryptCertificate/success.http @@ -1,18 +1,18 @@ -HTTP/1.1 202 Accepted -Server: nginx -Date: Thu, 18 Jun 2020 18:56:21 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4798 -X-RateLimit-Reset: 1592510057 -Cache-Control: no-cache -X-Request-Id: 1d6bdd7c-a88e-4ac2-9d12-36699a32b006 -X-Runtime: 0.884870 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none - +HTTP/1.1 202 Accepted +server: nginx +date: Thu, 18 Jun 2020 18:56:21 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4798 +x-ratelimit-reset: 1592510057 +cache-control: no-cache +x-request-id: 1d6bdd7c-a88e-4ac2-9d12-36699a32b006 +x-runtime: 0.884870 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none + {"data":{"id":101967,"domain_id":289333,"contact_id":2511,"name":"www","common_name":"www.bingo.pizza","years":1,"csr":null,"state":"requesting","auto_renew":false,"alternate_names":[],"authority_identifier":"letsencrypt","created_at":"2020-06-18T18:54:17Z","updated_at":"2020-06-18T18:56:20Z","expires_at":null,"expires_on":null}} diff --git a/tests/fixtures/v2/api/issueRenewalLetsencryptCertificate/success.http b/tests/fixtures/v2/api/issueRenewalLetsencryptCertificate/success.http index a799ab0d..14d3f62d 100644 --- a/tests/fixtures/v2/api/issueRenewalLetsencryptCertificate/success.http +++ b/tests/fixtures/v2/api/issueRenewalLetsencryptCertificate/success.http @@ -1,18 +1,18 @@ -HTTP/1.1 202 Accepted -Server: nginx -Date: Thu, 18 Jun 2020 20:05:26 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4798 -X-RateLimit-Reset: 1592513780 -Cache-Control: no-cache -X-Request-Id: a7194bb4-aea4-42c6-846f-cd96f5f3cf5c -X-Runtime: 0.897152 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none - +HTTP/1.1 202 Accepted +server: nginx +date: Thu, 18 Jun 2020 20:05:26 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4798 +x-ratelimit-reset: 1592513780 +cache-control: no-cache +x-request-id: a7194bb4-aea4-42c6-846f-cd96f5f3cf5c +x-runtime: 0.897152 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none + {"data":{"id":101972,"domain_id":289333,"contact_id":2511,"name":"www","common_name":"www.bingo.pizza","years":1,"csr":null,"state":"requesting","auto_renew":false,"alternate_names":[],"authority_identifier":"letsencrypt","created_at":"2020-06-18T19:56:20Z","updated_at":"2020-06-18T20:05:26Z","expires_at":null,"expires_on":null}} diff --git a/tests/fixtures/v2/api/linkPrimaryServer/success.http b/tests/fixtures/v2/api/linkPrimaryServer/success.http index 87f3d068..35342094 100644 --- a/tests/fixtures/v2/api/linkPrimaryServer/success.http +++ b/tests/fixtures/v2/api/linkPrimaryServer/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 17 Mar 2021 23:29:51 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2384 -X-RateLimit-Reset: 1616024598 -ETag: W/"911f7a8bf729e066d3d0aedce7eaab4e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 104a8bbe-a4a7-41b1-9d51-499596f5b228 -X-Runtime: 0.249251 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Wed, 17 Mar 2021 23:29:51 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2384 +x-ratelimit-reset: 1616024598 +etag: W/"911f7a8bf729e066d3d0aedce7eaab4e" +cache-control: max-age=0, private, must-revalidate +x-request-id: 104a8bbe-a4a7-41b1-9d51-499596f5b228 +x-runtime: 0.249251 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":{"id":4,"account_id":531,"name":"PrimaryProduction","ip":"1.2.3.4","port":53,"linked_secondary_zones":["secondaryzone.com"],"created_at":"2021-03-17T23:08:42Z","updated_at":"2021-03-17T23:08:42Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/listAccounts/success-account.http b/tests/fixtures/v2/api/listAccounts/success-account.http index c15759ab..c3dc4dce 100644 --- a/tests/fixtures/v2/api/listAccounts/success-account.http +++ b/tests/fixtures/v2/api/listAccounts/success-account.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 14 Jun 2016 12:02:58 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1465908577 -ETag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f705b65b-3589-43ad-97ca-3b2821d49d81 -X-Runtime: 0.012661 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"}]} +HTTP/1.1 200 OK +server: nginx +date: Tue, 14 Jun 2016 12:02:58 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1465908577 +etag: W/"9ef3b4bf1f441a9b1cd6d7041bc181aa" +cache-control: max-age=0, private, must-revalidate +x-request-id: f705b65b-3589-43ad-97ca-3b2821d49d81 +x-runtime: 0.012661 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"}]} diff --git a/tests/fixtures/v2/api/listAccounts/success-user.http b/tests/fixtures/v2/api/listAccounts/success-user.http index f65db893..cbd017c3 100644 --- a/tests/fixtures/v2/api/listAccounts/success-user.http +++ b/tests/fixtures/v2/api/listAccounts/success-user.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 14 Jun 2016 12:05:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2390 -X-RateLimit-Reset: 1465908577 -ETag: W/"b8dc5b6e94652da599d15d4668b723b5" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 745455ba-3871-440d-b703-1448b9708c14 -X-Runtime: 0.014727 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} +HTTP/1.1 200 OK +server: nginx +date: Tue, 14 Jun 2016 12:05:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2390 +x-ratelimit-reset: 1465908577 +etag: W/"b8dc5b6e94652da599d15d4668b723b5" +cache-control: max-age=0, private, must-revalidate +x-request-id: 745455ba-3871-440d-b703-1448b9708c14 +x-runtime: 0.014727 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} diff --git a/tests/fixtures/v2/api/listCertificates/success.http b/tests/fixtures/v2/api/listCertificates/success.http index 71f830ec..ccb5d05d 100644 --- a/tests/fixtures/v2/api/listCertificates/success.http +++ b/tests/fixtures/v2/api/listCertificates/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 18 Jun 2020 20:35:23 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4797 -X-RateLimit-Reset: 1592513780 -ETag: W/"29d46b533190f5693be4f1133adf99c0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 6f25214b-8e5a-4095-8e44-d7998b05aa8d -X-Runtime: 0.026239 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 18 Jun 2020 20:35:23 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4797 +x-ratelimit-reset: 1592513780 +etag: W/"29d46b533190f5693be4f1133adf99c0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 6f25214b-8e5a-4095-8e44-d7998b05aa8d +x-runtime: 0.026239 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":[{"id":101973,"domain_id":14279,"contact_id":11435,"name":"www2","common_name":"www2.dnsimple.us","years":1,"csr":"-----BEGIN CERTIFICATE REQUEST-----\nMIICYDCCAUgCAQAwGzEZMBcGA1UEAwwQd3d3Mi5kbnNpbXBsZS51czCCASIwDQYJ\nKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMjXrephLTu7OKVQ6F3LhmLkL6NL3ier\n1qaWPtJBbkBuzJIn8gmSG+6xGmywB6GKvP2IVkPQhPBpfc8wsTd26rbSBHnRIQal\ntk+W4aQZyIeXFARY+cRvpjeAtmpX0vwZkDMoEyhFomBfGxVfx6tSqdGlR88/x0By\ny5u7+xwkY+4jMt+wZi+wpXsScumB6DAC1PTYRvNFQy7Gcjqrc3EdzPsn3c9kLCNO\n3GCPJoWmT5Rtyd7FxjJiSIf7BDOi12BnblpSLwGvtu6Wrl+u9LJLj8zeCACwUiQG\nuvnP2lAl2YacNAgpql6C2eEnFjIub7Ul1QMUImQSDVy5dMd/UGQrOb0CAwEAAaAA\nMA0GCSqGSIb3DQEBCwUAA4IBAQA8oVxOrZCGeSFmKpNV4oilzPOepTVSWxXa19T7\nzD/azh6j6RBLZPpG4TFbpvjecum+1V7Y8ypIcwhRtlh5/zSbfJkjJsdCdZU9XZat\nT5YkOaxuCUCDajpRiyyKhHvrloTPKPXe5ygCq/Q23xm//VrXKArLSWVB9qWS6gDV\nk0y3/mIlTQ3mTgfYQySc3MPXvIgUoqmB8Ajfq1n3hSLgb1/OoKNfeVEWsON116cq\nbXvl63+XzPubj6KWZXZH/jhrs53fuLq3xyeeuOaPrn+2VceBVt4DCC9n0JS5wepl\nHDoVxtWTTNeJdP5xFB5V1KI+D4FEFBUGnQABEvajpU3vljh3\n-----END CERTIFICATE REQUEST-----\n","state":"issued","auto_renew":false,"alternate_names":[],"authority_identifier":"letsencrypt","created_at":"2020-06-18T20:15:09Z","updated_at":"2020-06-18T20:30:08Z","expires_at":"2020-09-16T19:30:07Z","expires_on":"2020-09-16"},{"id":101969,"domain_id":14279,"contact_id":11435,"name":"www","common_name":"www.dnsimple.us","years":1,"csr":"-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmRuc2ltcGxlLnVzMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4rVs1z42xmPj6KdE++D182/wyMH1GG4p\nESK99FQbMimjOvYcidFTySKpSvEv5Dhmj5fb79vogBuCZQetm5Es37Gboc+D02SO\n48uE8LisuYhx1yBKryXSYnVaWz9oxEuVLtf+aq/Yt1HTu3/zzMWKPRN79OmYgWnl\n03ISfDmgzxqViYPIAObge8nB5TzlQbDV9W9eQWs12IYg4pfI+b+c9VrnMYjdz2Lk\nEhIYThIQRSi5IfNbDu8YiG87V0bTtzeT6lq2Lh3+IkyhBkF10xaivnwac1MfK/25\ntZg2PYCzG56Bf3xTtjo5P0Eb7LlBZLlwLs3hXvlU0eV2LAWm38v3wwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtkbnNpbXBsZS51c4IPd3d3LmRu\nc2ltcGxlLnVzMA0GCSqGSIb3DQEBCwUAA4IBAQBiYQ5/Dp2JML1UgYmUNqfOfKKV\nZS9HiX1OcR6bkHHIEzDV1iqDdZ/0Uqr7p6rmLkVIaDWUdano2jtMEIRGC1c8q9bH\nRlzubdyYXbBGE+iGho5crzu5Hwit3Z3J2C6f28NvfqN5Ume3jLr90qbG+1HULsUF\nR3tCKTzvvs4QAKXbo+eEafDNFToGzd0cxpesdlzu3zDu5rHfLz862QifmWZzN6JS\nj1/Q+TedS5EknTaOwGjm1od0zuD3YRJ+XzGq1G8MbuxYWXqaGQRo0TzZlYW6Ax1C\n9utnEQ5Uc+z9ejjZSv03p1VzO7bV7AOz3F40M3IfM8qQ4YMeXbGWJ98jrWDe\n-----END CERTIFICATE REQUEST-----\n","state":"issued","auto_renew":false,"alternate_names":[],"authority_identifier":"letsencrypt","created_at":"2020-06-18T19:22:51Z","updated_at":"2020-06-18T19:40:13Z","expires_at":"2020-09-16T18:40:12Z","expires_on":"2020-09-16"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listCharges/fail-400-bad-filter.http b/tests/fixtures/v2/api/listCharges/fail-400-bad-filter.http index ef9c2ff8..13b77dfa 100644 --- a/tests/fixtures/v2/api/listCharges/fail-400-bad-filter.http +++ b/tests/fixtures/v2/api/listCharges/fail-400-bad-filter.http @@ -1,12 +1,12 @@ HTTP/1.1 400 Bad Request -Date: Tue, 24 Oct 2023 08:13:01 GMT -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2392 -X-RateLimit-Reset: 1698136677 -Content-Type: application/json; charset=utf-8 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-cache -X-Request-Id: bdfbf3a7-d9dc-4018-9732-61502be989a3 -X-Runtime: 0.455303 +date: Tue, 24 Oct 2023 08:13:01 GMT +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2392 +x-ratelimit-reset: 1698136677 +content-type: application/json; charset=utf-8 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: bdfbf3a7-d9dc-4018-9732-61502be989a3 +x-runtime: 0.455303 {"message":"Invalid date format must be ISO8601 (YYYY-MM-DD)"} diff --git a/tests/fixtures/v2/api/listCharges/fail-403.http b/tests/fixtures/v2/api/listCharges/fail-403.http index 35563317..41c72f0c 100644 --- a/tests/fixtures/v2/api/listCharges/fail-403.http +++ b/tests/fixtures/v2/api/listCharges/fail-403.http @@ -1,12 +1,12 @@ HTTP/1.1 403 Forbidden -Date: Tue, 24 Oct 2023 09:49:29 GMT -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1698143967 -Content-Type: application/json; charset=utf-8 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-cache -X-Request-Id: 5554e2d3-2652-4ca7-8c5e-92b4c35f28d6 -X-Runtime: 0.035309 +date: Tue, 24 Oct 2023 09:49:29 GMT +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1698143967 +content-type: application/json; charset=utf-8 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: 5554e2d3-2652-4ca7-8c5e-92b4c35f28d6 +x-runtime: 0.035309 {"message":"Permission Denied. Required Scope: billing:*:read"} diff --git a/tests/fixtures/v2/api/listCharges/success.http b/tests/fixtures/v2/api/listCharges/success.http index 5581a048..70e5d038 100644 --- a/tests/fixtures/v2/api/listCharges/success.http +++ b/tests/fixtures/v2/api/listCharges/success.http @@ -1,12 +1,12 @@ HTTP/1.1 200 OK -Date: Tue, 24 Oct 2023 09:52:55 GMT -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1698143967 -Content-Type: application/json; charset=utf-8 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-store, must-revalidate, private, max-age=0 -X-Request-Id: a57a87c8-626a-4361-9fb8-b55ca9be8e5d -X-Runtime: 0.060526 +date: Tue, 24 Oct 2023 09:52:55 GMT +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1698143967 +content-type: application/json; charset=utf-8 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-store, must-revalidate, private, max-age=0 +x-request-id: a57a87c8-626a-4361-9fb8-b55ca9be8e5d +x-runtime: 0.060526 {"data":[{"invoiced_at":"2023-08-17T05:53:36Z","total_amount":"14.50","balance_amount":"0.00","reference":"1-2","state":"collected","items":[{"description":"Register bubble-registered.com","amount":"14.50","product_id":1,"product_type":"domain-registration","product_reference":"bubble-registered.com"}]},{"invoiced_at":"2023-08-17T05:57:53Z","total_amount":"14.50","balance_amount":"0.00","reference":"2-2","state":"refunded","items":[{"description":"Register example.com","amount":"14.50","product_id":2,"product_type":"domain-registration","product_reference":"example.com"}]},{"invoiced_at":"2023-10-24T07:49:05Z","total_amount":"1099999.99","balance_amount":"0.00","reference":"4-2","state":"collected","items":[{"description":"Test Line Item 1","amount":"99999.99","product_id":null,"product_type":"manual","product_reference":null},{"description":"Test Line Item 2","amount":"1000000.00","product_id":null,"product_type":"manual","product_reference":null}]}],"pagination":{"current_page":1,"per_page":30,"total_entries":3,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listContacts/success.http b/tests/fixtures/v2/api/listContacts/success.http index 2f465743..cdc91c6f 100644 --- a/tests/fixtures/v2/api/listContacts/success.http +++ b/tests/fixtures/v2/api/listContacts/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 19 Jan 2016 18:35:01 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3998 -X-RateLimit-Reset: 1453232080 -ETag: W/"42b9dd8efe7dec210d55855cdf2debae" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 7871da61-ecf1-4771-8560-efbcf7f4b961 -X-Runtime: 0.067822 -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2013-11-08T17:23:15Z","updated_at":"2015-01-08T21:30:50Z"},{"id":2,"account_id":1010,"label":"","first_name":"Second","last_name":"User","job_title":"","organization_name":"","email":"second@example.com","phone":"+18881234567","fax":"","address1":"French Street","address2":"c/o Someone","city":"Paris","state_province":"XY","postal_code":"00200","country":"FR","created_at":"2014-12-06T15:46:18Z","updated_at":"2014-12-06T15:46:18Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 19 Jan 2016 18:35:01 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3998 +x-ratelimit-reset: 1453232080 +etag: W/"42b9dd8efe7dec210d55855cdf2debae" +cache-control: max-age=0, private, must-revalidate +x-request-id: 7871da61-ecf1-4771-8560-efbcf7f4b961 +x-runtime: 0.067822 +strict-transport-security: max-age=31536000 + +{"data":[{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2013-11-08T17:23:15Z","updated_at":"2015-01-08T21:30:50Z"},{"id":2,"account_id":1010,"label":"","first_name":"Second","last_name":"User","job_title":"","organization_name":"","email":"second@example.com","phone":"+18881234567","fax":"","address1":"French Street","address2":"c/o Someone","city":"Paris","state_province":"XY","postal_code":"00200","country":"FR","created_at":"2014-12-06T15:46:18Z","updated_at":"2014-12-06T15:46:18Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listDelegationSignerRecords/success.http b/tests/fixtures/v2/api/listDelegationSignerRecords/success.http index b471dd1b..7da0b787 100644 --- a/tests/fixtures/v2/api/listDelegationSignerRecords/success.http +++ b/tests/fixtures/v2/api/listDelegationSignerRecords/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Fri, 03 Mar 2017 13:50:42 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1488552565 -ETag: W/"33c8bbfc699dba2c259b8ec2596ae40d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ef8f1fe9-d342-41c4-a7bc-402434c53458 -X-Runtime: 0.019866 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 03 Mar 2017 13:50:42 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1488552565 +etag: W/"33c8bbfc699dba2c259b8ec2596ae40d" +cache-control: max-age=0, private, must-revalidate +x-request-id: ef8f1fe9-d342-41c4-a7bc-402434c53458 +x-runtime: 0.019866 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":24,"domain_id":1010,"algorithm":"8","digest":"C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F","digest_type":"2","keytag":"44620","public_key":null,"created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listDomains/success.http b/tests/fixtures/v2/api/listDomains/success.http index ff3b1f6c..7c8ad402 100644 --- a/tests/fixtures/v2/api/listDomains/success.http +++ b/tests/fixtures/v2/api/listDomains/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 04 Jun 2020 19:54:16 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1591304056 -ETag: W/"732eac2d85c19810f4e84dbc0eaafb9d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 458d7b96-bb1a-469a-817e-4fd65c0f1db3 -X-Runtime: 0.125593 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 04 Jun 2020 19:54:16 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1591304056 +etag: W/"732eac2d85c19810f4e84dbc0eaafb9d" +cache-control: max-age=0, private, must-revalidate +x-request-id: 458d7b96-bb1a-469a-817e-4fd65c0f1db3 +x-runtime: 0.125593 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":[{"id":181984,"account_id":1385,"registrant_id":2715,"name":"example-alpha.com","unicode_name":"example-alpha.com","state":"registered","auto_renew":false,"private_whois":false,"expires_on":"2021-06-05","expires_at":"2021-06-05T02:15:00Z","created_at":"2020-06-04T19:15:14Z","updated_at":"2020-06-04T19:15:21Z"},{"id":181985,"account_id":1385,"registrant_id":null,"name":"example-beta.com","unicode_name":"example-beta.com","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"expires_at":null,"created_at":"2020-06-04T19:47:05Z","updated_at":"2020-06-04T19:47:05Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listEmailForwards/success.http b/tests/fixtures/v2/api/listEmailForwards/success.http index 24e05fd0..c81d92ec 100644 --- a/tests/fixtures/v2/api/listEmailForwards/success.http +++ b/tests/fixtures/v2/api/listEmailForwards/success.http @@ -1,16 +1,16 @@ HTTP/1.1 200 OK -Server: nginx -Date: Fri, 17 May 2024 09:07:28 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4748 -X-RateLimit-Reset: 1715936948 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -ETag: W/"a5eed9a071f03e10fc67001ccc647a94" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e42df983-a8a5-4123-8c74-fb89ab934aba -X-Runtime: 0.025456 -Strict-Transport-Security: max-age=63072000 +server: nginx +date: Fri, 17 May 2024 09:07:28 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4748 +x-ratelimit-reset: 1715936948 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"a5eed9a071f03e10fc67001ccc647a94" +cache-control: max-age=0, private, must-revalidate +x-request-id: e42df983-a8a5-4123-8c74-fb89ab934aba +x-runtime: 0.025456 +strict-transport-security: max-age=63072000 {"data":[{"id":24809,"domain_id":235146,"alias_email":".*@a-domain.com","destination_email":"jane.smith@example.com","created_at":"2017-05-25T19:23:16Z","updated_at":"2017-05-25T19:23:16Z","from":".*@a-domain.com","to":"jane.smith@example.com","active":true}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listPrimaryServers/success.http b/tests/fixtures/v2/api/listPrimaryServers/success.http index 621c4afa..9d579ce1 100644 --- a/tests/fixtures/v2/api/listPrimaryServers/success.http +++ b/tests/fixtures/v2/api/listPrimaryServers/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 17 Mar 2021 22:45:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1616024598 -ETag: W/"1a8276fb3483d6954afe139480753c5b" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 411f7b7c-3ebb-4b6a-a986-5ffd8dcd4144 -X-Runtime: 0.159587 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Wed, 17 Mar 2021 22:45:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1616024598 +etag: W/"1a8276fb3483d6954afe139480753c5b" +cache-control: max-age=0, private, must-revalidate +x-request-id: 411f7b7c-3ebb-4b6a-a986-5ffd8dcd4144 +x-runtime: 0.159587 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":[{"id":1,"account_id":531,"name":"Primary","ip":"1.1.1.1","port":4567,"linked_secondary_zones":[],"created_at":"2021-03-05T18:02:23Z","updated_at":"2021-03-05T18:02:23Z"},{"id":2,"account_id":531,"name":"Primary Production","ip":"1.1.1.1","port":4567,"linked_secondary_zones":["secondaryzone.com"],"created_at":"2021-03-16T20:33:34Z","updated_at":"2021-03-16T20:33:34Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/listPushes/success.http b/tests/fixtures/v2/api/listPushes/success.http index 27695c84..c223bbde 100644 --- a/tests/fixtures/v2/api/listPushes/success.http +++ b/tests/fixtures/v2/api/listPushes/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Thu, 11 Aug 2016 10:19:54 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2393 -X-RateLimit-Reset: 1470913058 -ETag: W/"fd29a0a43fb53ae2e5186232361fa4b9" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 12611d3b-aee5-49e3-a8bf-bd7899b1e797 -X-Runtime: 0.045678 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 11 Aug 2016 10:19:54 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2393 +x-ratelimit-reset: 1470913058 +etag: W/"fd29a0a43fb53ae2e5186232361fa4b9" +cache-control: max-age=0, private, must-revalidate +x-request-id: 12611d3b-aee5-49e3-a8bf-bd7899b1e797 +x-runtime: 0.045678 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":1,"domain_id":100,"contact_id":null,"account_id":2020,"created_at":"2016-08-11T10:16:03Z","updated_at":"2016-08-11T10:16:03Z","accepted_at":null},{"id":2,"domain_id":101,"contact_id":null,"account_id":2020,"created_at":"2016-08-11T10:18:48Z","updated_at":"2016-08-11T10:18:48Z","accepted_at":null}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listRegistrantChanges/success.http b/tests/fixtures/v2/api/listRegistrantChanges/success.http index 5d245e67..cb9e6190 100644 --- a/tests/fixtures/v2/api/listRegistrantChanges/success.http +++ b/tests/fixtures/v2/api/listRegistrantChanges/success.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 -server: nginx -date: Tue, 22 Aug 2023 11:12:49 GMT -content-type: application/json; charset=utf-8 -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2393 -X-RateLimit-Reset: 1692705338 -x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs -etag: W/"0049703ea058b06346df4c0e169eac29" -cache-control: max-age=0, private, must-revalidate -x-request-id: fd0334ce-414a-4872-8889-e548e0b1410c -x-runtime: 0.030759 -strict-transport-security: max-age=63072000 - -{"data":[{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}} +HTTP/1.1 200 +server: nginx +date: Tue, 22 Aug 2023 11:12:49 GMT +content-type: application/json; charset=utf-8 +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2393 +x-ratelimit-reset: 1692705338 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +etag: W/"0049703ea058b06346df4c0e169eac29" +cache-control: max-age=0, private, must-revalidate +x-request-id: fd0334ce-414a-4872-8889-e548e0b1410c +x-runtime: 0.030759 +strict-transport-security: max-age=63072000 + +{"data":[{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listServices/success.http b/tests/fixtures/v2/api/listServices/success.http index 43ef9241..e5bf506f 100644 --- a/tests/fixtures/v2/api/listServices/success.http +++ b/tests/fixtures/v2/api/listServices/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Sat, 10 Dec 2016 22:37:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2399 -X-RateLimit-Reset: 1481413033 -ETag: W/"65425ab4559f111f28bc952f3b672d48" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 9a5dadcb-8e90-4fe9-ad60-be13ba3d3970 -X-Runtime: 0.263229 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Sat, 10 Dec 2016 22:37:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2399 +x-ratelimit-reset: 1481413033 +etag: W/"65425ab4559f111f28bc952f3b672d48" +cache-control: max-age=0, private, must-revalidate +x-request-id: 9a5dadcb-8e90-4fe9-ad60-be13ba3d3970 +x-runtime: 0.263229 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":1,"name":"Service 1","sid":"service1","description":"First service example.","setup_description":null,"requires_setup":false,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[]},{"id":2,"name":"Service 2","sid":"service2","description":"Second service example.","setup_description":null,"requires_setup":true,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[{"name":"username","label":"Service 2 Account Username","append":".service2.com","description":"Your Service2 username is used to connect services to your account.","example":"username","password":false}]}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/listTemplateRecords/success.http b/tests/fixtures/v2/api/listTemplateRecords/success.http index a0155e3f..8ad72475 100644 --- a/tests/fixtures/v2/api/listTemplateRecords/success.http +++ b/tests/fixtures/v2/api/listTemplateRecords/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 03 May 2016 08:07:17 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1462265481 -ETag: W/"3e53584bcf1ce7c7ee4c0bdf734224fa" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 79c25a93-0660-4479-a71f-201c26309e00 -X-Runtime: 0.252889 -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":296,"template_id":268,"name":"","content":"192.168.1.1","ttl":3600,"priority":null,"type":"A","created_at":"2016-04-26T08:23:54Z","updated_at":"2016-04-26T08:23:54Z"},{"id":298,"template_id":268,"name":"www","content":"{{domain}}","ttl":3600,"priority":null,"type":"CNAME","created_at":"2016-04-26T08:25:11Z","updated_at":"2016-04-26T08:25:11Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 03 May 2016 08:07:17 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1462265481 +etag: W/"3e53584bcf1ce7c7ee4c0bdf734224fa" +cache-control: max-age=0, private, must-revalidate +x-request-id: 79c25a93-0660-4479-a71f-201c26309e00 +x-runtime: 0.252889 +strict-transport-security: max-age=31536000 + +{"data":[{"id":296,"template_id":268,"name":"","content":"192.168.1.1","ttl":3600,"priority":null,"type":"A","created_at":"2016-04-26T08:23:54Z","updated_at":"2016-04-26T08:23:54Z"},{"id":298,"template_id":268,"name":"www","content":"{{domain}}","ttl":3600,"priority":null,"type":"CNAME","created_at":"2016-04-26T08:25:11Z","updated_at":"2016-04-26T08:25:11Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listTemplates/success.http b/tests/fixtures/v2/api/listTemplates/success.http index 83e72cc1..63ccfbaa 100644 --- a/tests/fixtures/v2/api/listTemplates/success.http +++ b/tests/fixtures/v2/api/listTemplates/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 22 Mar 2016 11:11:50 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1458648490 -ETag: W/"2d1c99cff82eace0e995d901b465bbde" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 774e871f-8bda-40d7-bed9-bd907e872987 -X-Runtime: 0.193956 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Tue, 22 Mar 2016 11:11:50 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1458648490 +etag: W/"2d1c99cff82eace0e995d901b465bbde" +cache-control: max-age=0, private, must-revalidate +x-request-id: 774e871f-8bda-40d7-bed9-bd907e872987 +x-runtime: 0.193956 +strict-transport-security: max-age=31536000 + {"data":[{"id":1,"account_id":1010,"name":"Alpha","sid":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58Z","updated_at":"2016-03-22T11:08:58Z"},{"id":2,"account_id":1010,"name":"Beta","sid":"beta","description":"A beta template.","created_at":"2016-03-22T11:11:26Z","updated_at":"2016-03-22T11:11:26Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/listTlds/success.http b/tests/fixtures/v2/api/listTlds/success.http index 2d847434..09327c73 100644 --- a/tests/fixtures/v2/api/listTlds/success.http +++ b/tests/fixtures/v2/api/listTlds/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 23 Sep 2016 08:22:50 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1474622397 -ETag: W/"06436132982cdf558bc1472b1e15a786" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: c78c1f6c-2143-4646-9049-313ccd9e24bd -X-Runtime: 0.012861 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":[{"tld":"ac","tld_type":2,"whois_privacy":false,"auto_renew_only":true,"idn":false,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":false,"dnssec_interface_type":"ds","name_server_min":"2","name_server_max":"13"},{"tld":"academy","tld_type":3,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true,"dnssec_interface_type":"key","name_server_min":"2","name_server_max":"13"}],"pagination":{"current_page":1,"per_page":2,"total_entries":195,"total_pages":98}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 23 Sep 2016 08:22:50 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1474622397 +etag: W/"06436132982cdf558bc1472b1e15a786" +cache-control: max-age=0, private, must-revalidate +x-request-id: c78c1f6c-2143-4646-9049-313ccd9e24bd +x-runtime: 0.012861 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":[{"tld":"ac","tld_type":2,"whois_privacy":false,"auto_renew_only":true,"idn":false,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":false,"dnssec_interface_type":"ds","name_server_min":"2","name_server_max":"13"},{"tld":"academy","tld_type":3,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true,"dnssec_interface_type":"key","name_server_min":"2","name_server_max":"13"}],"pagination":{"current_page":1,"per_page":2,"total_entries":195,"total_pages":98}} diff --git a/tests/fixtures/v2/api/listWebhooks/success.http b/tests/fixtures/v2/api/listWebhooks/success.http index 71eb612b..ff96db30 100644 --- a/tests/fixtures/v2/api/listWebhooks/success.http +++ b/tests/fixtures/v2/api/listWebhooks/success.http @@ -1,16 +1,16 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 15 Feb 2016 17:06:21 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3991 -X-RateLimit-Reset: 1455559348 -ETag: W/"01f1ea26e8e06d8d969bf06678bf7d12" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: bc611cd0-d1a9-48d0-b450-c9c86f0d0dcf -X-Runtime: 0.104174 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 15 Feb 2016 17:06:21 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3991 +x-ratelimit-reset: 1455559348 +etag: W/"01f1ea26e8e06d8d969bf06678bf7d12" +cache-control: max-age=0, private, must-revalidate +x-request-id: bc611cd0-d1a9-48d0-b450-c9c86f0d0dcf +x-runtime: 0.104174 +strict-transport-security: max-age=31536000 {"data":[{"id":1,"url":"https://webhook.test","suppressed_at":null},{"id":2,"url":"https://another.test","suppressed_at":null}]} diff --git a/tests/fixtures/v2/api/listZoneRecords/success.http b/tests/fixtures/v2/api/listZoneRecords/success.http index 2565e76d..69ff8e34 100644 --- a/tests/fixtures/v2/api/listZoneRecords/success.http +++ b/tests/fixtures/v2/api/listZoneRecords/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 05 Oct 2016 09:27:02 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1475662531 -ETag: W/"4a6291c6424d22726fb7087cfdf99ab9" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 8a2279ac-709e-42ac-8964-95a5534acfb9 -X-Runtime: 0.271719 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 05 Oct 2016 09:27:02 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1475662531 +etag: W/"4a6291c6424d22726fb7087cfdf99ab9" +cache-control: max-age=0, private, must-revalidate +x-request-id: 8a2279ac-709e-42ac-8964-95a5534acfb9 +x-runtime: 0.271719 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":[{"id":1,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.dnsimple.com admin.dnsimple.com 1458642070 86400 7200 604800 300","ttl":3600,"priority":null,"type":"SOA","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-10-05T09:26:38Z"},{"id":69061,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":2,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":3,"zone_id":"example.com","parent_id":null,"name":"","content":"ns3.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":4,"zone_id":"example.com","parent_id":null,"name":"","content":"ns4.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":5,"total_pages":1}} diff --git a/tests/fixtures/v2/api/listZones/success.http b/tests/fixtures/v2/api/listZones/success.http index 85c808cc..29d15fc4 100644 --- a/tests/fixtures/v2/api/listZones/success.http +++ b/tests/fixtures/v2/api/listZones/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 22 Jan 2016 16:54:24 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3994 -X-RateLimit-Reset: 1453484045 -ETag: W/"485e03204e1853519bd637be743f2b25" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 01be9fa5-3a00-4d51-a927-f17587cb67ec -X-Runtime: 0.037083 -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 22 Jan 2016 16:54:24 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3994 +x-ratelimit-reset: 1453484045 +etag: W/"485e03204e1853519bd637be743f2b25" +cache-control: max-age=0, private, must-revalidate +x-request-id: 01be9fa5-3a00-4d51-a927-f17587cb67ec +x-runtime: 0.037083 +strict-transport-security: max-age=31536000 + +{"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} diff --git a/tests/fixtures/v2/api/method-not-allowed.http b/tests/fixtures/v2/api/method-not-allowed.http index efdc5714..0d83a2ce 100644 --- a/tests/fixtures/v2/api/method-not-allowed.http +++ b/tests/fixtures/v2/api/method-not-allowed.http @@ -1,10 +1,10 @@ HTTP/1.1 405 Method Not Allowed -Server: nginx -Date: Fri, 15 Apr 2016 14:15:04 GMT -Connection: keep-alive -Status: 405 Method Not Allowed -Allow: DELETE, GET, HEAD, PATCH, POST -Cache-Control: no-cache -X-Request-Id: 64c0a5e1-4cbb-4287-98a7-93085a77ac55 -X-Runtime: 0.050104 +server: nginx +date: Fri, 15 Apr 2016 14:15:04 GMT +connection: keep-alive +status: 405 Method Not Allowed +allow: DELETE, GET, HEAD, PATCH, POST +cache-control: no-cache +x-request-id: 64c0a5e1-4cbb-4287-98a7-93085a77ac55 +x-runtime: 0.050104 diff --git a/tests/fixtures/v2/api/notfound-certificate.http b/tests/fixtures/v2/api/notfound-certificate.http index 2012cfc8..696e2d0b 100644 --- a/tests/fixtures/v2/api/notfound-certificate.http +++ b/tests/fixtures/v2/api/notfound-certificate.http @@ -1,15 +1,15 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Tue, 19 Jul 2016 08:56:34 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Cache-Control: no-cache -X-Request-Id: 9a51fa7e-cc9b-498b-bf8d-ee3b2819c0c6 -X-Runtime: 0.040469 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Tue, 19 Jul 2016 08:56:34 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +cache-control: no-cache +x-request-id: 9a51fa7e-cc9b-498b-bf8d-ee3b2819c0c6 +x-runtime: 0.040469 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"Certificate `0` not found"} diff --git a/tests/fixtures/v2/api/notfound-contact.http b/tests/fixtures/v2/api/notfound-contact.http index 20baa093..01d7d942 100644 --- a/tests/fixtures/v2/api/notfound-contact.http +++ b/tests/fixtures/v2/api/notfound-contact.http @@ -1,11 +1,11 @@ -HTTP/1.1 404 Not Found -Server: nginx -Date: Tue, 19 Jan 2016 21:04:48 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: a57d4e23-3155-477e-8469-e897b27c03e5 -X-Runtime: 0.014159 - +HTTP/1.1 404 Not Found +server: nginx +date: Tue, 19 Jan 2016 21:04:48 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: a57d4e23-3155-477e-8469-e897b27c03e5 +x-runtime: 0.014159 + {"message":"Contact `0` not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/notfound-delegationSignerRecord.http b/tests/fixtures/v2/api/notfound-delegationSignerRecord.http index d10c9640..27a3684d 100644 --- a/tests/fixtures/v2/api/notfound-delegationSignerRecord.http +++ b/tests/fixtures/v2/api/notfound-delegationSignerRecord.http @@ -1,11 +1,11 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Thu, 04 Feb 2016 14:44:56 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 50eea494-cc14-4db0-bc11-306aa525bbfd -X-Runtime: 0.028036 +server: nginx +date: Thu, 04 Feb 2016 14:44:56 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 50eea494-cc14-4db0-bc11-306aa525bbfd +x-runtime: 0.028036 {"message":"Delegation signer record `0` not found"} diff --git a/tests/fixtures/v2/api/notfound-domain.http b/tests/fixtures/v2/api/notfound-domain.http index dc529bb2..24f49f8c 100644 --- a/tests/fixtures/v2/api/notfound-domain.http +++ b/tests/fixtures/v2/api/notfound-domain.http @@ -1,11 +1,11 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Wed, 16 Dec 2015 22:07:20 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Strict-Transport-Security: max-age=31536000 -Cache-Control: no-cache -X-Request-Id: bc587ea7-bcd5-4c10-a940-a9b4c8339824 -X-Runtime: 0.059966 +server: nginx +date: Wed, 16 Dec 2015 22:07:20 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +strict-transport-security: max-age=31536000 +cache-control: no-cache +x-request-id: bc587ea7-bcd5-4c10-a940-a9b4c8339824 +x-runtime: 0.059966 {"message":"Domain `0` not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/notfound-domainpush.http b/tests/fixtures/v2/api/notfound-domainpush.http index 3f858f29..c58ecca4 100644 --- a/tests/fixtures/v2/api/notfound-domainpush.http +++ b/tests/fixtures/v2/api/notfound-domainpush.http @@ -1,11 +1,11 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Thu, 04 Feb 2016 14:44:56 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 50eea494-cc14-4db0-bc11-306aa525bbfd -X-Runtime: 0.028036 +server: nginx +date: Thu, 04 Feb 2016 14:44:56 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 50eea494-cc14-4db0-bc11-306aa525bbfd +x-runtime: 0.028036 {"message":"Domain push `0` not found"} diff --git a/tests/fixtures/v2/api/notfound-emailforward.http b/tests/fixtures/v2/api/notfound-emailforward.http index 8f8154a9..562d51f5 100644 --- a/tests/fixtures/v2/api/notfound-emailforward.http +++ b/tests/fixtures/v2/api/notfound-emailforward.http @@ -1,11 +1,11 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Thu, 04 Feb 2016 14:44:56 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 50eea494-cc14-4db0-bc11-306aa525bbfd -X-Runtime: 0.028036 +server: nginx +date: Thu, 04 Feb 2016 14:44:56 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 50eea494-cc14-4db0-bc11-306aa525bbfd +x-runtime: 0.028036 {"message":"Email forward `0` not found"} diff --git a/tests/fixtures/v2/api/notfound-record.http b/tests/fixtures/v2/api/notfound-record.http index a9bbdcfb..efb53d7e 100644 --- a/tests/fixtures/v2/api/notfound-record.http +++ b/tests/fixtures/v2/api/notfound-record.http @@ -1,11 +1,11 @@ -HTTP/1.1 404 Not Found -Server: nginx -Date: Fri, 22 Jan 2016 16:46:07 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 35af0fd2-d020-4f70-861e-b6a42a190bf6 -X-Runtime: 0.018847 - +HTTP/1.1 404 Not Found +server: nginx +date: Fri, 22 Jan 2016 16:46:07 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 35af0fd2-d020-4f70-861e-b6a42a190bf6 +x-runtime: 0.018847 + {"message":"Record `0` not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/notfound-template.http b/tests/fixtures/v2/api/notfound-template.http index 28de8641..ebda2128 100644 --- a/tests/fixtures/v2/api/notfound-template.http +++ b/tests/fixtures/v2/api/notfound-template.http @@ -1,11 +1,11 @@ -HTTP/1.1 404 Not Found -Server: nginx -Date: Wed, 04 May 2016 09:35:45 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 8d380d93-b974-4d51-82a3-5b10bce4167a -X-Runtime: 0.071884 - +HTTP/1.1 404 Not Found +server: nginx +date: Wed, 04 May 2016 09:35:45 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 8d380d93-b974-4d51-82a3-5b10bce4167a +x-runtime: 0.071884 + {"message":"Template `beta` not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/notfound-webhook.http b/tests/fixtures/v2/api/notfound-webhook.http index 0906f731..4fba3932 100644 --- a/tests/fixtures/v2/api/notfound-webhook.http +++ b/tests/fixtures/v2/api/notfound-webhook.http @@ -1,11 +1,11 @@ HTTP/1.1 404 Not Found -Server: nginx -Date: Thu, 03 Mar 2016 11:55:29 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 4f154fa2-3ce9-4bdd-88a3-42ccc8dbc087 -X-Runtime: 0.012159 +server: nginx +date: Thu, 03 Mar 2016 11:55:29 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 4f154fa2-3ce9-4bdd-88a3-42ccc8dbc087 +x-runtime: 0.012159 {"message":"Webhook `0` not found"} diff --git a/tests/fixtures/v2/api/notfound-whoisprivacy.http b/tests/fixtures/v2/api/notfound-whoisprivacy.http index d2fa54bb..1f86dfcd 100644 --- a/tests/fixtures/v2/api/notfound-whoisprivacy.http +++ b/tests/fixtures/v2/api/notfound-whoisprivacy.http @@ -1,11 +1,11 @@ -HTTP/1.1 404 Not Found -Server: nginx -Date: Sat, 13 Feb 2016 14:34:32 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: d5ce788e-bd8d-4edb-bcd6-50a1deacd595 -X-Runtime: 0.031090 - +HTTP/1.1 404 Not Found +server: nginx +date: Sat, 13 Feb 2016 14:34:32 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: d5ce788e-bd8d-4edb-bcd6-50a1deacd595 +x-runtime: 0.031090 + {"message":"Whois privacy for example-1455121347.com not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/notfound-zone.http b/tests/fixtures/v2/api/notfound-zone.http index ee2b1a8a..a98de818 100644 --- a/tests/fixtures/v2/api/notfound-zone.http +++ b/tests/fixtures/v2/api/notfound-zone.http @@ -1,11 +1,11 @@ -HTTP/1.1 404 Not Found -Server: nginx -Date: Fri, 22 Jan 2016 16:46:02 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 404 Not Found -Cache-Control: no-cache -X-Request-Id: 9c19bef5-6902-421c-9f91-dec3bae26102 -X-Runtime: 0.014705 - +HTTP/1.1 404 Not Found +server: nginx +date: Fri, 22 Jan 2016 16:46:02 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 404 Not Found +cache-control: no-cache +x-request-id: 9c19bef5-6902-421c-9f91-dec3bae26102 +x-runtime: 0.014705 + {"message":"Zone `0` not found"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/oauthAccessToken/error-invalid-request.http b/tests/fixtures/v2/api/oauthAccessToken/error-invalid-request.http index 6c5b7def..01cb3149 100644 --- a/tests/fixtures/v2/api/oauthAccessToken/error-invalid-request.http +++ b/tests/fixtures/v2/api/oauthAccessToken/error-invalid-request.http @@ -1,15 +1,15 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Mon, 08 Feb 2016 21:24:19 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 30 -X-RateLimit-Remaining: 29 -X-RateLimit-Reset: 1454970259 -ETag: W/"def417b4ade951f8148bb6a4fa3fcf5a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e8c544cf-fcc3-4762-a200-60c0320a2575 -X-Runtime: 0.105600 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Mon, 08 Feb 2016 21:24:19 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 30 +x-ratelimit-remaining: 29 +x-ratelimit-reset: 1454970259 +etag: W/"def417b4ade951f8148bb6a4fa3fcf5a" +cache-control: max-age=0, private, must-revalidate +x-request-id: e8c544cf-fcc3-4762-a200-60c0320a2575 +x-runtime: 0.105600 +strict-transport-security: max-age=31536000 {"error":"invalid_request","error_description":"Invalid \"state\": value doesn't match the \"state\" in the authorization request"} diff --git a/tests/fixtures/v2/api/oauthAccessToken/success.http b/tests/fixtures/v2/api/oauthAccessToken/success.http index c8af71bd..94ac7cef 100644 --- a/tests/fixtures/v2/api/oauthAccessToken/success.http +++ b/tests/fixtures/v2/api/oauthAccessToken/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Mon, 08 Feb 2016 21:24:19 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 30 -X-RateLimit-Remaining: 29 -X-RateLimit-Reset: 1454970259 -ETag: W/"def417b4ade951f8148bb6a4fa3fcf5a" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e8c544cf-fcc3-4762-a200-60c0320a2575 -X-Runtime: 0.105600 -Strict-Transport-Security: max-age=31536000 - -{"access_token":"zKQ7OLqF5N1gylcJweA9WodA000BUNJD","token_type":"Bearer","scope":null,"account_id":1} +HTTP/1.1 200 OK +server: nginx +date: Mon, 08 Feb 2016 21:24:19 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 30 +x-ratelimit-remaining: 29 +x-ratelimit-reset: 1454970259 +etag: W/"def417b4ade951f8148bb6a4fa3fcf5a" +cache-control: max-age=0, private, must-revalidate +x-request-id: e8c544cf-fcc3-4762-a200-60c0320a2575 +x-runtime: 0.105600 +strict-transport-security: max-age=31536000 + +{"access_token":"zKQ7OLqF5N1gylcJweA9WodA000BUNJD","token_type":"Bearer","scope":null,"account_id":1} diff --git a/tests/fixtures/v2/api/pages-1of3.http b/tests/fixtures/v2/api/pages-1of3.http index ef0aa975..d568fc6c 100644 --- a/tests/fixtures/v2/api/pages-1of3.http +++ b/tests/fixtures/v2/api/pages-1of3.http @@ -1,15 +1,15 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 16 Dec 2015 13:36:11 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1450272970 -ETag: W/"2679531e6cce6cd326f255255d7a0005" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 -X-Runtime: 0.093714 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 16 Dec 2015 13:36:11 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1450272970 +etag: W/"2679531e6cce6cd326f255255d7a0005" +cache-control: max-age=0, private, must-revalidate +x-request-id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 +x-runtime: 0.093714 +strict-transport-security: max-age=31536000 {"data":[{"id":1},{"id":2}],"pagination":{"current_page":1,"per_page":2,"total_entries":5,"total_pages":3}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/pages-2of3.http b/tests/fixtures/v2/api/pages-2of3.http index ffbd168a..18139645 100644 --- a/tests/fixtures/v2/api/pages-2of3.http +++ b/tests/fixtures/v2/api/pages-2of3.http @@ -1,15 +1,15 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 16 Dec 2015 13:36:11 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1450272970 -ETag: W/"2679531e6cce6cd326f255255d7a0005" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 -X-Runtime: 0.093714 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 16 Dec 2015 13:36:11 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1450272970 +etag: W/"2679531e6cce6cd326f255255d7a0005" +cache-control: max-age=0, private, must-revalidate +x-request-id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 +x-runtime: 0.093714 +strict-transport-security: max-age=31536000 {"data":[{"id":3},{"id":4}],"pagination":{"current_page":2,"per_page":2,"total_entries":5,"total_pages":3}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/pages-3of3.http b/tests/fixtures/v2/api/pages-3of3.http index 9f0db7fb..ab072750 100644 --- a/tests/fixtures/v2/api/pages-3of3.http +++ b/tests/fixtures/v2/api/pages-3of3.http @@ -1,15 +1,15 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 16 Dec 2015 13:36:11 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1450272970 -ETag: W/"2679531e6cce6cd326f255255d7a0005" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 -X-Runtime: 0.093714 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 16 Dec 2015 13:36:11 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1450272970 +etag: W/"2679531e6cce6cd326f255255d7a0005" +cache-control: max-age=0, private, must-revalidate +x-request-id: a87f1b44-150a-4ed0-b7da-9301fa1465b0 +x-runtime: 0.093714 +strict-transport-security: max-age=31536000 {"data":[{"id":5}],"pagination":{"current_page":3,"per_page":2,"total_entries":5,"total_pages":3}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/purchaseLetsencryptCertificate/success.http b/tests/fixtures/v2/api/purchaseLetsencryptCertificate/success.http index 1c764aa5..ba1dd1b9 100644 --- a/tests/fixtures/v2/api/purchaseLetsencryptCertificate/success.http +++ b/tests/fixtures/v2/api/purchaseLetsencryptCertificate/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Thu, 18 Jun 2020 18:54:17 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4799 -X-RateLimit-Reset: 1592510057 -ETag: W/"36ffdd6505ed488a3aeeaace031c5869" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 4e99c95d-6d19-48ea-8d63-e68432631c90 -X-Runtime: 0.098745 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Thu, 18 Jun 2020 18:54:17 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4799 +x-ratelimit-reset: 1592510057 +etag: W/"36ffdd6505ed488a3aeeaace031c5869" +cache-control: max-age=0, private, must-revalidate +x-request-id: 4e99c95d-6d19-48ea-8d63-e68432631c90 +x-runtime: 0.098745 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":101967,"certificate_id":101967,"state":"new","auto_renew":false,"created_at":"2020-06-18T18:54:17Z","updated_at":"2020-06-18T18:54:17Z"}} diff --git a/tests/fixtures/v2/api/purchaseRenewalLetsencryptCertificate/success.http b/tests/fixtures/v2/api/purchaseRenewalLetsencryptCertificate/success.http index 1765f7d4..50445e8f 100644 --- a/tests/fixtures/v2/api/purchaseRenewalLetsencryptCertificate/success.http +++ b/tests/fixtures/v2/api/purchaseRenewalLetsencryptCertificate/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Thu, 18 Jun 2020 19:56:20 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4800 -X-RateLimit-Remaining: 4799 -X-RateLimit-Reset: 1592513780 -ETag: W/"84dd908f85153590082766bd8d1f1056" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: f43f4d80-a7eb-43d3-b1ec-95eba413894e -X-Runtime: 0.091216 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 201 Created +server: nginx +date: Thu, 18 Jun 2020 19:56:20 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4800 +x-ratelimit-remaining: 4799 +x-ratelimit-reset: 1592513780 +etag: W/"84dd908f85153590082766bd8d1f1056" +cache-control: max-age=0, private, must-revalidate +x-request-id: f43f4d80-a7eb-43d3-b1ec-95eba413894e +x-runtime: 0.091216 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +strict-transport-security: max-age=31536000 + {"data":{"id":65082,"old_certificate_id":101967,"new_certificate_id":101972,"state":"new","auto_renew":false,"created_at":"2020-06-18T19:56:20Z","updated_at":"2020-06-18T19:56:20Z"}} diff --git a/tests/fixtures/v2/api/registerDomain/error-extended-attributes.http b/tests/fixtures/v2/api/registerDomain/error-extended-attributes.http index ce39c34a..b63a0206 100644 --- a/tests/fixtures/v2/api/registerDomain/error-extended-attributes.http +++ b/tests/fixtures/v2/api/registerDomain/error-extended-attributes.http @@ -1,18 +1,18 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Wed, 23 Nov 2016 08:12:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1479892333 -Cache-Control: no-cache -X-Request-Id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 -X-Runtime: 0.062556 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Wed, 23 Nov 2016 08:12:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1479892333 +cache-control: no-cache +x-request-id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 +x-runtime: 0.062556 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"Invalid extended attributes","errors":{"x-accept-ssl-requirement": "it's required", "x-id-number": "invalid number"}} diff --git a/tests/fixtures/v2/api/registerDomain/success.http b/tests/fixtures/v2/api/registerDomain/success.http index 98f82654..66c012d4 100644 --- a/tests/fixtures/v2/api/registerDomain/success.http +++ b/tests/fixtures/v2/api/registerDomain/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Fri, 09 Dec 2016 19:35:38 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1481315246 -ETag: W/"440b25022ab55cd8e84be64356bfd7d9" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: aac22ee4-31d7-4d71-ad3d-d0004f5cf370 -X-Runtime: 11.906207 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":999,"registrant_id":2,"period":1,"state":"new","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}} +HTTP/1.1 201 Created +server: nginx +date: Fri, 09 Dec 2016 19:35:38 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1481315246 +etag: W/"440b25022ab55cd8e84be64356bfd7d9" +cache-control: max-age=0, private, must-revalidate +x-request-id: aac22ee4-31d7-4d71-ad3d-d0004f5cf370 +x-runtime: 11.906207 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":999,"registrant_id":2,"period":1,"state":"new","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}} diff --git a/tests/fixtures/v2/api/rejectPush/success.http b/tests/fixtures/v2/api/rejectPush/success.http index 92126b49..ec1c4ad5 100644 --- a/tests/fixtures/v2/api/rejectPush/success.http +++ b/tests/fixtures/v2/api/rejectPush/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Thu, 11 Aug 2016 10:24:54 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1470913059 -Cache-Control: no-cache -X-Request-Id: c0258478-1392-49b2-9b94-67b173acae12 -X-Runtime: 0.174739 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Thu, 11 Aug 2016 10:24:54 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1470913059 +cache-control: no-cache +x-request-id: c0258478-1392-49b2-9b94-67b173acae12 +x-runtime: 0.174739 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/renewDomain/error-tooearly.http b/tests/fixtures/v2/api/renewDomain/error-tooearly.http index 0ed443a6..300fbae0 100644 --- a/tests/fixtures/v2/api/renewDomain/error-tooearly.http +++ b/tests/fixtures/v2/api/renewDomain/error-tooearly.http @@ -1,14 +1,14 @@ -HTTP/1.1 400 Bad Request -Server: nginx -Date: Mon, 15 Feb 2016 15:06:35 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 400 Bad Request -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3998 -X-RateLimit-Reset: 1455552316 -Cache-Control: no-cache -X-Request-Id: 0c1507d3-4c03-4ba3-b2bd-b0cabf021ed8 -X-Runtime: 0.256476 - -{"message":"example.com may not be renewed at this time","errors":{}} +HTTP/1.1 400 Bad Request +server: nginx +date: Mon, 15 Feb 2016 15:06:35 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 400 Bad Request +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3998 +x-ratelimit-reset: 1455552316 +cache-control: no-cache +x-request-id: 0c1507d3-4c03-4ba3-b2bd-b0cabf021ed8 +x-runtime: 0.256476 + +{"message":"example.com may not be renewed at this time","errors":{}} diff --git a/tests/fixtures/v2/api/renewDomain/success.http b/tests/fixtures/v2/api/renewDomain/success.http index 1894fd36..32f05db9 100644 --- a/tests/fixtures/v2/api/renewDomain/success.http +++ b/tests/fixtures/v2/api/renewDomain/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Fri, 09 Dec 2016 19:46:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2394 -X-RateLimit-Reset: 1481315245 -ETag: W/"179d85ea8a26a3d5dc76e42de2d7918e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: ba6f2707-5df0-4ffa-b91b-51d4460bab8e -X-Runtime: 13.571302 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":999,"period":1,"state":"new","created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-09T19:46:45Z"}} +HTTP/1.1 201 Created +server: nginx +date: Fri, 09 Dec 2016 19:46:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2394 +x-ratelimit-reset: 1481315245 +etag: W/"179d85ea8a26a3d5dc76e42de2d7918e" +cache-control: max-age=0, private, must-revalidate +x-request-id: ba6f2707-5df0-4ffa-b91b-51d4460bab8e +x-runtime: 13.571302 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":999,"period":1,"state":"new","created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-09T19:46:45Z"}} diff --git a/tests/fixtures/v2/api/response.http b/tests/fixtures/v2/api/response.http index 95820e9b..f12e3e85 100644 --- a/tests/fixtures/v2/api/response.http +++ b/tests/fixtures/v2/api/response.http @@ -1,15 +1,15 @@ HTTP/1.1 200 OK -Server: nginx -Date: Fri, 18 Dec 2015 15:19:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3991 -X-RateLimit-Reset: 1450451976 -ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd -X-Runtime: 0.141588 -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Fri, 18 Dec 2015 15:19:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3991 +x-ratelimit-reset: 1450451976 +etag: W/"5ea6326bc1a8e83e5c156c564f2559f0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd +x-runtime: 0.141588 +strict-transport-security: max-age=31536000 {"data":{"user":null,"account":null}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/restoreDomain/success.http b/tests/fixtures/v2/api/restoreDomain/success.http index 03eb822a..eabccf39 100644 --- a/tests/fixtures/v2/api/restoreDomain/success.http +++ b/tests/fixtures/v2/api/restoreDomain/success.http @@ -1,22 +1,22 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Sun, 18 Feb 2024 10:46:17 GMT -Content-Type: application/json -Content-Length: 120 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1547125899 -X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs -Cache-Control: no-cache -X-Request-Id: 3bf33ae7-22f2-473c-8e39-8738d2bcce89 -X-Runtime: 0.006332 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=63072000 - -{"data":{"id":43,"domain_id":214,"state":"new","created_at":"2024-02-14T14:40:42Z","updated_at":"2024-02-14T14:40:42Z"}} +HTTP/1.1 201 Created +server: nginx +date: Sun, 18 Feb 2024 10:46:17 GMT +content-type: application/json +content-length: 120 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1547125899 +x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs +cache-control: no-cache +x-request-id: 3bf33ae7-22f2-473c-8e39-8738d2bcce89 +x-runtime: 0.006332 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=63072000 + +{"data":{"id":43,"domain_id":214,"state":"new","created_at":"2024-02-14T14:40:42Z","updated_at":"2024-02-14T14:40:42Z"}} diff --git a/tests/fixtures/v2/api/success-with-malformed-json.http b/tests/fixtures/v2/api/success-with-malformed-json.http index b999fe13..b9f95b19 100644 --- a/tests/fixtures/v2/api/success-with-malformed-json.http +++ b/tests/fixtures/v2/api/success-with-malformed-json.http @@ -1,8 +1,8 @@ HTTP/1.1 200 OK -Server: nginx -Date: Mon, 22 Dec 2014 14:16:12 GMT -Content-Type: text/html -Connection: close +server: nginx +date: Mon, 22 Dec 2014 14:16:12 GMT +content-type: text/html +connection: close 200 OK diff --git a/tests/fixtures/v2/api/transferDomain/error-indnsimple.http b/tests/fixtures/v2/api/transferDomain/error-indnsimple.http index 0b6dd0fb..3b27bdf3 100644 --- a/tests/fixtures/v2/api/transferDomain/error-indnsimple.http +++ b/tests/fixtures/v2/api/transferDomain/error-indnsimple.http @@ -1,14 +1,14 @@ -HTTP/1.1 400 Bad Request -Server: nginx -Date: Sun, 21 Feb 2016 13:11:54 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 400 Bad Request -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3996 -X-RateLimit-Reset: 1456063541 -Cache-Control: no-cache -X-Request-Id: 15d2e302-e835-4dda-9652-03d8962280ae -X-Runtime: 0.994068 - +HTTP/1.1 400 Bad Request +server: nginx +date: Sun, 21 Feb 2016 13:11:54 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 400 Bad Request +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3996 +x-ratelimit-reset: 1456063541 +cache-control: no-cache +x-request-id: 15d2e302-e835-4dda-9652-03d8962280ae +x-runtime: 0.994068 + {"message":"The domain google.com is already in DNSimple and cannot be added"} \ No newline at end of file diff --git a/tests/fixtures/v2/api/transferDomain/error-missing-authcode.http b/tests/fixtures/v2/api/transferDomain/error-missing-authcode.http index 57a25fb5..c6f97ce8 100644 --- a/tests/fixtures/v2/api/transferDomain/error-missing-authcode.http +++ b/tests/fixtures/v2/api/transferDomain/error-missing-authcode.http @@ -1,14 +1,14 @@ -HTTP/1.1 400 Bad Request -Server: nginx -Date: Sun, 21 Feb 2016 13:11:11 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 400 Bad Request -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3997 -X-RateLimit-Reset: 1456063540 -Cache-Control: no-cache -X-Request-Id: d7a0eb63-77eb-4488-bc55-c129ed8fe192 -X-Runtime: 11.912567 - +HTTP/1.1 400 Bad Request +server: nginx +date: Sun, 21 Feb 2016 13:11:11 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 400 Bad Request +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3997 +x-ratelimit-reset: 1456063540 +cache-control: no-cache +x-request-id: d7a0eb63-77eb-4488-bc55-c129ed8fe192 +x-runtime: 11.912567 + {"message":"Validation failed","errors":{"base":["You must provide an authorization code for the domain"]}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/transferDomain/success.http b/tests/fixtures/v2/api/transferDomain/success.http index 317130db..73145a68 100644 --- a/tests/fixtures/v2/api/transferDomain/success.http +++ b/tests/fixtures/v2/api/transferDomain/success.http @@ -1,20 +1,20 @@ -HTTP/1.1 201 Created -Server: nginx -Date: Fri, 09 Dec 2016 19:43:43 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2395 -X-RateLimit-Reset: 1481315246 -ETag: W/"e58e7ac3ad9e30162c5098f29f208066" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 0d00c622-9fc8-406a-93cb-d2c5d6ecd6b4 -X-Runtime: 6.483160 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"domain_id":999,"registrant_id":2,"state":"transferring","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:43:41Z","updated_at":"2016-12-09T19:43:43Z"}} +HTTP/1.1 201 Created +server: nginx +date: Fri, 09 Dec 2016 19:43:43 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2395 +x-ratelimit-reset: 1481315246 +etag: W/"e58e7ac3ad9e30162c5098f29f208066" +cache-control: max-age=0, private, must-revalidate +x-request-id: 0d00c622-9fc8-406a-93cb-d2c5d6ecd6b4 +x-runtime: 6.483160 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"domain_id":999,"registrant_id":2,"state":"transferring","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:43:41Z","updated_at":"2016-12-09T19:43:43Z"}} diff --git a/tests/fixtures/v2/api/unapplyService/success.http b/tests/fixtures/v2/api/unapplyService/success.http index 0f1b9a3c..c39d37f9 100644 --- a/tests/fixtures/v2/api/unapplyService/success.http +++ b/tests/fixtures/v2/api/unapplyService/success.http @@ -1,17 +1,17 @@ HTTP/1.1 204 No Content -Server: nginx -Date: Sat, 09 Jul 2016 11:13:48 GMT -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2397 -X-RateLimit-Reset: 1468066326 -Cache-Control: no-cache -X-Request-Id: bb164b01-636a-4d02-acb5-a829afc5ea8c -X-Runtime: 0.070508 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Sat, 09 Jul 2016 11:13:48 GMT +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2397 +x-ratelimit-reset: 1468066326 +cache-control: no-cache +x-request-id: bb164b01-636a-4d02-acb5-a829afc5ea8c +x-runtime: 0.070508 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 diff --git a/tests/fixtures/v2/api/unlinkPrimaryServer/success.http b/tests/fixtures/v2/api/unlinkPrimaryServer/success.http index 3229591a..c7978d8b 100644 --- a/tests/fixtures/v2/api/unlinkPrimaryServer/success.http +++ b/tests/fixtures/v2/api/unlinkPrimaryServer/success.http @@ -1,21 +1,21 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 17 Mar 2021 23:36:43 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2383 -X-RateLimit-Reset: 1616024599 -ETag: W/"ceda02163217bdb9e6850e2c36cbf163" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 789c6feb-63e1-40d6-b2b6-f569b23a507c -X-Runtime: 0.270968 -X-Frame-Options: DENY -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -X-Download-Options: noopen -X-Permitted-Cross-Domain-Policies: none -Content-Security-Policy: frame-ancestors 'none' -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Wed, 17 Mar 2021 23:36:43 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2383 +x-ratelimit-reset: 1616024599 +etag: W/"ceda02163217bdb9e6850e2c36cbf163" +cache-control: max-age=0, private, must-revalidate +x-request-id: 789c6feb-63e1-40d6-b2b6-f569b23a507c +x-runtime: 0.270968 +x-frame-options: DENY +x-content-type-options: nosniff +x-xss-protection: 1; mode=block +x-download-options: noopen +x-permitted-cross-domain-policies: none +content-security-policy: frame-ancestors 'none' +strict-transport-security: max-age=31536000 + {"data":{"id":4,"account_id":531,"name":"PrimaryProduction","ip":"1.2.3.4","port":53,"linked_secondary_zones":[],"created_at":"2021-03-17T23:08:42Z","updated_at":"2021-03-17T23:08:42Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/updateContact/success.http b/tests/fixtures/v2/api/updateContact/success.http index c5b2fe70..1faa394d 100644 --- a/tests/fixtures/v2/api/updateContact/success.http +++ b/tests/fixtures/v2/api/updateContact/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Tue, 19 Jan 2016 21:28:13 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3995 -X-RateLimit-Reset: 1453239045 -ETag: W/"4a798ad8f083076b23d3eed622eefc2d" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029 -X-Runtime: 0.053262 -Strict-Transport-Security: max-age=31536000 - -{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} +HTTP/1.1 200 OK +server: nginx +date: Tue, 19 Jan 2016 21:28:13 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3995 +x-ratelimit-reset: 1453239045 +etag: W/"4a798ad8f083076b23d3eed622eefc2d" +cache-control: max-age=0, private, must-revalidate +x-request-id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029 +x-runtime: 0.053262 +strict-transport-security: max-age=31536000 + +{"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}} diff --git a/tests/fixtures/v2/api/updateTemplate/success.http b/tests/fixtures/v2/api/updateTemplate/success.http index 42721336..71a1faa4 100644 --- a/tests/fixtures/v2/api/updateTemplate/success.http +++ b/tests/fixtures/v2/api/updateTemplate/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Thu, 24 Mar 2016 11:04:55 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2398 -X-RateLimit-Reset: 1458821048 -ETag: W/"6a2c0c6789d853473765a5fc5662da2e" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 3a7993e7-8b1e-47ce-a7a8-cc86b02904de -X-Runtime: 0.324954 -Strict-Transport-Security: max-age=31536000 - +HTTP/1.1 200 OK +server: nginx +date: Thu, 24 Mar 2016 11:04:55 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2398 +x-ratelimit-reset: 1458821048 +etag: W/"6a2c0c6789d853473765a5fc5662da2e" +cache-control: max-age=0, private, must-revalidate +x-request-id: 3a7993e7-8b1e-47ce-a7a8-cc86b02904de +x-runtime: 0.324954 +strict-transport-security: max-age=31536000 + {"data":{"id":1,"account_id":1010,"name":"Alpha","sid":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58Z","updated_at":"2016-03-22T11:08:58Z"}} \ No newline at end of file diff --git a/tests/fixtures/v2/api/updateZoneNsRecords/success.http b/tests/fixtures/v2/api/updateZoneNsRecords/success.http index 11aee548..93736bcf 100644 --- a/tests/fixtures/v2/api/updateZoneNsRecords/success.http +++ b/tests/fixtures/v2/api/updateZoneNsRecords/success.http @@ -1,16 +1,16 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Wed, 23 Nov 2022 18:05:39 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -Status: 200 OK -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2391 -X-RateLimit-Reset: 1458821048 -ETag: W/"cb540984f806b12ac437cc1f76092f90" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: e53ac7b5-0d26-45bc-9226-09c2d34be293 -X-Runtime: 0.192986 -Strict-Transport-Security: max-age=31536000 - -{"data":[{"id":1927,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1928,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1929,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1930,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"}]} +HTTP/1.1 200 OK +server: nginx +date: Wed, 23 Nov 2022 18:05:39 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +status: 200 OK +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2391 +x-ratelimit-reset: 1458821048 +etag: W/"cb540984f806b12ac437cc1f76092f90" +cache-control: max-age=0, private, must-revalidate +x-request-id: e53ac7b5-0d26-45bc-9226-09c2d34be293 +x-runtime: 0.192986 +strict-transport-security: max-age=31536000 + +{"data":[{"id":1927,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1928,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1929,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1930,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"}]} diff --git a/tests/fixtures/v2/api/updateZoneRecord/success.http b/tests/fixtures/v2/api/updateZoneRecord/success.http index f64e9d1b..a9577dc7 100644 --- a/tests/fixtures/v2/api/updateZoneRecord/success.http +++ b/tests/fixtures/v2/api/updateZoneRecord/success.http @@ -1,20 +1,20 @@ HTTP/1.1 200 OK -Server: nginx -Date: Wed, 05 Oct 2016 09:59:48 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2393 -X-RateLimit-Reset: 1475662530 -ETag: W/"92c807156882e555af8f7a5b93350e44" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 3b630702-46a9-4449-a320-b7ac903d2127 -X-Runtime: 0.405810 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block -Strict-Transport-Security: max-age=31536000 +server: nginx +date: Wed, 05 Oct 2016 09:59:48 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2393 +x-ratelimit-reset: 1475662530 +etag: W/"92c807156882e555af8f7a5b93350e44" +cache-control: max-age=0, private, must-revalidate +x-request-id: 3b630702-46a9-4449-a320-b7ac903d2127 +x-runtime: 0.405810 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block +strict-transport-security: max-age=31536000 {"data":{"id":5,"zone_id":"example.com","parent_id":null,"name":"","content":"mxb.example.com","ttl":3600,"priority":20,"type":"MX","regions":["global"],"system_record":false,"created_at":"2016-10-05T09:51:35Z","updated_at":"2016-10-05T09:51:35Z"}} diff --git a/tests/fixtures/v2/api/validation-error.http b/tests/fixtures/v2/api/validation-error.http index 2324b9e3..95ab2d1f 100644 --- a/tests/fixtures/v2/api/validation-error.http +++ b/tests/fixtures/v2/api/validation-error.http @@ -1,18 +1,18 @@ HTTP/1.1 400 Bad Request -Server: nginx -Date: Wed, 23 Nov 2016 08:12:57 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 2400 -X-RateLimit-Remaining: 2396 -X-RateLimit-Reset: 1479892333 -Cache-Control: no-cache -X-Request-Id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 -X-Runtime: 0.062556 -X-Content-Type-Options: nosniff -X-Download-Options: noopen -X-Frame-Options: DENY -X-Permitted-Cross-Domain-Policies: none -X-XSS-Protection: 1; mode=block +server: nginx +date: Wed, 23 Nov 2016 08:12:57 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 2400 +x-ratelimit-remaining: 2396 +x-ratelimit-reset: 1479892333 +cache-control: no-cache +x-request-id: 91dcf81b-5df4-4d45-b37e-446f0c422a27 +x-runtime: 0.062556 +x-content-type-options: nosniff +x-download-options: noopen +x-frame-options: DENY +x-permitted-cross-domain-policies: none +x-xss-protection: 1; mode=block {"message":"Validation failed","errors":{"address1":["can't be blank"],"city":["can't be blank"],"country":["can't be blank"],"email":["can't be blank","is an invalid email address"],"first_name":["can't be blank"],"last_name":["can't be blank"],"phone":["can't be blank","is probably not a phone number"],"postal_code":["can't be blank"],"state_province":["can't be blank"]}} diff --git a/tests/fixtures/v2/api/whoami/success-account.http b/tests/fixtures/v2/api/whoami/success-account.http index 65445165..24b6dc13 100644 --- a/tests/fixtures/v2/api/whoami/success-account.http +++ b/tests/fixtures/v2/api/whoami/success-account.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 18 Dec 2015 15:19:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3991 -X-RateLimit-Reset: 1450451976 -ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd -X-Runtime: 0.141588 -Strict-Transport-Security: max-age=31536000 - -{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 18 Dec 2015 15:19:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3991 +x-ratelimit-reset: 1450451976 +etag: W/"5ea6326bc1a8e83e5c156c564f2559f0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd +x-runtime: 0.141588 +strict-transport-security: max-age=31536000 + +{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} diff --git a/tests/fixtures/v2/api/whoami/success-user.http b/tests/fixtures/v2/api/whoami/success-user.http index f0fc6d5a..b7204351 100644 --- a/tests/fixtures/v2/api/whoami/success-user.http +++ b/tests/fixtures/v2/api/whoami/success-user.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 18 Dec 2015 15:19:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3991 -X-RateLimit-Reset: 1450451976 -ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd -X-Runtime: 0.141588 -Strict-Transport-Security: max-age=31536000 - -{"data":{"user":{"id":1,"email":"example-user@example.com","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"},"account":null}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 18 Dec 2015 15:19:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3991 +x-ratelimit-reset: 1450451976 +etag: W/"5ea6326bc1a8e83e5c156c564f2559f0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd +x-runtime: 0.141588 +strict-transport-security: max-age=31536000 + +{"data":{"user":{"id":1,"email":"example-user@example.com","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"},"account":null}} diff --git a/tests/fixtures/v2/api/whoami/success.http b/tests/fixtures/v2/api/whoami/success.http index 65445165..24b6dc13 100644 --- a/tests/fixtures/v2/api/whoami/success.http +++ b/tests/fixtures/v2/api/whoami/success.http @@ -1,15 +1,15 @@ -HTTP/1.1 200 OK -Server: nginx -Date: Fri, 18 Dec 2015 15:19:37 GMT -Content-Type: application/json; charset=utf-8 -Connection: keep-alive -X-RateLimit-Limit: 4000 -X-RateLimit-Remaining: 3991 -X-RateLimit-Reset: 1450451976 -ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0" -Cache-Control: max-age=0, private, must-revalidate -X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd -X-Runtime: 0.141588 -Strict-Transport-Security: max-age=31536000 - -{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} +HTTP/1.1 200 OK +server: nginx +date: Fri, 18 Dec 2015 15:19:37 GMT +content-type: application/json; charset=utf-8 +connection: keep-alive +x-ratelimit-limit: 4000 +x-ratelimit-remaining: 3991 +x-ratelimit-reset: 1450451976 +etag: W/"5ea6326bc1a8e83e5c156c564f2559f0" +cache-control: max-age=0, private, must-revalidate +x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd +x-runtime: 0.141588 +strict-transport-security: max-age=31536000 + +{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} diff --git a/tests/fixtures/v2/webhooks/account.billing_settings_update/example.http b/tests/fixtures/v2/webhooks/account.billing_settings_update/example.http index 83a5677f..84e3b9fe 100644 --- a/tests/fixtures/v2/webhooks/account.billing_settings_update/example.http +++ b/tests/fixtures/v2/webhooks/account.billing_settings_update/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: f660856b-27bd-4c97-b36a-8cee494cc382 -Content-Length: 602 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"account": {"id": 123, "email": "hello@example.com", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-05T12:27:55Z", "plan_identifier": "dnsimple-personal-yearly"}, "billing_settings": {"address": "Via Giuseppe Dessi, 9\r\n00142 Roma\r\nItaly", "company": "Simone Carletti", "tax_identifier": "03352270049"}}, "name": "account.billing_settings_update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "50b45cb5-92bd-42e3-b6ea-f565b990ef41"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: f660856b-27bd-4c97-b36a-8cee494cc382 +content-length: 602 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +via: 1.1 vegur +total-route-time: 0 +connect-time: 0 +connection: keep-alive + +{"data": {"account": {"id": 123, "email": "hello@example.com", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-05T12:27:55Z", "plan_identifier": "dnsimple-personal-yearly"}, "billing_settings": {"address": "Via Giuseppe Dessi, 9\r\n00142 Roma\r\nItaly", "company": "Simone Carletti", "tax_identifier": "03352270049"}}, "name": "account.billing_settings_update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "50b45cb5-92bd-42e3-b6ea-f565b990ef41"} diff --git a/tests/fixtures/v2/webhooks/account.sso_user_add/example.http b/tests/fixtures/v2/webhooks/account.sso_user_add/example.http new file mode 100644 index 00000000..a6884c6f --- /dev/null +++ b/tests/fixtures/v2/webhooks/account.sso_user_add/example.http @@ -0,0 +1,9 @@ +POST /170zjup1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 662 +connection: keep-alive + +{"data": {"user": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2025-09-16T22:12:34Z", "updated_at": "2025-09-18T10:46:19Z"}, "account": {"id": 4, "email": "yyyyy@yyyyyy.yyy", "created_at": "2025-08-13T23:09:47Z", "updated_at": "2025-08-13T23:10:05Z", "plan_identifier": "teams-v2-monthly"}, "account_identity_provider": {"organization_identifier": "51fae1e9-ce56-4df2-8364-cdab573027aa"}}, "name": "account.sso_user_add", "actor": {"id": "", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 4, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "4aedf8d3-f93d-4a42-99d9-ec20c9349358"} diff --git a/tests/fixtures/v2/webhooks/account.update/example.http b/tests/fixtures/v2/webhooks/account.update/example.http index 8763eacc..b1b085c1 100644 --- a/tests/fixtures/v2/webhooks/account.update/example.http +++ b/tests/fixtures/v2/webhooks/account.update/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: b2432f45-199b-4a6e-9a88-1c5f1383aa8b -Content-Length: 442 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Via: 1.1 vegur -Total-Route-Time: 7068 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"account": {"id": 123, "email": "hello@example.com", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-05T12:27:17Z", "plan_identifier": "dnsimple-personal-yearly"}}, "name": "account.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal2", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "692a46c5-1117-4995-8107-9dd1ad18fa20"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: b2432f45-199b-4a6e-9a88-1c5f1383aa8b +content-length: 442 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +via: 1.1 vegur +total-route-time: 7068 +connect-time: 0 +connection: keep-alive + +{"data": {"account": {"id": 123, "email": "hello@example.com", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-05T12:27:17Z", "plan_identifier": "dnsimple-personal-yearly"}}, "name": "account.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal2", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "692a46c5-1117-4995-8107-9dd1ad18fa20"} diff --git a/tests/fixtures/v2/webhooks/account.user_invitation_accept/example.http b/tests/fixtures/v2/webhooks/account.user_invitation_accept/example.http index f2ba91d2..30c900d1 100644 --- a/tests/fixtures/v2/webhooks/account.user_invitation_accept/example.http +++ b/tests/fixtures/v2/webhooks/account.user_invitation_accept/example.http @@ -1,9 +1,9 @@ -POST /170zjup1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 759 -Connection: keep-alive - -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:43:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": "2020-05-12T18:43:44Z"}}, "name": "account.user_invitation_accept", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "2fab89c6-963b-47bf-a631-cfa15f06d21f"} +POST /170zjup1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 759 +connection: keep-alive + +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:43:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": "2020-05-12T18:43:44Z"}}, "name": "account.user_invitation_accept", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "2fab89c6-963b-47bf-a631-cfa15f06d21f"} diff --git a/tests/fixtures/v2/webhooks/account.user_invitation_revoke/example.http b/tests/fixtures/v2/webhooks/account.user_invitation_revoke/example.http index 7bfd920f..a5f17c57 100644 --- a/tests/fixtures/v2/webhooks/account.user_invitation_revoke/example.http +++ b/tests/fixtures/v2/webhooks/account.user_invitation_revoke/example.http @@ -1,9 +1,9 @@ -POST /170zjup1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 753 -Connection: keep-alive - -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3522, "email": "xxxxxx@xxxxxx.xxx", "token": "be87d69b-a58a-43bd-9a21-aaf303829a60", "account_id": 1111, "created_at": "2020-05-12T18:42:27Z", "updated_at": "2020-05-12T18:42:27Z", "invitation_sent_at": "2020-05-12T18:42:27Z", "invitation_accepted_at": null}}, "name": "account.user_invitation_revoke", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "688bc70d-0e79-439a-bd2b-0d62cbfe56cc"} +POST /170zjup1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 753 +connection: keep-alive + +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3522, "email": "xxxxxx@xxxxxx.xxx", "token": "be87d69b-a58a-43bd-9a21-aaf303829a60", "account_id": 1111, "created_at": "2020-05-12T18:42:27Z", "updated_at": "2020-05-12T18:42:27Z", "invitation_sent_at": "2020-05-12T18:42:27Z", "invitation_accepted_at": null}}, "name": "account.user_invitation_revoke", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "688bc70d-0e79-439a-bd2b-0d62cbfe56cc"} diff --git a/tests/fixtures/v2/webhooks/account.user_invite/example.http b/tests/fixtures/v2/webhooks/account.user_invite/example.http index 69d14d61..e3016149 100644 --- a/tests/fixtures/v2/webhooks/account.user_invite/example.http +++ b/tests/fixtures/v2/webhooks/account.user_invite/example.http @@ -1,9 +1,9 @@ -POST /170zjup1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 742 -Connection: keep-alive - -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:42:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": null}}, "name": "account.user_invite", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "f8f1ffa3-e49b-4ff0-a46a-41dd67094307"} +POST /170zjup1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 742 +connection: keep-alive + +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:42:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": null}}, "name": "account.user_invite", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "f8f1ffa3-e49b-4ff0-a46a-41dd67094307"} diff --git a/tests/fixtures/v2/webhooks/account.user_remove/example.http b/tests/fixtures/v2/webhooks/account.user_remove/example.http index c578384b..115c21ec 100644 --- a/tests/fixtures/v2/webhooks/account.user_remove/example.http +++ b/tests/fixtures/v2/webhooks/account.user_remove/example.http @@ -1,9 +1,9 @@ -POST /170zjup1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Connection: keep-alive -Content-Length: 581 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 - -{"data": {"user": {"id": 1120, "email": "xxxxxx@xxxxxx.xxx", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-16T12:38:34Z"}, "account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}}, "name": "account.user_remove", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "c60473f0-bbed-4858-84f9-5766c8227447"} +POST /170zjup1 HTTP/1.1 +host: example.com +accept-encoding: gzip +connection: keep-alive +content-length: 581 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 + +{"data": {"user": {"id": 1120, "email": "xxxxxx@xxxxxx.xxx", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-16T12:38:34Z"}, "account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}}, "name": "account.user_remove", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "c60473f0-bbed-4858-84f9-5766c8227447"} diff --git a/tests/fixtures/v2/webhooks/certificate.issue/example.http b/tests/fixtures/v2/webhooks/certificate.issue/example.http index 307acd61..f0b0907a 100644 --- a/tests/fixtures/v2/webhooks/certificate.issue/example.http +++ b/tests/fixtures/v2/webhooks/certificate.issue/example.http @@ -1,13 +1,13 @@ -POST /1n4m8k61 HTTP/1.1 -Host: example.com -Connect-Time: 1 -X-Request-Id: 60f249f5-9bb4-424f-8fea-ec0e2ee882b1 -Content-Type: application/json -Accept-Encoding: gzip -Via: 1.1 vegur -Total-Route-Time: 0 -Content-Length: 1659 -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Connection: keep-alive - -{"data": {"certificate": {"id": 101967, "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmJpbmdvLnBpenphMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw4+KoZ9IDCK2o5qAQpi+Icu5kksmjQzx\n5o5g4B6XhRxhsfHlK/i3iU5hc8CONjyVv8j82835RNsiKrflnxGa9SH68vbQfcn4\nIpbMz9c+Eqv5h0Euqlc3A4DBzp0unEu5QAUhR6Xu1TZIWDPjhrBOGiszRlLQcp4F\nzy6fD6j5/d/ylpzTp5v54j+Ey31Bz86IaBPtSpHI+Qk87Hs8DVoWxZk/6RlAkyur\nXDGWnPu9n3RMfs9ag5anFhggLIhCNtVN4+0vpgPQ59pqwYo8TfdYzK7WSKeL7geu\nCqVE3bHAqU6dLtgHOZfTkLwGycUh4p9aawuc6fsXHHYDpIL8s3vAvwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtiaW5nby5waXp6YYIPd3d3LmJp\nbmdvLnBpenphMA0GCSqGSIb3DQEBCwUAA4IBAQBwOLKv+PO5hSJkgqS6wL/wRqLh\nQ1zbcHRHAjRjnpRz06cDvN3X3aPI+lpKSNFCI0A1oKJG7JNtgxX3Est66cuO8ESQ\nPIb6WWN7/xlVlBCe7ZkjAFgN6JurFdclwCp/NI5wBCwj1yb3Ar5QQMFIZOezIgTI\nAWkQSfCmgkB96d6QlDWgidYDDjcsXugQveOQRPlHr0TsElu47GakxZdJCFZU+WPM\nodQQf5SaqiIK2YaH1dWO//4KpTS9QoTy1+mmAa27apHcmz6X6+G5dvpHZ1qH14V0\nJoMWIK+39HRPq6mDo1UMVet/xFUUrG/H7/tFlYIDVbSpVlpVAFITd/eQkaW/\n-----END CERTIFICATE REQUEST-----\n", "name": "www", "state": "issued", "years": 1, "domain_id": 289333, "auto_renew": false, "contact_id": 2511, "created_at": "2020-06-18T18:54:17Z", "expires_at": "2020-09-16T18:10:13Z", "expires_on": "2020-09-16", "updated_at": "2020-06-18T19:10:14Z", "common_name": "www.bingo.pizza", "alternate_names": [], "authority_identifier": "letsencrypt"}}, "name": "certificate.issue", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 5623, "display": "DNSimple", "identifier": "dnsimple"}, "api_version": "v2", "request_identifier": "2092d585-bd6c-40ba-b0ac-bd7ebab8b4b1"} +POST /1n4m8k61 HTTP/1.1 +host: example.com +connect-time: 1 +x-request-id: 60f249f5-9bb4-424f-8fea-ec0e2ee882b1 +content-type: application/json +accept-encoding: gzip +via: 1.1 vegur +total-route-time: 0 +content-length: 1659 +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +connection: keep-alive + +{"data": {"certificate": {"id": 101967, "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmJpbmdvLnBpenphMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw4+KoZ9IDCK2o5qAQpi+Icu5kksmjQzx\n5o5g4B6XhRxhsfHlK/i3iU5hc8CONjyVv8j82835RNsiKrflnxGa9SH68vbQfcn4\nIpbMz9c+Eqv5h0Euqlc3A4DBzp0unEu5QAUhR6Xu1TZIWDPjhrBOGiszRlLQcp4F\nzy6fD6j5/d/ylpzTp5v54j+Ey31Bz86IaBPtSpHI+Qk87Hs8DVoWxZk/6RlAkyur\nXDGWnPu9n3RMfs9ag5anFhggLIhCNtVN4+0vpgPQ59pqwYo8TfdYzK7WSKeL7geu\nCqVE3bHAqU6dLtgHOZfTkLwGycUh4p9aawuc6fsXHHYDpIL8s3vAvwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtiaW5nby5waXp6YYIPd3d3LmJp\nbmdvLnBpenphMA0GCSqGSIb3DQEBCwUAA4IBAQBwOLKv+PO5hSJkgqS6wL/wRqLh\nQ1zbcHRHAjRjnpRz06cDvN3X3aPI+lpKSNFCI0A1oKJG7JNtgxX3Est66cuO8ESQ\nPIb6WWN7/xlVlBCe7ZkjAFgN6JurFdclwCp/NI5wBCwj1yb3Ar5QQMFIZOezIgTI\nAWkQSfCmgkB96d6QlDWgidYDDjcsXugQveOQRPlHr0TsElu47GakxZdJCFZU+WPM\nodQQf5SaqiIK2YaH1dWO//4KpTS9QoTy1+mmAa27apHcmz6X6+G5dvpHZ1qH14V0\nJoMWIK+39HRPq6mDo1UMVet/xFUUrG/H7/tFlYIDVbSpVlpVAFITd/eQkaW/\n-----END CERTIFICATE REQUEST-----\n", "name": "www", "state": "issued", "years": 1, "domain_id": 289333, "auto_renew": false, "contact_id": 2511, "created_at": "2020-06-18T18:54:17Z", "expires_at": "2020-09-16T18:10:13Z", "expires_on": "2020-09-16", "updated_at": "2020-06-18T19:10:14Z", "common_name": "www.bingo.pizza", "alternate_names": [], "authority_identifier": "letsencrypt"}}, "name": "certificate.issue", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 5623, "display": "DNSimple", "identifier": "dnsimple"}, "api_version": "v2", "request_identifier": "2092d585-bd6c-40ba-b0ac-bd7ebab8b4b1"} diff --git a/tests/fixtures/v2/webhooks/certificate.remove_private_key/example.http b/tests/fixtures/v2/webhooks/certificate.remove_private_key/example.http index 3b3e92e8..22ea8b5b 100644 --- a/tests/fixtures/v2/webhooks/certificate.remove_private_key/example.http +++ b/tests/fixtures/v2/webhooks/certificate.remove_private_key/example.http @@ -1,13 +1,13 @@ -POST /1n4m8k61 HTTP/1.1 -Host: example.com -Connect-Time: 1 -X-Request-Id: 49b06941-f023-435a-a6a3-325d349ab986 -Content-Type: application/json -Accept-Encoding: gzip -Via: 1.1 vegur -Total-Route-Time: 0 -Content-Length: 1675 -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Connection: keep-alive - -{"data": {"certificate": {"id": 101972, "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmJpbmdvLnBpenphMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuWImvp8rGULVobq+6dTpMPbxdePpIjki\nUJ5fTcpNfuRw/8EPU9UcQ5QaHToVyUhPtdv1QWtZbTVJpl0u9uvUviZEL0+NxBcR\nj4ymiPtyH6ZErYisUgIULaSEmkCz6YFf1X+fSDBcASvibHqkwhzN3ugVcKgqTHPm\nbbCpNv2EPOqkvwiqVPrjRmgqtjQmfO60K7+8aMZqyIjMslsDufGJ4sRaiiusRJUG\n1QzZqnlGp5Vrz5XdowHAQfLcUd+lPevk/lDkfmV6bxuoZyEKFAHVRFCM8Aw3nks4\nONrtWTdnOd5QoxwcOnbtl1S0bydQpulJjefy8sXQq/XUwsyAP6uLHwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtiaW5nby5waXp6YYIPd3d3LmJp\nbmdvLnBpenphMA0GCSqGSIb3DQEBCwUAA4IBAQBUPXgSgTO8hDjIvz8SKCE0EDbF\nEmgVqjynO2wvc8Dn9E3xp9GsYLNChUItUSzh0dnxn+XYBtia356bw5EaA3ZCbZIJ\nA/JyGavwNqIeBVSMsMCVXiM9NFunkWchid7bh1mS+W4/8gqEElIYRRIIOP7LEHq+\nxE7ZUH9qjKpiHKL/YTf2zVo4y6opjY4WnDxonQ2nMeJxfj8GdVskXYQoMxyVneRI\n0Of1gTZWvP1f1F9ddcjZDnb9VLdKcqrY395Zvy+FkNetd0xHRu2VBJDFbMnH8Gsr\nTd6BwijqU3kNM1j2zWvOhfO9tPbcl4BbVRg+/V2bq3jLCld3Bj38d1CJLz21\n-----END CERTIFICATE REQUEST-----\n", "name": "www", "state": "issued", "years": 1, "domain_id": 289333, "auto_renew": false, "contact_id": 2511, "created_at": "2020-06-18T19:56:20Z", "expires_at": "2020-09-16T19:10:05Z", "expires_on": "2020-09-16", "updated_at": "2020-06-18T20:41:05Z", "common_name": "www.bingo.pizza", "alternate_names": [], "authority_identifier": "letsencrypt"}}, "name": "certificate.remove_private_key", "actor": {"id": "109237", "entity": "user", "pretty": "xxxxxx.xxxxxxx@dnsimple.com"}, "account": {"id": 5623, "display": "DNSimple", "identifier": "dnsimple"}, "api_version": "v2", "request_identifier": "bdee91db-7339-49d1-a93c-104b46d72235"} +POST /1n4m8k61 HTTP/1.1 +host: example.com +connect-time: 1 +x-request-id: 49b06941-f023-435a-a6a3-325d349ab986 +content-type: application/json +accept-encoding: gzip +via: 1.1 vegur +total-route-time: 0 +content-length: 1675 +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +connection: keep-alive + +{"data": {"certificate": {"id": 101972, "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICmTCCAYECAQAwGjEYMBYGA1UEAwwPd3d3LmJpbmdvLnBpenphMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuWImvp8rGULVobq+6dTpMPbxdePpIjki\nUJ5fTcpNfuRw/8EPU9UcQ5QaHToVyUhPtdv1QWtZbTVJpl0u9uvUviZEL0+NxBcR\nj4ymiPtyH6ZErYisUgIULaSEmkCz6YFf1X+fSDBcASvibHqkwhzN3ugVcKgqTHPm\nbbCpNv2EPOqkvwiqVPrjRmgqtjQmfO60K7+8aMZqyIjMslsDufGJ4sRaiiusRJUG\n1QzZqnlGp5Vrz5XdowHAQfLcUd+lPevk/lDkfmV6bxuoZyEKFAHVRFCM8Aw3nks4\nONrtWTdnOd5QoxwcOnbtl1S0bydQpulJjefy8sXQq/XUwsyAP6uLHwIDAQABoDow\nOAYJKoZIhvcNAQkOMSswKTAnBgNVHREEIDAeggtiaW5nby5waXp6YYIPd3d3LmJp\nbmdvLnBpenphMA0GCSqGSIb3DQEBCwUAA4IBAQBUPXgSgTO8hDjIvz8SKCE0EDbF\nEmgVqjynO2wvc8Dn9E3xp9GsYLNChUItUSzh0dnxn+XYBtia356bw5EaA3ZCbZIJ\nA/JyGavwNqIeBVSMsMCVXiM9NFunkWchid7bh1mS+W4/8gqEElIYRRIIOP7LEHq+\nxE7ZUH9qjKpiHKL/YTf2zVo4y6opjY4WnDxonQ2nMeJxfj8GdVskXYQoMxyVneRI\n0Of1gTZWvP1f1F9ddcjZDnb9VLdKcqrY395Zvy+FkNetd0xHRu2VBJDFbMnH8Gsr\nTd6BwijqU3kNM1j2zWvOhfO9tPbcl4BbVRg+/V2bq3jLCld3Bj38d1CJLz21\n-----END CERTIFICATE REQUEST-----\n", "name": "www", "state": "issued", "years": 1, "domain_id": 289333, "auto_renew": false, "contact_id": 2511, "created_at": "2020-06-18T19:56:20Z", "expires_at": "2020-09-16T19:10:05Z", "expires_on": "2020-09-16", "updated_at": "2020-06-18T20:41:05Z", "common_name": "www.bingo.pizza", "alternate_names": [], "authority_identifier": "letsencrypt"}}, "name": "certificate.remove_private_key", "actor": {"id": "109237", "entity": "user", "pretty": "xxxxxx.xxxxxxx@dnsimple.com"}, "account": {"id": 5623, "display": "DNSimple", "identifier": "dnsimple"}, "api_version": "v2", "request_identifier": "bdee91db-7339-49d1-a93c-104b46d72235"} diff --git a/tests/fixtures/v2/webhooks/contact.create/example.http b/tests/fixtures/v2/webhooks/contact.create/example.http index 5647a37b..489936b2 100644 --- a/tests/fixtures/v2/webhooks/contact.create/example.http +++ b/tests/fixtures/v2/webhooks/contact.create/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 05287714-5a10-4265-904a-63b112f33856 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Content-Length: 679 -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 1 -Connection: keep-alive - -{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+1 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:42Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "948d2df3-92bb-4352-a536-1bc5119694c7"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 05287714-5a10-4265-904a-63b112f33856 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +content-length: 679 +via: 1.1 vegur +total-route-time: 0 +connect-time: 1 +connection: keep-alive + +{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+1 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:42Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "948d2df3-92bb-4352-a536-1bc5119694c7"} diff --git a/tests/fixtures/v2/webhooks/contact.delete/example.http b/tests/fixtures/v2/webhooks/contact.delete/example.http index 588beb5d..50ee9906 100644 --- a/tests/fixtures/v2/webhooks/contact.delete/example.http +++ b/tests/fixtures/v2/webhooks/contact.delete/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 36df2ab6-8108-42e4-8689-ababd10ea3a6 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Content-Length: 680 -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+39 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:56Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "9d8b58a5-986c-4f0c-b03e-f1a8e512a639"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 36df2ab6-8108-42e4-8689-ababd10ea3a6 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +content-length: 680 +via: 1.1 vegur +total-route-time: 0 +connect-time: 0 +connection: keep-alive + +{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+39 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:56Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "9d8b58a5-986c-4f0c-b03e-f1a8e512a639"} diff --git a/tests/fixtures/v2/webhooks/contact.update/example.http b/tests/fixtures/v2/webhooks/contact.update/example.http index 67010477..81071808 100644 --- a/tests/fixtures/v2/webhooks/contact.update/example.http +++ b/tests/fixtures/v2/webhooks/contact.update/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 02872158-a138-4538-bdb2-4963b074fa82 -Content-Length: 680 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+39 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:56Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "c1cbb968-6e0f-4fb6-8e6c-06581f24dc25"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 02872158-a138-4538-bdb2-4963b074fa82 +content-length: 680 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +via: 1.1 vegur +total-route-time: 0 +connect-time: 0 +connection: keep-alive + +{"data": {"contact": {"id": 40099, "fax": "", "city": "Rome", "email": "example@example.com", "label": "Test", "phone": "+39 339 1111111", "country": "IT", "address1": "Some Street", "address2": "", "job_title": "", "last_name": "Bar", "account_id": 123, "created_at": "2018-11-05T12:32:42Z", "first_name": "Foo", "updated_at": "2018-11-05T12:32:56Z", "postal_code": "12345", "state_province": "RM", "organization_name": ""}}, "name": "contact.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "c1cbb968-6e0f-4fb6-8e6c-06581f24dc25"} diff --git a/tests/fixtures/v2/webhooks/dnssec.create/example.http b/tests/fixtures/v2/webhooks/dnssec.create/example.http index 83b23ce1..00040703 100644 --- a/tests/fixtures/v2/webhooks/dnssec.create/example.http +++ b/tests/fixtures/v2/webhooks/dnssec.create/example.http @@ -1,9 +1,9 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Connection: keep-alive -Content-Length: 635 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 - -{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}}, "name": "dnssec.create", "actor": {"id": "2", "entity": "user", "pretty": "simone.carletti@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "e3e3d10b-b0cd-498c-9fb6-9afdb44fd19a"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +connection: keep-alive +content-length: 635 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 + +{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}}, "name": "dnssec.create", "actor": {"id": "2", "entity": "user", "pretty": "simone.carletti@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "e3e3d10b-b0cd-498c-9fb6-9afdb44fd19a"} diff --git a/tests/fixtures/v2/webhooks/dnssec.delete/example.http b/tests/fixtures/v2/webhooks/dnssec.delete/example.http index a565b9eb..8595cba0 100644 --- a/tests/fixtures/v2/webhooks/dnssec.delete/example.http +++ b/tests/fixtures/v2/webhooks/dnssec.delete/example.http @@ -1,9 +1,9 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 -Content-Length: 635 -Connection: keep-alive - -{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:58Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}}, "name": "dnssec.delete", "actor": {"id": "2", "entity": "user", "pretty": "simone.carletti@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "1096e2f6-71d2-4d8f-a7c0-05858eb68454"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 +content-length: 635 +connection: keep-alive + +{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:58Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}}, "name": "dnssec.delete", "actor": {"id": "2", "entity": "user", "pretty": "simone.carletti@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "1096e2f6-71d2-4d8f-a7c0-05858eb68454"} diff --git a/tests/fixtures/v2/webhooks/dnssec.rotation_complete/example.http b/tests/fixtures/v2/webhooks/dnssec.rotation_complete/example.http index be1ee6aa..ac7e325c 100644 --- a/tests/fixtures/v2/webhooks/dnssec.rotation_complete/example.http +++ b/tests/fixtures/v2/webhooks/dnssec.rotation_complete/example.http @@ -1,9 +1,9 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 -Content-Length: 1116 -Connection: keep-alive - -{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "992059C73169F2D049377884F210F893CF19CB56A4F8198B6424FF3D9BA1B4AA", "keytag": "25337", "algorithm": "8", "domain_id": 41557, "created_at": null, "public_key": "AwEAAb/7eqMeecFAp+KygQzEBGR204F35ATbY000IpetSFWJMlBHPnh6tKP9gJFQyI3hfPTO3fAcr5G7dRrWE6zECHicMm062h8IcHukIpTTOF1PnHhVI47Mk1ZHwAgmx12e8MhoTUPNqutpZG/AsLfN9T3vMQWKDDGwk5sM2JgWXcBa4ys2f0AnYOQain0LGdTUxl76B16MK1BqaNwZrTNo71U=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_complete", "actor": {"id": "", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "f26050c7-cb4e-49be-bab1-e42f27f5b60a"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 +content-length: 1116 +connection: keep-alive + +{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "992059C73169F2D049377884F210F893CF19CB56A4F8198B6424FF3D9BA1B4AA", "keytag": "25337", "algorithm": "8", "domain_id": 41557, "created_at": null, "public_key": "AwEAAb/7eqMeecFAp+KygQzEBGR204F35ATbY000IpetSFWJMlBHPnh6tKP9gJFQyI3hfPTO3fAcr5G7dRrWE6zECHicMm062h8IcHukIpTTOF1PnHhVI47Mk1ZHwAgmx12e8MhoTUPNqutpZG/AsLfN9T3vMQWKDDGwk5sM2JgWXcBa4ys2f0AnYOQain0LGdTUxl76B16MK1BqaNwZrTNo71U=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_complete", "actor": {"id": "", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "f26050c7-cb4e-49be-bab1-e42f27f5b60a"} diff --git a/tests/fixtures/v2/webhooks/dnssec.rotation_start/example.http b/tests/fixtures/v2/webhooks/dnssec.rotation_start/example.http index dd0add40..27bbdf66 100644 --- a/tests/fixtures/v2/webhooks/dnssec.rotation_start/example.http +++ b/tests/fixtures/v2/webhooks/dnssec.rotation_start/example.http @@ -1,9 +1,9 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 -Content-Length: 1113 -Connection: keep-alive - -{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "42AEE231E98FECE484E9FA983CEF28AFFA56E99AD26347806BC6AF291F67DE83", "keytag": "60812", "algorithm": "8", "domain_id": 30943, "created_at": null, "public_key": "AwEAAefkQW+2ZO79nSaQ2eUVGhdmcapkGvZcmc5Xd9ig50k76eldueP198qtMsCV+27KZLqphTbYb4zOh1cF432TyKluZu89VzeVNC7Lq4kxDN1ahJfOCmBXg+/JAbb+NtKzH751CP/cWbwAShCwRb10TipwmTdZRYdOs3y9tKQq7BIE4YnEGrGb4lfCXrKK15Jn2im2f/MtVEuSF+eDB3X/XPU=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_start", "actor": {"id": "", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "cf0252ab-80ea-40ab-8590-7b145d28dd61"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28 +content-length: 1113 +connection: keep-alive + +{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "42AEE231E98FECE484E9FA983CEF28AFFA56E99AD26347806BC6AF291F67DE83", "keytag": "60812", "algorithm": "8", "domain_id": 30943, "created_at": null, "public_key": "AwEAAefkQW+2ZO79nSaQ2eUVGhdmcapkGvZcmc5Xd9ig50k76eldueP198qtMsCV+27KZLqphTbYb4zOh1cF432TyKluZu89VzeVNC7Lq4kxDN1ahJfOCmBXg+/JAbb+NtKzH751CP/cWbwAShCwRb10TipwmTdZRYdOs3y9tKQq7BIE4YnEGrGb4lfCXrKK15Jn2im2f/MtVEuSF+eDB3X/XPU=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_start", "actor": {"id": "", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "webhooks@example.com"}, "api_version": "v2", "request_identifier": "cf0252ab-80ea-40ab-8590-7b145d28dd61"} diff --git a/tests/fixtures/v2/webhooks/domain.auto_renewal_disable/example.http b/tests/fixtures/v2/webhooks/domain.auto_renewal_disable/example.http index 3b56e9d0..fc48a172 100644 --- a/tests/fixtures/v2/webhooks/domain.auto_renewal_disable/example.http +++ b/tests/fixtures/v2/webhooks/domain.auto_renewal_disable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 681 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:46:16Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.auto_renewal_disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "abf9d6d1-ea69-45f8-85c8-de32b8c6e845"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 681 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:46:16Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.auto_renewal_disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "abf9d6d1-ea69-45f8-85c8-de32b8c6e845"} diff --git a/tests/fixtures/v2/webhooks/domain.auto_renewal_enable/example.http b/tests/fixtures/v2/webhooks/domain.auto_renewal_enable/example.http index 19768e76..7c3e5a05 100644 --- a/tests/fixtures/v2/webhooks/domain.auto_renewal_enable/example.http +++ b/tests/fixtures/v2/webhooks/domain.auto_renewal_enable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 679 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:43:47Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.auto_renewal_enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "680ac620-0e8b-43d1-a3c1-668d61094fde"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 679 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:43:47Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.auto_renewal_enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "680ac620-0e8b-43d1-a3c1-668d61094fde"} diff --git a/tests/fixtures/v2/webhooks/domain.create/example.http b/tests/fixtures/v2/webhooks/domain.create/example.http index 3d766861..65b726d7 100644 --- a/tests/fixtures/v2/webhooks/domain.create/example.http +++ b/tests/fixtures/v2/webhooks/domain.create/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 638 -Connection: keep-alive - -{"data": {"domain": {"id": 181985, "name": "example-beta.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:47:05Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:47:05Z", "unicode_name": "example-beta.com", "private_whois": false, "registrant_id": null}}, "name": "domain.create", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "35e04e69-bec9-46e2-bcf1-1d5a469d82b6"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 638 +connection: keep-alive + +{"data": {"domain": {"id": 181985, "name": "example-beta.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:47:05Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:47:05Z", "unicode_name": "example-beta.com", "private_whois": false, "registrant_id": null}}, "name": "domain.create", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "35e04e69-bec9-46e2-bcf1-1d5a469d82b6"} diff --git a/tests/fixtures/v2/webhooks/domain.delegation_change/example.http b/tests/fixtures/v2/webhooks/domain.delegation_change/example.http index 22af1671..c0d6d468 100644 --- a/tests/fixtures/v2/webhooks/domain.delegation_change/example.http +++ b/tests/fixtures/v2/webhooks/domain.delegation_change/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 755 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}, "name_servers": ["ns1.dnsimple.com", "ns2.dnsimple.com", "ns3.dnsimple.com"]}, "name": "domain.delegation_change", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "e078a72f-c744-486d-932c-cee8554716ed"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 755 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}, "name_servers": ["ns1.dnsimple.com", "ns2.dnsimple.com", "ns3.dnsimple.com"]}, "name": "domain.delegation_change", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "e078a72f-c744-486d-932c-cee8554716ed"} diff --git a/tests/fixtures/v2/webhooks/domain.delete/example.http b/tests/fixtures/v2/webhooks/domain.delete/example.http index 9dfc1b44..f0bb9d08 100644 --- a/tests/fixtures/v2/webhooks/domain.delete/example.http +++ b/tests/fixtures/v2/webhooks/domain.delete/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 667 -Connection: keep-alive - -{"data": {"domain": {"id": 181986, "name": "example-delta.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T20:48:23Z", "expires_at": "2021-06-05T03:48:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:48:30Z", "unicode_name": "example-delta.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.delete", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "52888db5-ac52-4ccf-b211-4e1785a7524f"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 667 +connection: keep-alive + +{"data": {"domain": {"id": 181986, "name": "example-delta.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T20:48:23Z", "expires_at": "2021-06-05T03:48:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:48:30Z", "unicode_name": "example-delta.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.delete", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "52888db5-ac52-4ccf-b211-4e1785a7524f"} diff --git a/tests/fixtures/v2/webhooks/domain.register/example.http b/tests/fixtures/v2/webhooks/domain.register/example.http index 1e15b483..dcd9539d 100644 --- a/tests/fixtures/v2/webhooks/domain.register/example.http +++ b/tests/fixtures/v2/webhooks/domain.register/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 662 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "a57e7761-3cfd-42a1-ba47-9ac89f5e69c3"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 662 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "a57e7761-3cfd-42a1-ba47-9ac89f5e69c3"} diff --git a/tests/fixtures/v2/webhooks/domain.register/status-cancelled.http b/tests/fixtures/v2/webhooks/domain.register/status-cancelled.http index 0dac4e53..427c4d95 100644 --- a/tests/fixtures/v2/webhooks/domain.register/status-cancelled.http +++ b/tests/fixtures/v2/webhooks/domain.register/status-cancelled.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 591 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:15:14Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register:cancelled", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "7bd379d8-8572-4ccd-9084-e1a842cd6012"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 591 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:15:14Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register:cancelled", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "7bd379d8-8572-4ccd-9084-e1a842cd6012"} diff --git a/tests/fixtures/v2/webhooks/domain.register/status-started.http b/tests/fixtures/v2/webhooks/domain.register/status-started.http index 043f8d7d..759c7fd7 100644 --- a/tests/fixtures/v2/webhooks/domain.register/status-started.http +++ b/tests/fixtures/v2/webhooks/domain.register/status-started.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 591 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:15:14Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register:started", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "7bd379d8-8572-4ccd-9084-e1a842cd6012"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 591 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "hosted", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": null, "expires_on": null, "updated_at": "2020-06-04T19:15:14Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.register:started", "actor": {"id": "1385", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "7bd379d8-8572-4ccd-9084-e1a842cd6012"} diff --git a/tests/fixtures/v2/webhooks/domain.registrant_change/example.http b/tests/fixtures/v2/webhooks/domain.registrant_change/example.http index aa81cb62..8dedb17f 100644 --- a/tests/fixtures/v2/webhooks/domain.registrant_change/example.http +++ b/tests/fixtures/v2/webhooks/domain.registrant_change/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 1129 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 1129 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} diff --git a/tests/fixtures/v2/webhooks/domain.registrant_change/status-cancelled.http b/tests/fixtures/v2/webhooks/domain.registrant_change/status-cancelled.http index 3deeae4b..9f45defd 100644 --- a/tests/fixtures/v2/webhooks/domain.registrant_change/status-cancelled.http +++ b/tests/fixtures/v2/webhooks/domain.registrant_change/status-cancelled.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 1139 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change:cancelled", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 1139 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change:cancelled", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} diff --git a/tests/fixtures/v2/webhooks/domain.registrant_change/status-started.http b/tests/fixtures/v2/webhooks/domain.registrant_change/status-started.http index 1237760e..4ca0b4f4 100644 --- a/tests/fixtures/v2/webhooks/domain.registrant_change/status-started.http +++ b/tests/fixtures/v2/webhooks/domain.registrant_change/status-started.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 1137 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change:started", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 1137 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T21:04:17Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2716}, "registrant": {"id": 2716, "fax": "", "city": "New York", "label": "new_contact", "phone": "+1 202-555-0191", "country": "US", "address1": "Test St", "address2": "", "job_title": "", "last_name": "Corp 2", "account_id": 1385, "created_at": "2020-06-04T21:03:47.226Z", "first_name": "DNSimple", "updated_at": "2020-06-04T21:03:47.226Z", "postal_code": "14801", "email_address": "support@dnsimple.com", "state_province": "NY", "organization_name": ""}}, "name": "domain.registrant_change:started", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "9ef5f6f7-fa00-4d31-a1dc-5f80ae783d93"} diff --git a/tests/fixtures/v2/webhooks/domain.registrant_change_started/example.http b/tests/fixtures/v2/webhooks/domain.registrant_change_started/example.http index 08f62116..d868e3e3 100644 --- a/tests/fixtures/v2/webhooks/domain.registrant_change_started/example.http +++ b/tests/fixtures/v2/webhooks/domain.registrant_change_started/example.http @@ -1,10 +1,10 @@ POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 85466446-d581-4574-8656-eebcc66b8e71 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Content-Length: 1134 -Connection: keep-alive +host: example.com +accept-encoding: gzip +x-request-id: 85466446-d581-4574-8656-eebcc66b8e71 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +content-length: 1134 +connection: keep-alive {"data": {"domain": {"id": 313083, "name": "dnsimple-demo-terraform.bio", "state": "registered", "account_id": 101, "auto_renew": true, "created_at": "2023-04-18T10:55:20Z", "expires_at": "2024-04-18T17:55:00Z", "expires_on": "2024-04-18", "updated_at": "2023-04-18T10:55:31Z", "unicode_name": "dnsimple-demo-terraform.bio", "private_whois": false, "registrant_id": 10030}, "registrant": {"id": 9927, "fax": null, "city": "Miami", "label": null, "phone": "+1.3215554444", "country": "US", "address1": "111 SW 1st Street", "address2": null, "job_title": null, "last_name": "Smith", "account_id": 101, "created_at": "2023-03-02T02:39:16.365Z", "first_name": "Jane", "updated_at": "2023-03-02T02:39:16.365Z", "postal_code": "11111", "email_address": "jane.smith@example.com", "state_province": "FL", "organization_name": null}}, "name": "domain.registrant_change:started", "actor": {"id": "101", "entity": "account", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 101, "display": "xxxxxx", "identifier": "xxxxx@xxxxxxx.xxx"}, "api_version": "v2", "request_identifier": "44aaa160-1bd9-4537-b513-990aaa44bf5b"} diff --git a/tests/fixtures/v2/webhooks/domain.renew/example.http b/tests/fixtures/v2/webhooks/domain.renew/example.http index 79ae9f48..43c9c54a 100644 --- a/tests/fixtures/v2/webhooks/domain.renew/example.http +++ b/tests/fixtures/v2/webhooks/domain.renew/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 685 -Connection: keep-alive - -{"data": {"auto": true, "domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.renew", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "b02026a9-bb60-4c80-a1da-310eef08dd53"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 685 +connection: keep-alive + +{"data": {"auto": true, "domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.renew", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "b02026a9-bb60-4c80-a1da-310eef08dd53"} diff --git a/tests/fixtures/v2/webhooks/domain.renew/status-cancelled.http b/tests/fixtures/v2/webhooks/domain.renew/status-cancelled.http index 53b59de3..3483d5b4 100644 --- a/tests/fixtures/v2/webhooks/domain.renew/status-cancelled.http +++ b/tests/fixtures/v2/webhooks/domain.renew/status-cancelled.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 671 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.renew:cancelled", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 671 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.renew:cancelled", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} diff --git a/tests/fixtures/v2/webhooks/domain.renew/status-started.http b/tests/fixtures/v2/webhooks/domain.renew/status-started.http index a7f73344..f8d4e929 100644 --- a/tests/fixtures/v2/webhooks/domain.renew/status-started.http +++ b/tests/fixtures/v2/webhooks/domain.renew/status-started.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 671 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.renew:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 671 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.renew:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} diff --git a/tests/fixtures/v2/webhooks/domain.resolution_disable/example.http b/tests/fixtures/v2/webhooks/domain.resolution_disable/example.http index d7d02744..02a4e8ba 100644 --- a/tests/fixtures/v2/webhooks/domain.resolution_disable/example.http +++ b/tests/fixtures/v2/webhooks/domain.resolution_disable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 678 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:34:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}}, "name": "domain.resolution_disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "472542bc-c8bf-4638-99ea-ad22bc0b810f"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 678 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:34:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}}, "name": "domain.resolution_disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "472542bc-c8bf-4638-99ea-ad22bc0b810f"} diff --git a/tests/fixtures/v2/webhooks/domain.resolution_enable/example.http b/tests/fixtures/v2/webhooks/domain.resolution_enable/example.http index c4954861..f7898e1d 100644 --- a/tests/fixtures/v2/webhooks/domain.resolution_enable/example.http +++ b/tests/fixtures/v2/webhooks/domain.resolution_enable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 677 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:37:32Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}}, "name": "domain.resolution_enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "92a1c588-1281-408b-8e1b-14d766464e34"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 677 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:37:32Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}}, "name": "domain.resolution_enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "92a1c588-1281-408b-8e1b-14d766464e34"} diff --git a/tests/fixtures/v2/webhooks/domain.restore/example.http b/tests/fixtures/v2/webhooks/domain.restore/example.http index e7039ba2..4b0aba0c 100644 --- a/tests/fixtures/v2/webhooks/domain.restore/example.http +++ b/tests/fixtures/v2/webhooks/domain.restore/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 685 -Connection: keep-alive - -{"data": {"auto": true, "domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.restore", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "b02026a9-bb60-4c80-a1da-310eef08dd53"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 687 +connection: keep-alive + +{"data": {"auto": true, "domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": true, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}}, "name": "domain.restore", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "b02026a9-bb60-4c80-a1da-310eef08dd53"} diff --git a/tests/fixtures/v2/webhooks/domain.restore/status-cancelled.http b/tests/fixtures/v2/webhooks/domain.restore/status-cancelled.http index 1b3c88cd..5bcf0033 100644 --- a/tests/fixtures/v2/webhooks/domain.restore/status-cancelled.http +++ b/tests/fixtures/v2/webhooks/domain.restore/status-cancelled.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 671 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.restore:cancelled", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 671 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.restore:cancelled", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} diff --git a/tests/fixtures/v2/webhooks/domain.restore/status-started.http b/tests/fixtures/v2/webhooks/domain.restore/status-started.http index 332c0430..1c586b83 100644 --- a/tests/fixtures/v2/webhooks/domain.restore/status-started.http +++ b/tests/fixtures/v2/webhooks/domain.restore/status-started.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 671 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.restore:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 671 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 965, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": true, "created_at": "2022-10-12T21:53:01Z", "expires_at": "2024-10-12T21:53:04Z", "expires_on": "2024-10-12", "updated_at": "2023-02-13T16:04:05Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.restore:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "4b2394b1-236b-42e8-859f-6952f2c222a7"} diff --git a/tests/fixtures/v2/webhooks/domain.transfer/example.http b/tests/fixtures/v2/webhooks/domain.transfer/example.http index 192f8790..f87b8867 100644 --- a/tests/fixtures/v2/webhooks/domain.transfer/example.http +++ b/tests/fixtures/v2/webhooks/domain.transfer/example.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 607 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": "2023-06-05T02:15:00Z", "expires_on": "2023-06-05", "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "3076b668-0e44-4520-9b05-53e99d87dbe4"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 607 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "registered", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": "2023-06-05T02:15:00Z", "expires_on": "2023-06-05", "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "3076b668-0e44-4520-9b05-53e99d87dbe4"} diff --git a/tests/fixtures/v2/webhooks/domain.transfer/status-cancelled.http b/tests/fixtures/v2/webhooks/domain.transfer/status-cancelled.http index a36e34c0..5179e9c5 100644 --- a/tests/fixtures/v2/webhooks/domain.transfer/status-cancelled.http +++ b/tests/fixtures/v2/webhooks/domain.transfer/status-cancelled.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 607 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "hosted", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": null, "expires_on": null, "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer:cancelled", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "fdc33563-a219-4df8-85c1-81fcaa16c9e2"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 607 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "hosted", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": null, "expires_on": null, "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer:cancelled", "actor": {"id": "system", "entity": "dnsimple", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "fdc33563-a219-4df8-85c1-81fcaa16c9e2"} diff --git a/tests/fixtures/v2/webhooks/domain.transfer/status-started.http b/tests/fixtures/v2/webhooks/domain.transfer/status-started.http index fb8a8840..c05db672 100644 --- a/tests/fixtures/v2/webhooks/domain.transfer/status-started.http +++ b/tests/fixtures/v2/webhooks/domain.transfer/status-started.http @@ -1,8 +1,8 @@ -POST /test HTTP/1.1 -Host: dnsimple.requestcatcher.com -Accept-Encoding: gzip -Content-Length: 607 -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 - -{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "hosted", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": null, "expires_on": null, "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "3076b668-0e44-4520-9b05-53e99d87dbe4"} +POST /test HTTP/1.1 +host: dnsimple.requestcatcher.com +accept-encoding: gzip +content-length: 607 +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/d75a7ee112449b681673d7b088bdd7dae30cc176 + +{"data": {"domain": {"id": 919, "name": "example-alpha.com", "state": "hosted", "account_id": 682, "auto_renew": false, "created_at": "2022-05-05T17:26:15Z", "expires_at": null, "expires_on": null, "updated_at": "2022-05-05T17:26:15Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 167}}, "name": "domain.transfer:started", "actor": {"id": "682", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 682, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "3076b668-0e44-4520-9b05-53e99d87dbe4"} diff --git a/tests/fixtures/v2/webhooks/domain.transfer_lock_disable/example.http b/tests/fixtures/v2/webhooks/domain.transfer_lock_disable/example.http index ec2b1fd2..0371bb3d 100644 --- a/tests/fixtures/v2/webhooks/domain.transfer_lock_disable/example.http +++ b/tests/fixtures/v2/webhooks/domain.transfer_lock_disable/example.http @@ -1,9 +1,9 @@ POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 667 -Connection: keep-alive +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 667 +connection: keep-alive {"data": {"domain": {"id": 1, "name": "example.com", "state": "registered", "account_id": 1010, "auto_renew": false, "created_at": "2023-03-02T02:39:18Z", "expires_at": "2024-03-02T02:39:22Z", "expires_on": "2024-03-02", "updated_at": "2023-08-31T06:46:48Z", "unicode_name": "example.com", "private_whois": false, "registrant_id": 101}}, "name": "domain.transfer_lock_disable", "actor": {"id": "1010", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1010, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "0f31483c-c303-497b-8a88-2edb48aa111e"} diff --git a/tests/fixtures/v2/webhooks/domain.transfer_lock_enable/example.http b/tests/fixtures/v2/webhooks/domain.transfer_lock_enable/example.http index a1df40e9..45e9ebd1 100644 --- a/tests/fixtures/v2/webhooks/domain.transfer_lock_enable/example.http +++ b/tests/fixtures/v2/webhooks/domain.transfer_lock_enable/example.http @@ -1,9 +1,9 @@ POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 666 -Connection: keep-alive +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 666 +connection: keep-alive {"data": {"domain": {"id": 1, "name": "example.com", "state": "registered", "account_id": 1010, "auto_renew": false, "created_at": "2023-03-02T02:39:18Z", "expires_at": "2024-03-02T02:39:22Z", "expires_on": "2024-03-02", "updated_at": "2023-08-31T06:46:48Z", "unicode_name": "example.com", "private_whois": false, "registrant_id": 101}}, "name": "domain.transfer_lock_enable", "actor": {"id": "1010", "entity": "account", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1010, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "0f31483c-c303-497b-8a88-2edb48aa111e"} diff --git a/tests/fixtures/v2/webhooks/email_forward.activate/example.http b/tests/fixtures/v2/webhooks/email_forward.activate/example.http index fd60e802..5ddec770 100644 --- a/tests/fixtures/v2/webhooks/email_forward.activate/example.http +++ b/tests/fixtures/v2/webhooks/email_forward.activate/example.http @@ -1,13 +1,13 @@ POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Length: 554 -Accept-Encoding: gzip -X-Request-Id: 42f14e6a-21e4-4942-9556-682298b5a852 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Connect-Time: 0 -Via: 1.1 vegur -Total-Route-Time: 1 -Connection: keep-alive +host: example.com +content-length: 554 +accept-encoding: gzip +x-request-id: 42f14e6a-21e4-4942-9556-682298b5a852 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +connect-time: 0 +via: 1.1 vegur +total-route-time: 1 +connection: keep-alive {"data": {"email_forward": {"id": 11587, "to": "test@example.com", "from": "test@hostedzone.com", "active": true, "domain_id": 322675, "created_at": "2024-11-21T13:21:45Z", "updated_at": "2024-11-21T13:25:51Z", "alias_email": "test@hostedzone.com", "destination_email": "test@example.com"}}, "name": "email_forward.activate", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "1c15eea2-cf3e-4613-9f35-3f4bdd79d231"} diff --git a/tests/fixtures/v2/webhooks/email_forward.create/example.http b/tests/fixtures/v2/webhooks/email_forward.create/example.http index 676017b2..dded9643 100644 --- a/tests/fixtures/v2/webhooks/email_forward.create/example.http +++ b/tests/fixtures/v2/webhooks/email_forward.create/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 5f262ad7-c67d-4e27-a9ed-0f127d974a77 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Connect-Time: 1 -Via: 1.1 vegur -Content-Length: 561 -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": "example@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:39Z", "alias_email": "example@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.create", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "46a0c6b7-695c-4650-82d3-c6612599fe76"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 5f262ad7-c67d-4e27-a9ed-0f127d974a77 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +connect-time: 1 +via: 1.1 vegur +content-length: 560 +total-route-time: 0 +connection: keep-alive + +{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": "example@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:39Z", "alias_email": "example@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.create", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "46a0c6b7-695c-4650-82d3-c6612599fe76"} diff --git a/tests/fixtures/v2/webhooks/email_forward.deactivate/example.http b/tests/fixtures/v2/webhooks/email_forward.deactivate/example.http index a574be5c..0e6efcd7 100644 --- a/tests/fixtures/v2/webhooks/email_forward.deactivate/example.http +++ b/tests/fixtures/v2/webhooks/email_forward.deactivate/example.http @@ -1,13 +1,13 @@ POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Length: 557 -Accept-Encoding: gzip -X-Request-Id: 42f14e6a-21e4-4942-9556-682298b5a852 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Connect-Time: 0 -Via: 1.1 vegur -Total-Route-Time: 1 -Connection: keep-alive +host: example.com +content-length: 557 +accept-encoding: gzip +x-request-id: 42f14e6a-21e4-4942-9556-682298b5a852 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +connect-time: 0 +via: 1.1 vegur +total-route-time: 1 +connection: keep-alive {"data": {"email_forward": {"id": 11587, "to": "test@example.com", "from": "test@hostedzone.com", "active": false, "domain_id": 322675, "created_at": "2024-11-21T13:21:45Z", "updated_at": "2024-11-21T13:25:51Z", "alias_email": "test@hostedzone.com", "destination_email": "test@example.com"}}, "name": "email_forward.deactivate", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "1c15eea2-cf3e-4613-9f35-3f4bdd79d231"} diff --git a/tests/fixtures/v2/webhooks/email_forward.delete/example.http b/tests/fixtures/v2/webhooks/email_forward.delete/example.http index c7c9fd7e..e2f2f299 100644 --- a/tests/fixtures/v2/webhooks/email_forward.delete/example.http +++ b/tests/fixtures/v2/webhooks/email_forward.delete/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Length: 551 -Total-Route-Time: 0 -Via: 1.1 vegur -Accept-Encoding: gzip -X-Request-Id: e459cabf-de4e-4288-8e2b-09799e1415dd -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Connect-Time: 0 -Connection: keep-alive - -{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": ".*@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:53Z", "alias_email": ".*@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.delete", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "8ab69f9d-1de9-4425-9755-50cc4f10f5a8"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-length: 550 +total-route-time: 0 +via: 1.1 vegur +accept-encoding: gzip +x-request-id: e459cabf-de4e-4288-8e2b-09799e1415dd +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +connect-time: 0 +connection: keep-alive + +{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": ".*@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:53Z", "alias_email": ".*@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.delete", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "8ab69f9d-1de9-4425-9755-50cc4f10f5a8"} diff --git a/tests/fixtures/v2/webhooks/email_forward.update/example.http b/tests/fixtures/v2/webhooks/email_forward.update/example.http index ebdcd8fa..a703defc 100644 --- a/tests/fixtures/v2/webhooks/email_forward.update/example.http +++ b/tests/fixtures/v2/webhooks/email_forward.update/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Length: 551 -Accept-Encoding: gzip -X-Request-Id: 42f14e6a-21e4-4942-9556-682298b5a852 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Connect-Time: 0 -Via: 1.1 vegur -Total-Route-Time: 1 -Connection: keep-alive - -{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": ".*@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:53Z", "alias_email": ".*@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.update", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "83a53e35-9277-493f-af4d-a06a35167412"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-length: 550 +accept-encoding: gzip +x-request-id: 42f14e6a-21e4-4942-9556-682298b5a852 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +connect-time: 0 +via: 1.1 vegur +total-route-time: 1 +connection: keep-alive + +{"data": {"email_forward": {"id": 30187, "to": "example@example.com", "from": ".*@example.zone", "active": true, "domain_id": 415995, "created_at": "2018-11-07T17:20:39Z", "updated_at": "2018-11-07T17:20:53Z", "alias_email": ".*@example.zone", "destination_email": "example@example.com"}}, "name": "email_forward.update", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxx@xxxxxxx.xxx"}, "account": {"id": 111, "display": "Personal", "identifier": "xxxxxx"}, "api_version": "v2", "request_identifier": "83a53e35-9277-493f-af4d-a06a35167412"} diff --git a/tests/fixtures/v2/webhooks/subscription.renew/example.http b/tests/fixtures/v2/webhooks/subscription.renew/example.http new file mode 100644 index 00000000..066c9f26 --- /dev/null +++ b/tests/fixtures/v2/webhooks/subscription.renew/example.http @@ -0,0 +1,13 @@ +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +total-route-time: 7210 +content-length: 432 +x-request-id: e15222f0-83fd-48ae-ab6f-67c8f3198dcc +via: 1.1 vegur +connect-time: 1 +accept-encoding: gzip +user-agent: DNSimple-Webhook-Notifier/8b16040b4b0e3b18a84c6a300a85119cf638980a +connection: keep-alive + +{"data": {"subscription": {"id": 11111, "state": "subscribed", "plan_name": "Teams", "created_at": "2018-12-20T13:40:26Z", "updated_at": "2019-04-06T08:57:01Z"}}, "name": "subscription.renew", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "e08f7b64-81b2-454c-a090-ee012cbf2141"} diff --git a/tests/fixtures/v2/webhooks/subscription.renew/state-failed.http b/tests/fixtures/v2/webhooks/subscription.renew/state-failed.http index 085313da..b4c89fed 100644 --- a/tests/fixtures/v2/webhooks/subscription.renew/state-failed.http +++ b/tests/fixtures/v2/webhooks/subscription.renew/state-failed.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Total-Route-Time: 7210 -Content-Length: 446 -X-Request-Id: e15222f0-83fd-48ae-ab6f-67c8f3198dcc -Via: 1.1 vegur -Connect-Time: 1 -Accept-Encoding: gzip -User-Agent: DNSimple-Webhook-Notifier/8b16040b4b0e3b18a84c6a300a85119cf638980a -Connection: keep-alive - -{"data": {"subscription": {"id": 11111, "state": "subscribed", "plan_name": "Teams", "created_at": "2018-12-20T13:40:26Z", "updated_at": "2019-04-06T08:57:01Z"}}, "name": "subscription.renew:failed", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "e08f7b64-81b2-454c-a090-ee012cbf2141"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +total-route-time: 7210 +content-length: 439 +x-request-id: e15222f0-83fd-48ae-ab6f-67c8f3198dcc +via: 1.1 vegur +connect-time: 1 +accept-encoding: gzip +user-agent: DNSimple-Webhook-Notifier/8b16040b4b0e3b18a84c6a300a85119cf638980a +connection: keep-alive + +{"data": {"subscription": {"id": 11111, "state": "subscribed", "plan_name": "Teams", "created_at": "2018-12-20T13:40:26Z", "updated_at": "2019-04-06T08:57:01Z"}}, "name": "subscription.renew:failed", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "e08f7b64-81b2-454c-a090-ee012cbf2141"} diff --git a/tests/fixtures/v2/webhooks/webhook.create/example.http b/tests/fixtures/v2/webhooks/webhook.create/example.http index b4ee4d44..2bad2d52 100644 --- a/tests/fixtures/v2/webhooks/webhook.create/example.http +++ b/tests/fixtures/v2/webhooks/webhook.create/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 7c7d1a66-efc6-4818-9861-ec0ed1a1ddb4 -Content-Length: 350 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"webhook": {"id": 274, "url": "https://xxxxxx-xxxxxxx-00000.herokuapp.com/xxxxxxxx"}}, "name": "webhook.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "f8330285-724f-4395-84ee-063e390d8162"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 7c7d1a66-efc6-4818-9861-ec0ed1a1ddb4 +content-length: 350 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +via: 1.1 vegur +total-route-time: 0 +connect-time: 0 +connection: keep-alive + +{"data": {"webhook": {"id": 274, "url": "https://xxxxxx-xxxxxxx-00000.herokuapp.com/xxxxxxxx"}}, "name": "webhook.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "f8330285-724f-4395-84ee-063e390d8162"} diff --git a/tests/fixtures/v2/webhooks/webhook.delete/example.http b/tests/fixtures/v2/webhooks/webhook.delete/example.http index 69797951..f8de0e4b 100644 --- a/tests/fixtures/v2/webhooks/webhook.delete/example.http +++ b/tests/fixtures/v2/webhooks/webhook.delete/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -X-Request-Id: 4e4b2552-9c80-4437-aea8-b09e8ceb0321 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Content-Type: application/json -Content-Length: 350 -Via: 1.1 vegur -Total-Route-Time: 0 -Connect-Time: 0 -Connection: keep-alive - -{"data": {"webhook": {"id": 215, "url": "https://xxxxxx-xxxxxxx-00000.herokuapp.com/xxxxxxxx"}}, "name": "webhook.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "4d6f9084-850d-444d-a998-455a59f830d5"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +accept-encoding: gzip +x-request-id: 4e4b2552-9c80-4437-aea8-b09e8ceb0321 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +content-type: application/json +content-length: 350 +via: 1.1 vegur +total-route-time: 0 +connect-time: 0 +connection: keep-alive + +{"data": {"webhook": {"id": 215, "url": "https://xxxxxx-xxxxxxx-00000.herokuapp.com/xxxxxxxx"}}, "name": "webhook.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "4d6f9084-850d-444d-a998-455a59f830d5"} diff --git a/tests/fixtures/v2/webhooks/whois_privacy.disable/example.http b/tests/fixtures/v2/webhooks/whois_privacy.disable/example.http index 873d8a3e..b0ec4891 100644 --- a/tests/fixtures/v2/webhooks/whois_privacy.disable/example.http +++ b/tests/fixtures/v2/webhooks/whois_privacy.disable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 848 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:37:32Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": "2022-06-04", "updated_at": "2020-06-04T20:41:24Z"}}, "name": "whois_privacy.disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "5a3d96eb-bf52-40c3-830c-38bc11b47244"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 848 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T20:37:32Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": "2022-06-04", "updated_at": "2020-06-04T20:41:24Z"}}, "name": "whois_privacy.disable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "5a3d96eb-bf52-40c3-830c-38bc11b47244"} diff --git a/tests/fixtures/v2/webhooks/whois_privacy.enable/example.http b/tests/fixtures/v2/webhooks/whois_privacy.enable/example.http index 85df4139..d5ec69b3 100644 --- a/tests/fixtures/v2/webhooks/whois_privacy.enable/example.http +++ b/tests/fixtures/v2/webhooks/whois_privacy.enable/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 839 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": null, "updated_at": "2020-06-04T20:01:27Z"}}, "name": "whois_privacy.enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "2708ba50-c35d-4339-a7b6-be790fe1aebc"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 839 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": null, "updated_at": "2020-06-04T20:01:27Z"}}, "name": "whois_privacy.enable", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "2708ba50-c35d-4339-a7b6-be790fe1aebc"} diff --git a/tests/fixtures/v2/webhooks/whois_privacy.purchase/example.http b/tests/fixtures/v2/webhooks/whois_privacy.purchase/example.http index cfcd02a8..7b064561 100644 --- a/tests/fixtures/v2/webhooks/whois_privacy.purchase/example.http +++ b/tests/fixtures/v2/webhooks/whois_privacy.purchase/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 841 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": null, "updated_at": "2020-06-04T20:01:27Z"}}, "name": "whois_privacy.purchase", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "c04fefd7-d588-4efd-996e-cd457736abe1"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 841 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": false, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": false, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": null, "updated_at": "2020-06-04T20:01:27Z"}}, "name": "whois_privacy.purchase", "actor": {"id": "1331", "entity": "user", "pretty": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "c04fefd7-d588-4efd-996e-cd457736abe1"} diff --git a/tests/fixtures/v2/webhooks/whois_privacy.renew/example.http b/tests/fixtures/v2/webhooks/whois_privacy.renew/example.http index 64e186db..c26dc9fd 100644 --- a/tests/fixtures/v2/webhooks/whois_privacy.renew/example.http +++ b/tests/fixtures/v2/webhooks/whois_privacy.renew/example.http @@ -1,9 +1,9 @@ -POST / HTTP/1.1 -Host: example.com -Accept-Encoding: gzip -Content-Type: application/json -User-Agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 -Content-Length: 837 -Connection: keep-alive - -{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": true, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": "2022-06-04", "updated_at": "2020-06-04T20:15:23Z"}}, "name": "whois_privacy.renew", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "6164c3bb-f9df-4e00-b560-e122b19e25f7"} +POST / HTTP/1.1 +host: example.com +accept-encoding: gzip +content-type: application/json +user-agent: DNSimple-Webhook-Notifier/8fd98a84516b72d5b863b27f93fcbaef61f06c03 +content-length: 837 +connection: keep-alive + +{"data": {"domain": {"id": 181984, "name": "example-alpha.com", "state": "registered", "account_id": 1385, "auto_renew": false, "created_at": "2020-06-04T19:15:14Z", "expires_at": "2021-06-05T02:15:00Z", "expires_on": "2021-06-05", "updated_at": "2020-06-04T19:15:21Z", "unicode_name": "example-alpha.com", "private_whois": true, "registrant_id": 2715}, "whois_privacy": {"id": 902, "enabled": true, "domain_id": 181984, "created_at": "2020-06-04T20:01:27Z", "expires_on": "2022-06-04", "updated_at": "2020-06-04T20:15:23Z"}}, "name": "whois_privacy.renew", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1385, "display": "xxxxxxx-xxxxxxx-xxxxxxx", "identifier": "xxxxxxx-xxxxxxx-xxxxxxx@xxxxx.com"}, "api_version": "v2", "request_identifier": "6164c3bb-f9df-4e00-b560-e122b19e25f7"} diff --git a/tests/fixtures/v2/webhooks/zone.create/example.http b/tests/fixtures/v2/webhooks/zone.create/example.http index ab538d2f..62ab5b3b 100644 --- a/tests/fixtures/v2/webhooks/zone.create/example.http +++ b/tests/fixtures/v2/webhooks/zone.create/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Content-Length: 422 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Connect-Time: 1 -Via: 1.1 vegur -Accept-Encoding: gzip -X-Request-Id: 8e71cd39-3380-486f-b2ff-b0588e677848 -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"zone": {"id": 360322, "name": "example.zone", "reverse": false, "account_id": 123, "created_at": "2018-11-04T20:51:45Z", "updated_at": "2018-11-04T20:51:45Z"}}, "name": "zone.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "154dff3d-4b31-496a-9f39-a8a2b57bad9b"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +content-length: 422 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +connect-time: 1 +via: 1.1 vegur +accept-encoding: gzip +x-request-id: 8e71cd39-3380-486f-b2ff-b0588e677848 +total-route-time: 0 +connection: keep-alive + +{"data": {"zone": {"id": 360322, "name": "example.zone", "reverse": false, "account_id": 123, "created_at": "2018-11-04T20:51:45Z", "updated_at": "2018-11-04T20:51:45Z"}}, "name": "zone.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "154dff3d-4b31-496a-9f39-a8a2b57bad9b"} diff --git a/tests/fixtures/v2/webhooks/zone.delete/example.http b/tests/fixtures/v2/webhooks/zone.delete/example.http index c9224fa2..d68c183e 100644 --- a/tests/fixtures/v2/webhooks/zone.delete/example.http +++ b/tests/fixtures/v2/webhooks/zone.delete/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Content-Length: 422 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Connect-Time: 0 -Via: 1.1 vegur -Accept-Encoding: gzip -X-Request-Id: cc73ccd6-bb72-4cc9-9f95-6d3010595fdf -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"zone": {"id": 360320, "name": "example.zone", "reverse": false, "account_id": 123, "created_at": "2018-11-04T20:51:12Z", "updated_at": "2018-11-04T20:51:12Z"}}, "name": "zone.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "0c783469-92c7-4819-90b6-62ef7785abc5"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +content-length: 422 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +connect-time: 0 +via: 1.1 vegur +accept-encoding: gzip +x-request-id: cc73ccd6-bb72-4cc9-9f95-6d3010595fdf +total-route-time: 0 +connection: keep-alive + +{"data": {"zone": {"id": 360320, "name": "example.zone", "reverse": false, "account_id": 123, "created_at": "2018-11-04T20:51:12Z", "updated_at": "2018-11-04T20:51:12Z"}}, "name": "zone.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "0c783469-92c7-4819-90b6-62ef7785abc5"} diff --git a/tests/fixtures/v2/webhooks/zone_record.create/example.http b/tests/fixtures/v2/webhooks/zone_record.create/example.http index d0900434..8fe2cd62 100644 --- a/tests/fixtures/v2/webhooks/zone_record.create/example.http +++ b/tests/fixtures/v2/webhooks/zone_record.create/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Content-Length: 550 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Connect-Time: 0 -Via: 1.1 vegur -Accept-Encoding: gzip -X-Request-Id: a7b32c49-6211-4f79-8953-a232f94c44c0 -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:21Z", "system_record": false}}, "name": "zone_record.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "42285223-dc74-4f03-89bf-171e3c0a17b4"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +content-length: 550 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +connect-time: 0 +via: 1.1 vegur +accept-encoding: gzip +x-request-id: a7b32c49-6211-4f79-8953-a232f94c44c0 +total-route-time: 0 +connection: keep-alive + +{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:21Z", "system_record": false}}, "name": "zone_record.create", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "42285223-dc74-4f03-89bf-171e3c0a17b4"} diff --git a/tests/fixtures/v2/webhooks/zone_record.delete/example.http b/tests/fixtures/v2/webhooks/zone_record.delete/example.http index 94c6636d..80764513 100644 --- a/tests/fixtures/v2/webhooks/zone_record.delete/example.http +++ b/tests/fixtures/v2/webhooks/zone_record.delete/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Via: 1.1 vegur -Content-Length: 553 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Connect-Time: 0 -Accept-Encoding: gzip -X-Request-Id: 738b17db-2ef0-4c9c-9555-a0ff102d0774 -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "www", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:34Z", "system_record": false}}, "name": "zone_record.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "b633e089-8d5c-49e3-8459-f1c8ac16f66e"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +via: 1.1 vegur +content-length: 553 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +connect-time: 0 +accept-encoding: gzip +x-request-id: 738b17db-2ef0-4c9c-9555-a0ff102d0774 +total-route-time: 0 +connection: keep-alive + +{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "www", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:34Z", "system_record": false}}, "name": "zone_record.delete", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "b633e089-8d5c-49e3-8459-f1c8ac16f66e"} diff --git a/tests/fixtures/v2/webhooks/zone_record.update/example.http b/tests/fixtures/v2/webhooks/zone_record.update/example.http index b49fe426..27d09540 100644 --- a/tests/fixtures/v2/webhooks/zone_record.update/example.http +++ b/tests/fixtures/v2/webhooks/zone_record.update/example.http @@ -1,13 +1,13 @@ -POST /1djlwbe1 HTTP/1.1 -Host: example.com -Content-Type: application/json -Content-Length: 553 -User-Agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf -Connect-Time: 0 -Via: 1.1 vegur -Accept-Encoding: gzip -X-Request-Id: d75c6962-5e68-45a2-afe2-3943dd8637fa -Total-Route-Time: 0 -Connection: keep-alive - -{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "www", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:34Z", "system_record": false}}, "name": "zone_record.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "96cc0f56-577d-41bb-beb5-b1a60ceaf049"} +POST /1djlwbe1 HTTP/1.1 +host: example.com +content-type: application/json +content-length: 553 +user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf +connect-time: 0 +via: 1.1 vegur +accept-encoding: gzip +x-request-id: d75c6962-5e68-45a2-afe2-3943dd8637fa +total-route-time: 0 +connection: keep-alive + +{"data": {"zone_record": {"id": 14762434, "ttl": 3600, "name": "www", "type": "A", "content": "127.0.0.1", "regions": ["global"], "zone_id": "example.zone", "priority": null, "parent_id": null, "created_at": "2018-11-04T20:52:21Z", "updated_at": "2018-11-04T20:52:34Z", "system_record": false}}, "name": "zone_record.update", "actor": {"id": "1120", "entity": "user", "pretty": "hello@example.com"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "96cc0f56-577d-41bb-beb5-b1a60ceaf049"}