{ "item": [ { "id": "e3a2c50d-ff89-43f0-af69-06ee9b304b6d", "name": "Spaces", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "de2c80e1-253b-4add-9889-406cfc6c9629", "name": "List spaces", "request": { "name": "List spaces", "description": {}, "url": { "path": [ "v3", "spaces" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "page", "value": "1" }, { "disabled": false, "key": "per_page", "value": "50" }, { "disabled": false, "key": "names", "value": "" }, { "disabled": false, "key": "organization_guids", "value": "" } ], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": null }, "response": [ { "id": "8cfd8718-68f8-47ed-949c-39f1799978f4", "name": "Spaces page", "originalRequest": { "url": { "path": [ "v3", "spaces" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "50" }, { "key": "names", "value": "" }, { "key": "organization_guids", "value": "" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"pagination\": {\n \"total_results\": 9328,\n \"total_pages\": 7507,\n \"first\": {},\n \"last\": {},\n \"next\": {},\n \"previous\": {}\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "458acacc-0620-49fc-bb0d-8bb568371cee", "name": "Create space", "request": { "name": "Create space", "description": {}, "url": { "path": [ "v3", "spaces" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "3f8e691b-36b9-49e6-9863-a8fe7cad3d96", "name": "Space created", "originalRequest": { "url": { "path": [ "v3", "spaces" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Created", "code": 201, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "253a220e-f8ae-4251-a7b0-d3a462274bca", "name": "Get space", "request": { "name": "Get space", "description": {}, "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": null }, "response": [ { "id": "9589a579-4e0f-439e-aa25-dd098e957431", "name": "Space", "originalRequest": { "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"guid\": \"string\",\n \"name\": \"string\",\n \"relationships\": {}\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "d8327016-9002-4104-a735-b246ff3719fb", "name": "Update space", "request": { "name": "Update space", "description": {}, "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "header": [ { "key": "Content-Type", "value": "application/json" } ], "method": "PATCH", "auth": null, "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "fd4d612a-9230-4f28-9918-1c07d9f5e986", "name": "Updated", "originalRequest": { "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "8b5f305e-ceb8-4589-98b9-ca71ed0962e6", "name": "Delete space", "request": { "name": "Delete space", "description": {}, "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "method": "DELETE", "auth": null }, "response": [ { "id": "58527e45-c78d-444f-9183-7fd984125e8c", "name": "Accepted", "originalRequest": { "url": { "path": [ "v3", "spaces", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Accepted", "code": 202, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api.cloudfoundry.org", "key": "baseUrl" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] }, "info": { "_postman_id": "11680661-d306-4b07-b3c7-32f84cb5ab39", "name": "Cloud Foundry Cloud Controller API v3 Apps Spaces API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "Cloud Foundry Cloud Controller API v3 is the primary control plane of\nCloud Foundry. It manages apps, packages, droplets, processes, tasks,\norganizations, spaces, service instances, and related resources.\nRequests authenticate with OAuth 2.0 bearer tokens issued by the\nCloud Foundry UAA server.\n", "type": "text/plain" } } }