Re: [Dev] [API-M] Can we create APIs via admin services in API Manager?

2015-04-07 Thread Rajkumar Rajaratnam
Got it. Thanks Nuwan for the quick response!

Thanks.

On Wed, Apr 8, 2015 at 9:14 AM, Nuwan Dias  wrote:

> Hi Rajkumar,
>
> There aren't any admin services available for adding APIs on the API
> Manager. What is available are the Jaggery REST APIs that you already found
> out.
>
> The RestAPIAdminService is used for adding APIs in the ESB. Hence the same
> is used internally within API Manager for creating the Synapse artifact
> corresponding to the API that is added through the API Publisher.
>
> Thanks,
> NuwanD.
>
> On Wed, Apr 8, 2015 at 7:15 AM, Rajkumar Rajaratnam 
> wrote:
>
>> Hi Devs,
>>
>> I was able to create APIs using publisher rest API[1].
>>
>> Just wanted to check whether I can do $Subject?
>>
>> There is an admin service "RestApiAdmin" in API Manager. This service has
>> a method to add an API. When I tested it with SoapUI, the request looks
>> like below;
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:xsd="http://org.apache.axis2/xsd "
>> xmlns:xsd1="http://api.rest.carbon.wso2.org/xsd
>> ">   
>>
>> 
>> ?
>> ?
>> ?
>> ?
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?  ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>> 
>> ?
>>  *
>>
>> But seems some important parameters like version, visibility, tiers,
>> end-points...etc are missing here.
>>
>> Please advice me whether it is possible to do $Subject.
>>
>> 1. https://docs.wso2.com/display/AM180/Publisher+APIs
>>
>> Thanks.
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Nuwan Dias
>
> Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API-M] Can we create APIs via admin services in API Manager?

2015-04-07 Thread Nuwan Dias
Hi Rajkumar,

There aren't any admin services available for adding APIs on the API
Manager. What is available are the Jaggery REST APIs that you already found
out.

The RestAPIAdminService is used for adding APIs in the ESB. Hence the same
is used internally within API Manager for creating the Synapse artifact
corresponding to the API that is added through the API Publisher.

Thanks,
NuwanD.

On Wed, Apr 8, 2015 at 7:15 AM, Rajkumar Rajaratnam 
wrote:

> Hi Devs,
>
> I was able to create APIs using publisher rest API[1].
>
> Just wanted to check whether I can do $Subject?
>
> There is an admin service "RestApiAdmin" in API Manager. This service has
> a method to add an API. When I tested it with SoapUI, the request looks
> like below;
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
> xmlns:xsd="http://org.apache.axis2/xsd "
> xmlns:xsd1="http://api.rest.carbon.wso2.org/xsd
> ">   
>
> 
> ?
> ?
> ?
> ?
> ?
> 
> ?
> 
> ?
> 
> ?
> 
> ?
> 
> ?  ?
> 
> ?
> 
> ?
> 
> ?
> 
> ?
> 
> ?
> 
> ?
>  *
>
> But seems some important parameters like version, visibility, tiers,
> end-points...etc are missing here.
>
> Please advice me whether it is possible to do $Subject.
>
> 1. https://docs.wso2.com/display/AM180/Publisher+APIs
>
> Thanks.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [API-M] Can we create APIs via admin services in API Manager?

2015-04-07 Thread Rajkumar Rajaratnam
Hi Devs,

I was able to create APIs using publisher rest API[1].

Just wanted to check whether I can do $Subject?

There is an admin service "RestApiAdmin" in API Manager. This service has a
method to add an API. When I tested it with SoapUI, the request looks like
below;















































*http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:xsd="http://org.apache.axis2/xsd "
xmlns:xsd1="http://api.rest.carbon.wso2.org/xsd
">   
   

?
?
?
?
?

?

?

?

?

?  ?

?

?

?

?

?

?
 *

But seems some important parameters like version, visibility, tiers,
end-points...etc are missing here.

Please advice me whether it is possible to do $Subject.

1. https://docs.wso2.com/display/AM180/Publisher+APIs

Thanks.

-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev