WSO2EI API列表

WSO2EI API列表,wso2,api-manager,Wso2,Api Manager,我需要从wso2ei获取所有API列表及其参数。我可以使用带有curl命令的wso2 api管理器来实现这一点。如何在wso2ei中使用curl命令来实现这一点?wso2ei中没有任何rest api可用于获取api列表。您可以从RestApiAdmin管理服务SOAP服务检索api列表和详细信息。您可以从WSDL获取参数和类型。按照[1]检索RestApiAdmin管理服务的WSDL 检索API列表的示例curl: curl -k -v -X POST \ https://localhos

我需要从wso2ei获取所有API列表及其参数。我可以使用带有curl命令的wso2 api管理器来实现这一点。如何在wso2ei中使用curl命令来实现这一点?

wso2ei中没有任何rest api可用于获取api列表。

您可以从RestApiAdmin管理服务SOAP服务检索api列表和详细信息。您可以从WSDL获取参数和类型。按照[1]检索RestApiAdmin管理服务的WSDL

检索API列表的示例curl:

curl -k -v -X POST \
  https://localhost:9443/services/RestApiAdmin \
  -H 'Accept: */*' \
  -H 'Authorization: Basic YWRtaW46YWRtaW4=' \
  -H 'SOAPAction: "urn:getAPIsForListing"' \
  -d '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://org.apache.axis2/xsd">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:getAPIsForListing>
            <!--Optional:-->
            <xsd:pageNumber>0</xsd:pageNumber>
            <!--Optional:-->
            <xsd:itemsPerPage>10</xsd:itemsPerPage>
        </xsd:getAPIsForListing>
    </soapenv:Body>

[1]

我可以通过SOAP管理服务访问API列表。但我想得到参数及其类型的列表。在具有管理服务的wso2ei或wso2am中。有人能帮我吗?