Hi All,

I RestApiAdmin is from the carbon-meditation and sources found here[1]. But
in the util function[2] it try to extract the source, seems it didn't check
for the handler and hence it may not appear in the payload.
In your case if API handlers are static (If it is sure that users are not
allowed to customize APIs handler) you can add the default handlers to the
source you get as a workaround.

[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/service/RestApiAdmin.java#L680
[2]
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

Thanks and Regards

On Mon, Nov 27, 2017 at 7:50 AM, roshan wijesena <[email protected]>
wrote:

> Have you tried these APIs?
>
> https://docs.wso2.com/display/AM210/apidocs/publisher/
>
> On Mon, Nov 27, 2017 at 2:45 AM, Amanda Jayanetti <[email protected]>
> 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
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to