Skip to content

Commit

Permalink
Add migration information for flow_exists (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers authored Jul 18, 2024
1 parent db6f73b commit 6c98a1d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,25 @@ Old-style "legacy" studies which are solely based on tags are no longer supporte
|50| Hyper-parameter tuning of Decision Trees|
|51| ensemble on diabetes |

## Flows

### `GET /flow/exists/{name}/{external_version}/`
Behavior has changed slightly. When a flow is found:

```diff
- { "flow_exists": { "exists": "true", "flow_id": "123" } }
+ { "flow_id": 123 }
```

and when a flow is not found:
```diff
- { "flow_exists": { "exists": "false", "flow_id": "-1" } }
+ { "detail": "Flow not found." }
```
and the HTTP header status code is `404` (NOT FOUND) instead of `200` (OK).

In the future the successful case will more likely just return the flow immediately instead (see #170).

## Others

### `GET /estimationprocedure/list`
Expand Down

0 comments on commit 6c98a1d

Please sign in to comment.