api-schema
api-schema copied to clipboard
Create a Ruleset API Response typo in Sample Response
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!