Skip to content

partialName and name in the /api/tenants, /api/tenants/all and /api/environments api both do wildcard search #7449

@johnsimons

Description

@johnsimons

Team

  • I've assigned a team label to this issue

Severity

No response

Version

2022.2.1851

Latest Version

No response

What happened?

When using the API, I was expecting name to return a specific name, not wildcarding it.

The issue is that both:

  • /api/Spaces-1/tenants?partialName=And
  • /api/Spaces-1/tenants?name=And

do a wildcard search 😢

Reproduction

You can use deploy instance to test this

Error and Stacktrace

No response

More Information

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions