Created
February 14, 2014 10:33
-
-
Save simonjohansson/8998968 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
>>> | |
REQUEST: GET http://api.cf1.test.i.mydomain.com/v2/routes?inline-relations-depth=1 | |
REQUEST_HEADERS: | |
Accept : application/json | |
Authorization : [PRIVATE DATA HIDDEN] | |
Content-Length : 0 | |
RESPONSE: [200] | |
RESPONSE_HEADERS: | |
content-length : 6369 | |
content-type : application/json;charset=utf-8 | |
date : Fri, 14 Feb 2014 10:32:19 GMT | |
server : nginx | |
x-content-type-options : nosniff | |
x-vcap-request-id : adf2788d-7dd2-4acb-a109-23dc632fc1fb | |
RESPONSE_BODY: | |
{ | |
"total_results": 2, | |
"total_pages": 1, | |
"prev_url": null, | |
"next_url": null, | |
"resources": [ | |
{ | |
"metadata": { | |
"guid": "89088a6a-1b63-4a61-ab94-32517e87d406", | |
"url": "/v2/routes/89088a6a-1b63-4a61-ab94-32517e87d406", | |
"created_at": "2014-02-12T15:59:21+00:00", | |
"updated_at": null | |
}, | |
"entity": { | |
"host": "dinmamma", | |
"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/89088a6a-1b63-4a61-ab94-32517e87d406/apps", | |
"apps": [ | |
{ | |
"metadata": { | |
"guid": "e6e84dc0-2f49-48b3-babd-a619be745c13", | |
"url": "/v2/apps/e6e84dc0-2f49-48b3-babd-a619be745c13", | |
"created_at": "2014-02-12T15:59:20+00:00", | |
"updated_at": "2014-02-12T16:04:57+00:00" | |
}, | |
"entity": { | |
"name": "dinmamma", | |
"production": false, | |
"space_guid": "8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"stack_guid": "e7162a0f-b1d9-43a8-b74b-21ad8b0feeff", | |
"buildpack": "https://github.com/cloudfoundry/java-buildpack", | |
"detected_buildpack": null, | |
"environment_json": { | |
"APP_PORT": "$PORT", | |
"MARKLOGIC_BASE_URL": "http://ml.dev.mydomain.com:8403" | |
}, | |
"memory": 1024, | |
"instances": 1, | |
"disk_quota": 1024, | |
"state": "STARTED", | |
"version": "d13fbf36-ea4e-4e0a-b3a2-d6841c7972ad", | |
"command": null, | |
"console": false, | |
"debug": null, | |
"staging_task_id": "94f5fcc4fd234896ba408df72da5b377", | |
"package_state": "STAGED", | |
"health_check_timeout": null, | |
"space_url": "/v2/spaces/8d3c62d9-f2cb-4d53-a7a9-08cd60cb2c0f", | |
"stack_url": "/v2/stacks/e7162a0f-b1d9-43a8-b74b-21ad8b0feeff", | |
"service_bindings_url": "/v2/apps/e6e84dc0-2f49-48b3-babd-a619be745c13/service_bindings", | |
"routes_url": "/v2/apps/e6e84dc0-2f49-48b3-babd-a619be745c13/routes", | |
"events_url": "/v2/apps/e6e84dc0-2f49-48b3-babd-a619be745c13/events" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"metadata": { | |
"guid": "0bed2b0d-e11f-4b3d-ae91-491a69a8867e", | |
"url": "/v2/routes/0bed2b0d-e11f-4b3d-ae91-491a69a8867e", | |
"created_at": "2014-02-14T10:30:47+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/0bed2b0d-e11f-4b3d-ae91-491a69a8867e/apps", | |
"apps": [ | |
] | |
} | |
} | |
] | |
} | |
<<< | |
>>> | |
REQUEST: DELETE http://api.cf1.test.i.mydomain.com/v2/routes/0bed2b0d-e11f-4b3d-ae91-491a69a8867e | |
REQUEST_HEADERS: | |
Authorization : [PRIVATE DATA HIDDEN] | |
Content-Length : 0 | |
RESPONSE: [204] | |
RESPONSE_HEADERS: | |
date : Fri, 14 Feb 2014 10:32:20 GMT | |
server : nginx | |
x-content-type-options : nosniff | |
x-vcap-request-id : e62475a6-6376-4439-835a-ef62da856413 | |
RESPONSE_BODY: | |
<<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment