Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get all Subscriptions details(like publisher subscription GET API) via admin API along with application additional attributes #2207

Open
riyazathali opened this issue Oct 10, 2023 · 0 comments

Comments

@riyazathali
Copy link

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.

  1. For each tenant fetch the API details using publisher API (1 call per tenant)
  2. For each API fetch the subscription details (To fetch the application ID) (publisher RESTful APIs /subscriptions/{apiId})
  3. 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.

[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

@YasasRangika YasasRangika added 4.3.0 4.3.0-M1 4.3.0 M1 Milestone labels Jan 15, 2024
@YasasRangika YasasRangika modified the milestone: 4.3.0-M1 Jan 15, 2024
@YasasRangika YasasRangika removed the 4.3.0-M1 4.3.0 M1 Milestone label Jan 15, 2024
@YasasRangika YasasRangika added this to the 4.3.0-M1 milestone Jan 15, 2024
@npamudika npamudika removed this from the 4.3.0-M1 milestone Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants