You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
At the moment, in publisher RESTful APIs /subscriptions/{apiId} will return the subscriptions of the given API while /subscriptions will only return subscriptions of the APIs for which the logged-in user is the provider. However, the response does not have additional attribute information of the applications. Because of that, it is required to use the following admin API[1] to get the additional attribute information of applications
If we use the above approach then to get the subscription details along with additional attribute information of the applications we need to follow the below approach.
For each tenant fetch the API details using publisher API (1 call per tenant)
For each API fetch the subscription details (To fetch the application ID) (publisher RESTful APIs /subscriptions/{apiId})
For each application fetch the attributes. ([1])
So, the above process has fallen into a more complex process to get the required information.
Therefore, if any admin API with subscription details (like publisher subscription API) could provide the details along with attributes of the application would be great.
It would be really useful to get this improvement in future releases. Kindly please consider this.
any admin API with subscription details (like publisher subscription API) could provide the details along with attributes of the application would be great.
Affected Component
APIM
Version
3.2.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered:
Problem
Hi Team,
At the moment, in publisher RESTful APIs /subscriptions/{apiId} will return the subscriptions of the given API while /subscriptions will only return subscriptions of the APIs for which the logged-in user is the provider. However, the response does not have additional attribute information of the applications. Because of that, it is required to use the following admin API[1] to get the additional attribute information of applications
If we use the above approach then to get the subscription details along with additional attribute information of the applications we need to follow the below approach.
So, the above process has fallen into a more complex process to get the required information.
Therefore, if any admin API with subscription details (like publisher subscription API) could provide the details along with attributes of the application would be great.
It would be really useful to get this improvement in future releases. Kindly please consider this.
[1] wso2/product-apim#11324 (comment)
Thanks,
Riyazath Ali.
Solution
any admin API with subscription details (like publisher subscription API) could provide the details along with attributes of the application would be great.
Affected Component
APIM
Version
3.2.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: