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

GET /flow/exists/{name}/{version} #31

Open
Tracked by #28
PGijsbers opened this issue Oct 9, 2023 · 0 comments
Open
Tracked by #28

GET /flow/exists/{name}/{version} #31

PGijsbers opened this issue Oct 9, 2023 · 0 comments
Assignees
Labels
Flows Flow endpoints GET GET endpoints Migration Already exists in the old API

Comments

@PGijsbers
Copy link
Contributor

PGijsbers commented Oct 9, 2023

Indicate whether a flow with a givern name and external version exists. If it does, return the flow id. If it does not, return a message that it does not.

Examples:

  • Flow 7000 has name mlr.classif.rpart.tuned and external version R_3.4.0-v2.ddc1acf9. The endpoint returns {"flow_exists":{"exists":"true","id":"7000"}}.
  • If instead there is no match, it returns {"flow_exists":{"exists":"false","id":"-1"}}.
  • scikit-learn flows have names that are typically invalid in URLs, for example sklearn.ensemble.weight_boosting.AdaBoostClassifier(base_estimator=sklearn.tree.tree.DecisionTreeClassifier). These are supported by the POST endpoint by the same path where the parameter values are supplied through the request body: {"name": name, "external_version": external_version}. (See also On flow names, external versions and URI-safe characters #166).
@PGijsbers PGijsbers mentioned this issue Oct 9, 2023
7 tasks
@PGijsbers PGijsbers added GET GET endpoints Migration Already exists in the old API Flows Flow endpoints labels Oct 9, 2023
@PGijsbers PGijsbers self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flows Flow endpoints GET GET endpoints Migration Already exists in the old API
Projects
Status: No status
Development

No branches or pull requests

1 participant