Unexpected behavior of a resource path of '/*', and '/**' for two path parameters. It works if both path params are * or ** not the combi

Hi All,

I have a REST API with url. https://abcxyz.com/baseurl/cities/{{cityId}}/stores/{{storeId}}

I have created an API product with allowed resource paths below:

(a) /cities/**/stores/**

(b) /cities/*/stores/*

My question - I am able to access the API via OAuth access_token when I specify single or double asterisk in the resource paths (a and b).

However, when I make the resource path as /cities/*/stores/** (single asterisk for a specific id and double asterisk for any parameters or path) then the API is not accessible.

I get error - Invalid ClientId for Given Resource

I expect /cities/*/stores/** to be working based on the documentation mentioned here - https://docs.apigee.com/api-platform/publish/create-api-products

Can anyone help me to resolve this issue or let me know if I am missing anything.

0 0 141
0 REPLIES 0