-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We deprecated expires_on attribute in our documentation and api in favor of expires_at. This commit introduces the new field and deprecates the old one. It also updates to use the new fixtures.
- Loading branch information
1 parent
4a5bd54
commit 705d5e3
Showing
6 changed files
with
72 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
HTTP/1.1 201 Created | ||
Server: nginx | ||
Date: Fri, 18 Dec 2015 16:38:07 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Transfer-Encoding: chunked | ||
Connection: keep-alive | ||
X-RateLimit-Limit: 4000 | ||
X-RateLimit-Remaining: 3986 | ||
X-RateLimit-Reset: 1450456686 | ||
ETag: W/"87e018b900e5f210c3236f63d3b2f4df" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 0d6f1ea7-f702-4317-85f0-04874b69315d | ||
X-Runtime: 0.257489 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
{"data":{"id":1,"account_id":1010,"registrant_id":null,"name":"example-alpha.com","unicode_name":"example-alpha.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2014-12-06T15:56:55Z","updated_at":"2015-12-09T00:20:56Z"}} | ||
HTTP/1.1 201 Created | ||
Server: nginx | ||
Date: Thu, 04 Jun 2020 19:47:05 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Transfer-Encoding: identity | ||
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"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Wed, 16 Dec 2015 21:54:55 GMT | ||
Date: Thu, 04 Jun 2020 19:37:22 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Transfer-Encoding: chunked | ||
Transfer-Encoding: identity | ||
Connection: keep-alive | ||
X-RateLimit-Limit: 4000 | ||
X-RateLimit-Remaining: 3993 | ||
X-RateLimit-Reset: 1450302894 | ||
ETag: W/"e7282090a87379d1fa3507ba6bfd1721" | ||
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: 3d8da18a-b8b2-4bfd-827c-860da837c80f | ||
X-Runtime: 0.020346 | ||
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":1,"account_id":1010,"registrant_id":null,"name":"example-alpha.com","unicode_name":"example-alpha.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2014-12-06T15:56:55Z","updated_at":"2015-12-09T00:20:56Z"}} | ||
{"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"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Wed, 16 Dec 2015 13:36:11 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Transfer-Encoding: chunked | ||
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,"account_id":1010,"registrant_id":null,"name":"example-alpha.com","unicode_name":"example-alpha.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2014-12-06T15:56:55Z","updated_at":"2015-12-09T00:20:56Z"},{"id":2,"account_id":1010,"registrant_id":21,"name":"example-beta.com","unicode_name":"example-beta.com","token":"domain-token","state":"registered","auto_renew":false,"private_whois":false,"expires_on":"2015-12-06","created_at":"2014-12-06T15:46:52Z","updated_at":"2015-12-09T00:20:53Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}} | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Thu, 04 Jun 2020 19:54:16 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Transfer-Encoding: identity | ||
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}} |