lgo opened a new issue #6018: URL: https://github.com/apache/incubator-pinot/issues/6018
Many APIs do not have consistent or easy to use resource structures. For example, `GET /instances/{instanceName}` may return data like ``` { "instanceName": "Broker_mybrokerhostname_8099", "hostName": "Broker_mybrokerhostname", "enabled": false, "port": "8099", "tags": [ "DefaultTenant_BROKER" ], "pools": null } ``` Meanwhile `PUT /instances{instanceName}` requires `host` (not `hostname`) and a `type` field (`BROKER`, `SERVER`, `CONTROLLER`). Mismatched resources like this make the APIs complex to work with and even harder to use by hand. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org