fix: Update the documentation for automation rules API endpoint (#4896)

This commit is contained in:
Tejaswini Chile
2022-06-20 19:57:52 +05:30
committed by GitHub
parent 3fa34991d0
commit 9cf6d18e4c
2 changed files with 4 additions and 4 deletions

View File

@@ -214,14 +214,14 @@
# Automation Rule # Automation Rule
/api/v1/accounts/{account_id}/automation_rule_definitions: /api/v1/accounts/{account_id}/automation_rules:
parameters: parameters:
- $ref: '#/parameters/account_id' - $ref: '#/parameters/account_id'
get: get:
$ref: ./application/automation_rule/index.yml $ref: ./application/automation_rule/index.yml
post: post:
$ref: ./application/automation_rule/create.yml $ref: ./application/automation_rule/create.yml
/api/v1/accounts/{account_id}/automation_rule_definitions/{id}: /api/v1/accounts/{account_id}/automation_rules/{id}:
parameters: parameters:
- $ref: '#/parameters/account_id' - $ref: '#/parameters/account_id'
- name: id - name: id

View File

@@ -2157,7 +2157,7 @@
} }
} }
}, },
"/api/v1/accounts/{account_id}/automation_rule_definitions": { "/api/v1/accounts/{account_id}/automation_rules": {
"parameters": [ "parameters": [
{ {
"$ref": "#/parameters/account_id" "$ref": "#/parameters/account_id"
@@ -2238,7 +2238,7 @@
} }
} }
}, },
"/api/v1/accounts/{account_id}/automation_rule_definitions/{id}": { "/api/v1/accounts/{account_id}/automation_rules/{id}": {
"parameters": [ "parameters": [
{ {
"$ref": "#/parameters/account_id" "$ref": "#/parameters/account_id"