Application Deployment Restriction

Create an application deployment restriction

Create an application deployment restriction

post/application/{applicationId}/deploymentRestriction

Request

Path parameters

applicationIdstring uuid required

Application ID

Request body

mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

For PATH restrictions, the value must not start with /

Example request

{
  "mode": "MATCH",
  "type": "PATH",
  "value": "application1/src/"
}

Response

Added an environment variable

idstring uuid required
created_atstring date-time required
updated_atstring date-time
mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

For PATH restrictions, the value must not start with /

Example response

{
  "mode": "MATCH",
  "type": "PATH",
  "value": "application1/src/"
}

Changes

No recorded changes to this operation across all 1 revision of this API.