api-schema icon indicating copy to clipboard operation
api-schema copied to clipboard

Create a Ruleset API Response typo in Sample Response

Open Neojin629 opened this issue 3 years ago • 0 comments

Hello all,

API response on sample "Create a Ruleset API" has incorrect JSON key of "rulesets" instead of "ruleset". Found this out when I was trying to store the key as a variable to string an Create Event Rule API call to it and kept getting an error.

Sample: { "rulesets": { "id": "0e84de00-9511-4380-9f4f-a7b568bb49a0", "name": "MySQL Clusters", "type": "global", "routing_keys": [ "R0212P1QXGEIQE2NMTQ7L7WXD00DWHIN" ],

Actual: { "ruleset": { "id": "0e84de00-9511-4380-9f4f-a7b568bb49a0", "name": "MySQL Clusters", "type": "global", "routing_keys": [ "R0212P1QXGEIQE2NMTQ7L7WXD00DWHIN" ],

Thanks!

Neojin629 avatar Sep 23 '22 14:09 Neojin629