Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Ruleset API Response typo in Sample Response #264

Open
Neojin629 opened this issue Sep 23, 2022 · 0 comments
Open

Create a Ruleset API Response typo in Sample Response #264

Neojin629 opened this issue Sep 23, 2022 · 0 comments

Comments

@Neojin629
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant