Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Add a Process

PUT /v3/apps/:guid/processes

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
process_guid GUID of process

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC03NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2NzAwfQ.kXGiXE3RTSdgzMaENVv3TwL9hlg4cyx38GGgcGMH9Pk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v3/apps/guid-6d170040-8956-42a9-8f2a-32c621971765/processes

Body

{
  "process_guid": "bf6a6c26-8dd6-4221-a191-40be5cf87632"
}

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-6d170040-8956-42a9-8f2a-32c621971765/processes" -d '{
  "process_guid": "bf6a6c26-8dd6-4221-a191-40be5cf87632"
}' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC03NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2NzAwfQ.kXGiXE3RTSdgzMaENVv3TwL9hlg4cyx38GGgcGMH9Pk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5c5ffc46-707c-4f31-9d68-e49624408ebd
X-Content-Type-Options: nosniff

Status

200 OK