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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ4IiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzUyfQ.FEtKO8-FaX1L7bHDTDfNDNVxw2vGA-h31A65O52vhCo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v3/apps/guid-f116be00-ebbb-4461-a735-177e2eaf5bfa/processes

Body

{
  "process_guid": "28603eb4-8b05-4c14-9dc0-cdf5250df5a5"
}

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-f116be00-ebbb-4461-a735-177e2eaf5bfa/processes" -d '{
  "process_guid": "28603eb4-8b05-4c14-9dc0-cdf5250df5a5"
}' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ4IiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzUyfQ.FEtKO8-FaX1L7bHDTDfNDNVxw2vGA-h31A65O52vhCo" \
	-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: 03312288-bb36-4a77-b9f6-2006a7059081
X-Content-Type-Options: nosniff

Status

200 OK