Hi Chamalee,

This is reproducible even after login to the API Store when you are trying
to open the API Console.



*Regards,*
*THivya*

On Mon, Dec 18, 2017 at 1:33 PM, Thivya Mahenthirarasa <[email protected]>
wrote:

> Hi Irham,
>
>
>
> *Add API [1] is showing the mentioned issue.**Add API with Path
> Parameter[2] works fine.*
>
> The only difference in both is resource
>
>
>    - In Add API the resources are added directly.
>
>
> resourceCount=0&resourceMethod-0=GET&resourceMethodAuthType-0=Application&
> resourceMethodThrottlingTier-0=Unlimited
>
>
>    - In AddAPIWith Parameter the resources are added as swagger
>
> eg:-
> swagger={"paths" : {"/CheckPhoneNumber" : {"post" : {"x-auth-type" :
> "Application%20%26%20Application%20User", "x-scope" : "read_number",
> "x-throttling-tier" : "Unlimited", "responses" : {"200" : {}}}, "get" : {
> "x-auth-type" : "Application%20%26%20Application%20User",
> "x-throttling-tier" : "Unlimited", "responses" : {"200" : {}},
> "parameters" : [{"name" : "PhoneNumber", "paramType" : "query", "required" :
> false, "type" : "string", "description" : "Phone Number", "in" : "query"},
> {"name" : "LicenseKey", "paramType" : "query", "required" : false, "type" :
> "string", "description" : "License Key", "in" : "query"}]}}, "/" : {"put" :
> {"responses" : {"200" : {}}}, "get" : {"responses" : {"200" : {}}}}},
> "swagger" : "2.0", "x-wso2-security" : {"apim" : {"x-wso2-scopes" : [{
> "description" : "", "name" : "read_number", "roles" : "admin", "key" :
> "read_number"}]}}, "info" : {"title" : "PhoneVerification", "version" :
> "1.0.0"}}
>
>
>
>
> [1]https://docs.wso2.com/display/AM210/publisher+APIs#PublisherAPIs-AddAPI
>
> [2] https://docs.wso2.com/display/AM210/publisher+APIs#PublisherAPIs-
> AddAPIwithPathParameter
>
> *Regards,*
> *Thivya*
>
> On Mon, Dec 18, 2017 at 12:01 PM, Chamalee De Silva <[email protected]>
> wrote:
>
>> Hi Thivya,
>>
>> This is reproducible when you are trying to open the API Console without
>> login to the API Store.
>> Login to the API so that this "fetching resource list:
>> https://10.100.5.39:9443/store/api-docs/admin/PhoneVer
>> ification/1.0.0?envName=undefined; Please wait." will go out.
>>
>>
>>
>> Thanks,
>> Chamalee
>>
>> On Mon, Dec 18, 2017 at 11:53 AM, Irham Iqbal <[email protected]> wrote:
>>
>>> Hi Thivya,
>>>
>>> Please share the API request you're sending to add API.
>>> In addition to that you can create another API from the UI and compare
>>> the swagger.json and api.json in the registry and find out whats wrong with
>>> your request.
>>> Also if your using the sample API request as it is in the doc, which one
>>> your trying "Add API" or "Add API with Path Parameter"
>>>
>>> Thanks,
>>> Iqbal
>>>
>>> On Mon, Dec 18, 2017 at 11:18 AM, Thivya Mahenthirarasa <[email protected]
>>> > wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I'm observing the below line in store only when I created API by using
>>>> jaggery app in APIM210. I have followed the publicherAPIs Documentaion[1].
>>>>
>>>> "fetching resource list: https://10.100.5.39:9443/store
>>>> /api-docs/admin/PhoneVerification/1.0.0?envName=undefined; Please
>>>> wait."
>>>>
>>>> Steps to reproduce
>>>> 1. Add an API using jaggery app.
>>>> 2. Log in to store and click API console
>>>>
>>>> Attaching the screenshot.
>>>>
>>>>
>>>> *Highly appreciate your suggestions and responses on this.*
>>>>
>>>>
>>>> [1] https://docs.wso2.com/display/AM210/publisher+APIs#Publisher
>>>> APIs-AddAPI
>>>>
>>>>
>>>> *Regards,*
>>>> *Thivya*
>>>> --
>>>>
>>>> *Thivya Mahenthirarasa*
>>>>
>>>> *Software Engineer -Support Team | WSO2*
>>>>
>>>>
>>>> *Email: [email protected] <[email protected]>*
>>>>
>>>> *Mobile: +94766461966 <+94%2076%20646%201966>
>>>> <http://wso2.com/signature>*
>>>> *Web: http://wso2.com <http://wso2.com>*
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Irham Iqbal
>>> Software Engineer
>>> WSO2
>>> phone: +94 777888452
>>> <http://wso2.com/signature>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Software Engineer
>> *WS**O2* Inc. :http://wso2.com/
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>>
>
>
> --
>
> *Thivya Mahenthirarasa*
>
> *Software Engineer -Support Team | WSO2*
>
>
> *Email: [email protected] <[email protected]>*
>
> *Mobile: +94766461966 <+94%2076%20646%201966> <http://wso2.com/signature>*
> *Web: http://wso2.com <http://wso2.com>*
>



-- 

*Thivya Mahenthirarasa*

*Software Engineer -Support Team | WSO2*


*Email: [email protected] <[email protected]>*

*Mobile: +94766461966 <http://wso2.com/signature>*
*Web: http://wso2.com <http://wso2.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to