Skip to content

On flow names, external versions and URI-safe characters #166

@PGijsbers

Description

@PGijsbers

The flow/exists endpoint (#31) currently supports both GET and POST requests because there are names and/or external versions which contain characters which would make it an invalid path if added to the URI. I think we should make a decision to either always require a POST request, or to reconsidered the allowed values for flow names and external versions. I think it's confusing that now there are two endpoints with the same purpose, especially since the hidden POST endpoint is the one actually able to retrieve all the flows. The problem with the approach that restricts names/version characters is that changing keeps the problem with currently published flows. These cannot easily be updated, as it also requires changes to the openml-python API if it needs to support the migrated scheme.

Proposal: Remove the GET endpoint, and only support POST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FlowsFlow endpointsproposalWe want to discuss this to decide if it should be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions