Closed ZoranPandovski closed 4 years ago
Ok, so the whatever
in relation to your comment was there because predictors
required a predictor name, so when the analyze
endpoint was there you needed to pass a name (which could be whatever
since the server didn't use it, it's just how pathing works).
The new endpoint under datasources shouldn't need that.
The call should be /datasources/<datasource_name>/analyze
and the data_source_name
url argument shouldn't be required, if possible make those changes and test them to make sure it works correctly.
Ok, the hardcoded value was removed and the name was added to the path. If (this.name) is not available will take default value.
Ok, if the name is added to the path it should no longer be needed in the URL query. So remove it from there and merge the PR once that's done.