{ "item": [ { "id": "6c456892-a53b-42de-a46e-b6f413b34642", "name": "Apps", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "859f9e0f-366d-4050-812b-210a00a4fadc", "name": "List apps", "request": { "name": "List apps", "description": {}, "url": { "path": [ "v3", "apps" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "page", "value": "1" }, { "disabled": false, "key": "per_page", "value": "50" }, { "disabled": false, "key": "names", "value": "" }, { "disabled": false, "key": "space_guids", "value": "" }, { "disabled": false, "key": "organization_guids", "value": "" } ], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": null }, "response": [ { "id": "ba932d4a-369c-4bfc-a688-65059341d643", "name": "Paginated list of apps", "originalRequest": { "url": { "path": [ "v3", "apps" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "50" }, { "key": "names", "value": "" }, { "key": "space_guids", "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\": 9790,\n \"total_pages\": 7513,\n \"first\": {},\n \"last\": {},\n \"next\": {},\n \"previous\": {}\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "82ad2cd1-77ff-4556-9c2d-155ce4447afb", "name": "Create app", "request": { "name": "Create app", "description": {}, "url": { "path": [ "v3", "apps" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"lifecycle\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "ff207ec2-8ee9-4ee3-bb7a-76da3e947f6b", "name": "App created", "originalRequest": { "url": { "path": [ "v3", "apps" ], "host": [ "{{baseUrl}}" ], "query": [], "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": "POST", "body": { "mode": "raw", "raw": "{\n \"guid\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"lifecycle\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Created", "code": 201, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"guid\": \"string\",\n \"name\": \"string\",\n \"state\": \"STARTED\",\n \"lifecycle\": {},\n \"relationships\": {}\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "09646632-e08a-4365-8f4e-a7e92dbc690e", "name": "Get app", "request": { "name": "Get app", "description": {}, "url": { "path": [ "v3", "apps", ":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": "327037af-2f2a-4ac6-bc23-50124241de46", "name": "App", "originalRequest": { "url": { "path": [ "v3", "apps", ":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 \"state\": \"STARTED\",\n \"lifecycle\": {},\n \"relationships\": {}\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "7c4650d9-338e-4699-a14b-4e19720a74fe", "name": "Update app", "request": { "name": "Update app", "description": {}, "url": { "path": [ "v3", "apps", ":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 \"state\": \"\",\n \"lifecycle\": \"\",\n \"relationships\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "e289005d-f591-48ec-8f07-597b82e27de6", "name": "Updated", "originalRequest": { "url": { "path": [ "v3", "apps", ":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 \"state\": \"\",\n \"lifecycle\": \"\",\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": "70794e88-c61e-4cbc-ac2b-67d1d04f49c1", "name": "Delete app", "request": { "name": "Delete app", "description": {}, "url": { "path": [ "v3", "apps", ":guid" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "method": "DELETE", "auth": null }, "response": [ { "id": "7920a9e8-a486-4a88-a202-b1216790df33", "name": "Accepted (asynchronous)", "originalRequest": { "url": { "path": [ "v3", "apps", ":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 } }, { "id": "03252a2d-6fc0-4cb4-86d2-79dfda24c7b4", "name": "Start app", "request": { "name": "Start app", "description": {}, "url": { "path": [ "v3", "apps", ":guid", "actions", "start" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "method": "POST", "auth": null }, "response": [ { "id": "13045796-31c8-4e0d-a850-48268a880b84", "name": "Started", "originalRequest": { "url": { "path": [ "v3", "apps", ":guid", "actions", "start" ], "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": "POST", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "75265240-95c7-4859-96e9-7a30f3bb7db9", "name": "Stop app", "request": { "name": "Stop app", "description": {}, "url": { "path": [ "v3", "apps", ":guid", "actions", "stop" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "guid", "description": "(Required) " } ] }, "method": "POST", "auth": null }, "response": [ { "id": "e76678f1-b7c1-44de-bf91-a8b05d2e30e1", "name": "Stopped", "originalRequest": { "url": { "path": [ "v3", "apps", ":guid", "actions", "stop" ], "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": "POST", "body": {} }, "status": "OK", "code": 200, "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": "9745b2f3-3f52-425b-a829-f162a4c86747", "name": "Cloud Foundry Cloud Controller API v3 Apps 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" } } }