Skip to content

Allow /api/v1/project/lookup to return project with no version #4914

@rkg-mm

Description

@rkg-mm

Current Behavior

Using the /api/v1/project/lookup?name=x&version=y allows looking up a project with a version.
However, if a project does have an empty version field, this API cannot be used (as version is required parameter) and there is no equivalent API to return projects without version.

Proposed Behavior

Allow the lookup API to look up projects with no version.

Consideration:
It might be misleading if only searching for name does not return all projects with that name, so docs would have to make this clear, that not providing version is only returning a project with this name and no version.

Checklist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions