0
votes

I have a custom page where I obtain Published API list using WSO2 Store Restful API https://docs.wso2.com/display/AM220/apidocs/store/#!/operations#APICollection#apisGet

The problem is the returned result does not includes API Rating and Business Information whereas the Jaggery API that has been used by the default API Manager UI does include it. Is there any way to configure it so the REST API returns that data?

If I use the jaggery API instead, it is cookie based while I am using OAuth2 OIDC Service Provider of the IS. I cant obtain API that has visibility to only its own domain by passing access token to the Authorization header.

APIM Version: 2.2

Please Advice. Thanks!

1

1 Answers

0
votes

There is no such a way which will change the output response of defined APIs. If you want to do that, get source code of wso2 from github & edit the APIs & use the edited source to deploy your application. (But this will add lots of maintenance issue)

The quickest way is to call the get details of api.

It will return the business information object as well as below:

"businessInformation":    {
      "technicalOwner": "John Doe",
      "technicalOwnerEmail": "[email protected]",
      "businessOwner": "Jane Roe",
      "businessOwnerEmail": "[email protected]"
   },

Here you will get the heavy response as it returns the complete swagger definition as well.