开发者社区> 问答> 正文

Web应用托管服务技术栈API有哪些?

Web应用托管服务技术栈API有哪些?

展开
收起
小天使爱美 2020-03-23 14:36:33 720 0
1 条回答
写回答
取消 提交回答
  • 用DescribeCategories查询平台类型。

    调试 您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

    调试 请求头 该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

    请求语法 GET /pop/v1/wam/category HTTPS|HTTP 请求参数 返回数据 名称 类型 示例值 描述 Categories Array 平台类型查询结果

    Code String OK 响应代码,若成功请求为OK

    Message String success 响应消息,若成功请求为success

    RequestId String 6E99F8E3-7493-4ADA-A27B-2DFF2C693555 请求ID

    示例 请求示例

    http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/category?ServiceCode=webx&<公共请求参数> 正常返回示例

    XML 格式

    success 2EF90744-064A-4841-B9E3-6B0D7AE6785A OK Tomcat wca-5c937c98a9c0296d0c4823912 Use Tomcat as an application container, support for WAR or ZIP type application deployment packages. https://github.com/aliyun/alibabacloud-webplus-tomcat-demo cn-shenzhen oss://webplus-prod-cn-shenzhen/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war https://github.com/aliyun/alibabacloud-webplus-tomcat-demo cn-zhangjiakou oss://webplus-prod-cn-zhangjiakou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war https://github.com/aliyun/alibabacloud-webplus-tomcat-demo cn-beijing oss://webplus-prod-cn-beijing/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war https://github.com/aliyun/alibabacloud-webplus-tomcat-demo cn-shanghai oss://webplus-prod-cn-shanghai/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war https://github.com/aliyun/alibabacloud-webplus-tomcat-demo cn-hangzhou oss://webplus-prod-cn-hangzhou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war http://tomcat.apache.org/res/images/tomcat.png 1553218065000 1553218065000 Java wca-6c937c98a9c0296d0c4823912 Direct startup using Java commands, support for FatJAR or ZIP type application deployment packages. https://github.com/aliyun/alibabacloud-webplus-java-demo cn-shenzhen oss://webplus-prod-cn-shenzhen/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar https://github.com/aliyun/alibabacloud-webplus-java-demo cn-zhangjiakou oss://webplus-prod-cn-zhangjiakou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar https://github.com/aliyun/alibabacloud-webplus-java-demo cn-beijing oss://webplus-prod-cn-beijing/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar https://github.com/aliyun/alibabacloud-webplus-java-demo cn-shanghai oss://webplus-prod-cn-shanghai/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar https://github.com/aliyun/alibabacloud-webplus-java-demo cn-hangzhou oss://webplus-prod-cn-hangzhou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar https://openjdk.java.net/images/duke-thinking.png 1553218065000 1553218065000 Node.js wca-7c937c98a9c0296d0c4823912 The Node.js application supports ZIP-type application deployment packages. https://github.com/aliyun/alibabacloud-webplus-node-demo cn-shenzhen oss://webplus-prod-cn-shenzhen/quickstart/node/first-step/webplus-node-demo-0.1.0.zip https://github.com/aliyun/alibabacloud-webplus-node-demo cn-zhangjiakou oss://webplus-prod-cn-zhangjiakou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip https://github.com/aliyun/alibabacloud-webplus-node-demo cn-beijing oss://webplus-prod-cn-beijing/quickstart/node/first-step/webplus-node-demo-0.1.0.zip https://github.com/aliyun/alibabacloud-webplus-node-demo cn-shanghai oss://webplus-prod-cn-shanghai/quickstart/node/first-step/webplus-node-demo-0.1.0.zip https://github.com/aliyun/alibabacloud-webplus-node-demo cn-hangzhou oss://webplus-prod-cn-hangzhou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip http://tomcat.apache.org/res/images/tomcat.png 1553218065000 1553218065000 JSON 格式

    { "Message":"success", "RequestId":"20A72DF0-F63D-4763-BBCA-1999AAA9693D", "Categories":{ "Category":[ { "CategoryId":"wca-5c937c98a9c0296d0c4823912", "DemoProjects":{ "DemoProject":[ { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-tomcat-demo", "PackageUrl":"oss://webplus-prod-cn-shenzhen/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war", "RegionId":"cn-shenzhen" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-tomcat-demo", "PackageUrl":"oss://webplus-prod-cn-zhangjiakou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war", "RegionId":"cn-zhangjiakou" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-tomcat-demo", "PackageUrl":"oss://webplus-prod-cn-beijing/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war", "RegionId":"cn-beijing" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-tomcat-demo", "PackageUrl":"oss://webplus-prod-cn-shanghai/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war", "RegionId":"cn-shanghai" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-tomcat-demo", "PackageUrl":"oss://webplus-prod-cn-hangzhou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war", "RegionId":"cn-hangzhou" } ] }, "CategoryLogo":"http://tomcat.apache.org/res/images/tomcat.png", "CreateTime":1553218065000, "UpdateTime":1553218065000, "CategoryName":"Tomcat", "CategoryDescription":"Use Tomcat as an application container, support for WAR or ZIP type application deployment packages." }, { "CategoryId":"wca-6c937c98a9c0296d0c4823912", "DemoProjects":{ "DemoProject":[ { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-java-demo", "PackageUrl":"oss://webplus-prod-cn-shenzhen/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar", "RegionId":"cn-shenzhen" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-java-demo", "PackageUrl":"oss://webplus-prod-cn-zhangjiakou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar", "RegionId":"cn-zhangjiakou" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-java-demo", "PackageUrl":"oss://webplus-prod-cn-beijing/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar", "RegionId":"cn-beijing" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-java-demo", "PackageUrl":"oss://webplus-prod-cn-shanghai/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar", "RegionId":"cn-shanghai" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-java-demo", "PackageUrl":"oss://webplus-prod-cn-hangzhou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar", "RegionId":"cn-hangzhou" } ] }, "CategoryLogo":"https://openjdk.java.net/images/duke-thinking.png", "CreateTime":1553218065000, "UpdateTime":1553218065000, "CategoryName":"Java", "CategoryDescription":"Direct startup using Java commands, support for FatJAR or ZIP type application deployment packages." }, { "CategoryId":"wca-7c937c98a9c0296d0c4823912", "DemoProjects":{ "DemoProject":[ { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-node-demo", "PackageUrl":"oss://webplus-prod-cn-shenzhen/quickstart/node/first-step/webplus-node-demo-0.1.0.zip", "RegionId":"cn-shenzhen" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-node-demo", "PackageUrl":"oss://webplus-prod-cn-zhangjiakou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip", "RegionId":"cn-zhangjiakou" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-node-demo", "PackageUrl":"oss://webplus-prod-cn-beijing/quickstart/node/first-step/webplus-node-demo-0.1.0.zip", "RegionId":"cn-beijing" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-node-demo", "PackageUrl":"oss://webplus-prod-cn-shanghai/quickstart/node/first-step/webplus-node-demo-0.1.0.zip", "RegionId":"cn-shanghai" }, { "SourceUrl":"https://github.com/aliyun/alibabacloud-webplus-node-demo", "PackageUrl":"oss://webplus-prod-cn-hangzhou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip", "RegionId":"cn-hangzhou" } ] }, "CategoryLogo":"http://tomcat.apache.org/res/images/tomcat.png", "CreateTime":1553218065000, "UpdateTime":1553218065000, "CategoryName":"Node.js", "CategoryDescription":"The Node.js application supports ZIP-type application deployment packages." } ] }, "Code":"OK" } 错误码 访问错误中心查看更多错误码。

    调用DescribeStacks查询技术栈。

    调试 您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

    调试 请求头 该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

    请求语法 GET /pop/v1/wam/stack HTTP/1.1 请求参数 名称 类型 是否必选 示例值 描述 CategoryName String 否 Java 技术栈类型名称

    PageNumber Integer 否 1 查询页面数

    PageSize Integer 否 10 查询页面大小

    RecommendedOnly Boolean 否 true 仅查询推荐的技术栈

    返回数据 名称 类型 示例值 描述 PageNumber Integer 1 查询页面数量

    Message String success 响应消息,若成功请求为success

    Code String OK 响应代码,若成功请求为OK

    PageSize Integer 10 查询页面大小

    RequestId String E95B3D91-ED61-4715-AAD1-7E496A*****6 请求ID

    Stacks 技术栈查询结果列表

    TotalCount Integer 1 查询结果总数

    示例 请求示例

    http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/stack?ServiceCode=webx&Category=Java&PageSize=10&PageNumber=1&RecommendedOnly=true&<公共请求参数> 正常返回示例

    XML 格式

    1 1 success 10 2581EA69-00C2-44F8-85DD-1F1 44D7 true Java true ws-6c937c98a9c 0c4823984 1553218065000 10 1553218065000 Java 8 / Aliyun Linux 2.1903 OK JSON 格式

    { "PageNumber":1, "TotalCount":1, "Message":"success", "PageSize":10, "RequestId":"1EC2BF9F-20BA-4877-B9DC-89CA*****589", "Stacks":{ "Stack":[ { "LatestStack":true, "CategoryName":"Java", "RecommendedStack":true, "StackId":"ws-6c937c98a9*****d0c4823984", "CreateTime":1553218065000, "VersionCode":10, "UpdateTime":1553218065000, "StackName":"Java 8 / Aliyun Linux 2.1903" } ] }, "Code":"OK"

    2020-03-23 14:59:24
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Spring Boot2.0实战Redis分布式缓存 立即下载
CUDA MATH API 立即下载
API PLAYBOOK 立即下载