Created
February 14, 2014 10:24
-
-
Save simonjohansson/8998874 to your computer and use it in GitHub Desktop.
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
Really delete route env.cf1.test.i.mydomain.com?> Deleting route env.cf1.test.i.mydomain.com... | |
REQUEST: | |
GET /v2/domains?inline-relations-depth=1&q=name%3Acf1.test.i.mydomain.com HTTP/1.1 | |
Host: api.cf1.test.i.mydomain.com | |
Accept: application/json | |
Authorization: [PRIVATE DATA HIDDEN] | |
Content-Type: application/json | |
User-Agent: go-cli 6.0.0-6bb57fe / linux | |
RESPONSE: | |
HTTP/1.1 200 OK | |
Content-Length: 439 | |
Content-Type: application/json;charset=utf-8 | |
Date: Fri, 14 Feb 2014 10:18:54 GMT | |
Server: nginx | |
X-Cf-Warning: Endpoint deprecated | |
X-Content-Type-Options: nosniff | |
X-Vcap-Request-Id: 5d962c98-7e02-48b5-bd3c-bfa82c290358 | |
{ | |
"total_results": 1, | |
"total_pages": 1, | |
"prev_url": null, | |
"next_url": null, | |
"resources": [ | |
{ | |
"metadata": { | |
"guid": "39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"url": "/v2/domains/39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"created_at": "2014-02-12T15:38:08+00:00", | |
"updated_at": "2014-02-12T15:38:08+00:00" | |
}, | |
"entity": { | |
"name": "cf1.test.i.mydomain.com" | |
} | |
} | |
] | |
} | |
REQUEST: | |
GET /v2/routes?inline-relations-depth=1&q=host%3Aenv%3Bdomain_guid%3A39fc00d8-1c48-4f25-98c6-28df0518b259 HTTP/1.1 | |
Host: api.cf1.test.i.mydomain.com | |
Accept: application/json | |
Authorization: [PRIVATE DATA HIDDEN] | |
Content-Type: application/json | |
User-Agent: go-cli 6.0.0-6bb57fe / linux | |
RESPONSE: | |
HTTP/1.1 200 OK | |
Content-Length: 2383 | |
Content-Type: application/json;charset=utf-8 | |
Date: Fri, 14 Feb 2014 10:18:55 GMT | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Vcap-Request-Id: 712c0178-4c46-47e1-81e2-1a94c1f8eb8c | |
{ | |
"total_results": 1, | |
"total_pages": 1, | |
"prev_url": null, | |
"next_url": null, | |
"resources": [ | |
{ | |
"metadata": { | |
"guid": "8cbc538f-0389-45b2-9c2a-c50ded731c45", | |
"url": "/v2/routes/8cbc538f-0389-45b2-9c2a-c50ded731c45", | |
"created_at": "2014-02-12T15:55:29+00:00", | |
"updated_at": null | |
}, | |
"entity": { | |
"host": "env", | |
"domain_guid": "39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"space_guid": "8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"domain_url": "/v2/domains/39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"domain": { | |
"metadata": { | |
"guid": "39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"url": "/v2/domains/39fc00d8-1c48-4f25-98c6-28df0518b259", | |
"created_at": "2014-02-12T15:38:08+00:00", | |
"updated_at": "2014-02-12T15:38:08+00:00" | |
}, | |
"entity": { | |
"name": "cf1.test.i.mydomain.com" | |
} | |
}, | |
"space_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"space": { | |
"metadata": { | |
"guid": "8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"created_at": "2014-02-12T15:54:57+00:00", | |
"updated_at": null | |
}, | |
"entity": { | |
"name": "test", | |
"organization_guid": "5c6066b1-89a4-427e-ad9d-988b1b62c691", | |
"organization_url": "/v2/organizations/5c6066b1-89a4-427e-ad9d-988b1b62c691", | |
"developers_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/developers", | |
"managers_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/managers", | |
"auditors_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/auditors", | |
"apps_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/apps", | |
"domains_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/domains", | |
"service_instances_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/service_instances", | |
"app_events_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/app_events", | |
"events_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f/events" | |
} | |
}, | |
"apps_url": "/v2/routes/8cbc538f-0389-45b2-9c2a-c50ded731c45/apps", | |
"apps": [ | |
] | |
} | |
} | |
] | |
} | |
REQUEST: | |
DELETE /v2/routes/8cbc538f-0389-45b2-9c2a-c50ded731c45?async=true HTTP/1.1 | |
Host: api.cf1.test.i.mydomain.com | |
Accept: application/json | |
Authorization: [PRIVATE DATA HIDDEN] | |
Content-Type: application/json | |
User-Agent: go-cli 6.0.0-6bb57fe / linux | |
RESPONSE: | |
HTTP/1.1 202 Accepted | |
Content-Length: 275 | |
Content-Type: application/json;charset=utf-8 | |
Date: Fri, 14 Feb 2014 10:18:55 GMT | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Vcap-Request-Id: 54a8f632-254e-46d4-8dd1-d042e2983f85 | |
{ | |
"metadata": { | |
"guid": "16cb2f71-bc91-4250-95f3-784f14882483", | |
"created_at": "2014-02-14T10:18:55+00:00", | |
"url": "/v2/jobs/16cb2f71-bc91-4250-95f3-784f14882483" | |
}, | |
"entity": { | |
"guid": "16cb2f71-bc91-4250-95f3-784f14882483", | |
"status": "queued" | |
} | |
} | |
REQUEST: | |
GET /v2/jobs/16cb2f71-bc91-4250-95f3-784f14882483 HTTP/1.1 | |
Host: api.cf1.test.i.mydomain.com | |
Accept: application/json | |
Authorization: [PRIVATE DATA HIDDEN] | |
Content-Type: application/json | |
User-Agent: go-cli 6.0.0-6bb57fe / linux | |
RESPONSE: | |
HTTP/1.1 200 OK | |
Content-Length: 275 | |
Content-Type: application/json;charset=utf-8 | |
Date: Fri, 14 Feb 2014 10:18:55 GMT | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Vcap-Request-Id: e577b156-50b5-4696-bb76-5d9808deb127 | |
{ | |
"metadata": { | |
"guid": "16cb2f71-bc91-4250-95f3-784f14882483", | |
"created_at": "2014-02-14T10:18:55+00:00", | |
"url": "/v2/jobs/16cb2f71-bc91-4250-95f3-784f14882483" | |
}, | |
"entity": { | |
"guid": "16cb2f71-bc91-4250-95f3-784f14882483", | |
"status": "queued" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment