2014-09-10 22:04:55 |
Zain Usmani |
description |
Delete A Zone and try to get recordsets for the deleted zone returns the recordsets which should give a 404 instead of returning a recordsets
sample reqquests are listed below:
Request:
http://api.designate/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735
Response:
{
"code": 404,
"type": "domain_not_found",
"request_id": "req-6deeb5e9-7271-4fe7-956a-3bf8715b2214"
}
Request:
http://104.130.129.135/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets
Response:
{
"recordsets": [
{
"description": null,
"links": {
"self": "http://127.0.0.1:9001/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets/5091f1f4-8132-4955-ba1b-49075ad23d53"
},
"updated_at": null,
"records": [
"ns1.com."
],
"ttl": null,
"id": "5091f1f4-8132-4955-ba1b-49075ad23d53",
"name": "example.org.",
"zone_id": "d9a69693-fe85-49cb-9e09-324ba3ef4735",
"created_at": "2014-09-10T18:36:04.000000",
"version": 1,
"type": "NS"
},
{
"description": null,
"links": {
"self": "http://127.0.0.1:9001/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets/fe6a16ea-7734-4840-b704-d5578350f31c"
},
"updated_at": "2014-09-10T19:20:52.000000",
"records": [
"ns1.com. example.org. 1410376852 3600 600 86400 3600"
],
"ttl": null,
"id": "fe6a16ea-7734-4840-b704-d5578350f31c",
"name": "example.org.",
"zone_id": "d9a69693-fe85-49cb-9e09-324ba3ef4735",
"created_at": "2014-09-10T18:36:04.000000",
"version": 1,
"type": "SOA"
}
} |
Delete A Zone and try to get recordsets for the deleted zone returns the recordsets which should give a 404 instead of returning a recordsets
sample reqquests are listed below:
Request:
http://api.designate/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735
Response:
{
"code": 404,
"type": "domain_not_found",
"request_id": "req-6deeb5e9-7271-4fe7-956a-3bf8715b2214"
}
Request:
http://api.designate/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets
Response:
{
"recordsets": [
{
"description": null,
"links": {
"self": "http://127.0.0.1:9001/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets/5091f1f4-8132-4955-ba1b-49075ad23d53"
},
"updated_at": null,
"records": [
"ns1.com."
],
"ttl": null,
"id": "5091f1f4-8132-4955-ba1b-49075ad23d53",
"name": "example.org.",
"zone_id": "d9a69693-fe85-49cb-9e09-324ba3ef4735",
"created_at": "2014-09-10T18:36:04.000000",
"version": 1,
"type": "NS"
},
{
"description": null,
"links": {
"self": "http://127.0.0.1:9001/v2/zones/d9a69693-fe85-49cb-9e09-324ba3ef4735/recordsets/fe6a16ea-7734-4840-b704-d5578350f31c"
},
"updated_at": "2014-09-10T19:20:52.000000",
"records": [
"ns1.com. example.org. 1410376852 3600 600 86400 3600"
],
"ttl": null,
"id": "fe6a16ea-7734-4840-b704-d5578350f31c",
"name": "example.org.",
"zone_id": "d9a69693-fe85-49cb-9e09-324ba3ef4735",
"created_at": "2014-09-10T18:36:04.000000",
"version": 1,
"type": "SOA"
}
} |
|