Hi all, When checking the XML content returned from the RestApiAdmin service, some more informations are missing from the XML content (i.e Version information).
IMO we can return the XML content of the API synapse file in [1] without building it by creating each sub element which will fix the above issue. @ESB Team, Appriciate your thoughts on this.. [1] https://github.com/wso2/carbon-mediation/blob/release-4.6.10/components/mediation-admin/org.wso2.carbon.rest.api/src/main/java/org/wso2/carbon/rest/api/RestApiAdminUtils.java#L59 Regards, SumedhaS On Mon, Nov 27, 2017 at 9:39 AM, Prasanna Dangalla <prasa...@wso2.com> wrote: > On Mon, Nov 27, 2017 at 7:50 AM, roshan wijesena <roshan86...@gmail.com> > wrote: > >> Have you tried these APIs? >> >> https://docs.wso2.com/display/AM210/apidocs/publisher/ >> > AFAIK if you get it form pubiisher REST API it will have all the data in > an API artifact. So may be you can use this. > >> >> >> On Mon, Nov 27, 2017 at 2:45 AM, Amanda Jayanetti <aman...@wso2.com> >> wrote: >> >>> Hi all, >>> >>> For a task that I'm currently working on, I need to retrieve all APIs >>> that have been created/published by a particular tenant. In order to >>> do this, we tried using carbon REST API admin service but details of API >>> handlers were not returned by this service. Is this the expected behavior? >>> If so, is there any other way of retrieving these details? >>> >>> Best Regards, >>> Amanda >>> -- >>> *Amanda Jayanetti* >>> Software Engineer >>> WSO2, Inc.; http://wso2.com >>> >>> Mobile: +9471957591 <+94%2071%20185%202792>1 >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Sumedha Kodithuwakku* Associate Technical Lead WSO2 Inc. : http://wso2.com lean . enterprise . middleware Mobile: +94 71 808 1124 Blog: http://sumedhask.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev