api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Improve filters of Admin REST API for GET https://localhost:9443/api/am/admin/v1/throttling/blacklist to filter exact matches of "/context/version"

Open ksankeerth opened this issue 5 months ago • 0 comments

Problem

Currently, conditionValue = "/context/version" filter returns all the API have substrings of context. It is better if it could be improved to return exact blocking condition for matching context and version.

https://127.0.0.1:9443/api/am/admin/v1/throttling/policies/blacklist?query=conditionType:api&conditionValue="/test/1.0.0"

Solution

Improve filter:

Eg: conditionValue="/test/1.0.0"

https://127.0.0.1:9443/api/am/admin/v1/throttling/policies/blacklist?query=conditionType:api&conditionValue="/test/1.0.0"

Affected Component

APIM

Version

3.2.1

Implementation

No response

Related Issues

No response

Suggested Labels

No response

ksankeerth avatar Aug 29 '24 08:08 ksankeerth