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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -214,14 +214,14 @@
# Automation Rule
/api/v1/accounts/{account_id}/automation_rule_definitions:
/api/v1/accounts/{account_id}/automation_rules:
parameters:
- $ref: '#/parameters/account_id'
get:
$ref: ./application/automation_rule/index.yml
post:
$ref: ./application/automation_rule/create.yml
/api/v1/accounts/{account_id}/automation_rule_definitions/{id}:
/api/v1/accounts/{account_id}/automation_rules/{id}:
parameters:
- $ref: '#/parameters/account_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": [
{
"$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": [
{
"$ref": "#/parameters/account_id"