latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
AutomationRule
List all Automation Rules in an Environment.
get/orgs/{orgId}/apps/{appId}/envs/{envId}/rules
Path parameters
orgIdstring required
The Organization ID
appIdstring required
The Application ID
envIdstring required
The Environment ID
Response
A possibly empty array of Automation Rules
Example response
[
{
"active": true,
"artefacts_filter": [
"http://registry.org/sample-service"
],
"created_at": "2020-06-22T09:37:23.523Z",
"id": "923486d012f20324",
"images_filter": [
"sample-service"
],
"match": "^pr-[0-9]+-.*$",
"match_ref": "^refs/heads/pr-[0-9]+-.*$",
"type": "update",
"update_to": "branch",
"updated_at": "2020-06-22T09:37:23.523Z"
}
]