From 9cf6d18e4ceef5ec97c84ad8d02d811b1c241734 Mon Sep 17 00:00:00 2001 From: Tejaswini Chile Date: Mon, 20 Jun 2022 19:57:52 +0530 Subject: [PATCH] fix: Update the documentation for automation rules API endpoint (#4896) --- swagger/paths/index.yml | 4 ++-- swagger/swagger.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/swagger/paths/index.yml b/swagger/paths/index.yml index a7b853cb8..50b95b5df 100644 --- a/swagger/paths/index.yml +++ b/swagger/paths/index.yml @@ -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 diff --git a/swagger/swagger.json b/swagger/swagger.json index 483aa3402..f4b173b54 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -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"