调用DescribeCategories查询平台类型。

调试

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

请求头

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

请求语法

GET /pop/v1/wam/category HTTPS|HTTP

请求参数

返回数据

名称 类型 示例值 描述
Categories Array

平台类型查询结果

Category
CategoryDescription String Use Tomcat as an application container, support for WAR or ZIP type application deployment packages.

类型描述信息

CategoryId String wca-5c937c98a9c0296d0c4823912

类型ID

CategoryLogo String
CategoryName String Tomcat

类型名称

CreateTime String 1553218065000

平台类型创建时间

DemoProjects Array

样例项目

DemoProject
PackageDownloadUrl String http://webplus-prod-cn-shenzhen.oss-cn-shenzhen.aliyuncs.com/quickstart/java/first-step/webplus-demo-java-0.1.0-SNAPSHOT.jar

资源包下载地址

PackageUrl String oss://webplus-prod-cn-shenzhen/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war

资源包URL地址

RegionId String cn-shenzhen

环境所在地域

SourceUrl String https://github.com/aliyun/alibabacloud-webplus-demo-tomcat

源码地址

UpdateTime String 1553218065000

平台类型更新时间

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 格式

<DescribeCategoriesResponse>
    <Message>success</Message>
    <RequestId>2EF90744-064A-4841-B9E3-6B0D7AE6785A</RequestId>
    <Code>OK</Code>
    <Categories>
        <Category>
            <CategoryName>Tomcat</CategoryName>
            <CategoryId>wca-5c937c98a9c0296d0c4823912</CategoryId>
            <CategoryDescription>Use Tomcat as an application container, support for WAR or ZIP type application deployment packages.</CategoryDescription>
            <DemoProjects>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-tomcat-demo</SourceUrl>
                    <RegionId>cn-shenzhen</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shenzhen/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-tomcat-demo</SourceUrl>
                    <RegionId>cn-zhangjiakou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-zhangjiakou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-tomcat-demo</SourceUrl>
                    <RegionId>cn-beijing</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-beijing/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-tomcat-demo</SourceUrl>
                    <RegionId>cn-shanghai</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shanghai/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-tomcat-demo</SourceUrl>
                    <RegionId>cn-hangzhou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-hangzhou/quickstart/tomcat/first-step/webplus-tomcat-demo-0.1.1.war</PackageUrl>
                </DemoProject>
            </DemoProjects>
            <CategoryLogo>http://tomcat.apache.org/res/images/tomcat.png</CategoryLogo>
            <CreateTime>1553218065000</CreateTime>
            <UpdateTime>1553218065000</UpdateTime>
        </Category>
        <Category>
            <CategoryName>Java</CategoryName>
            <CategoryId>wca-6c937c98a9c0296d0c4823912</CategoryId>
            <CategoryDescription>Direct startup using Java commands, support for FatJAR or ZIP type application deployment packages.</CategoryDescription>
            <DemoProjects>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-java-demo</SourceUrl>
                    <RegionId>cn-shenzhen</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shenzhen/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-java-demo</SourceUrl>
                    <RegionId>cn-zhangjiakou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-zhangjiakou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-java-demo</SourceUrl>
                    <RegionId>cn-beijing</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-beijing/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-java-demo</SourceUrl>
                    <RegionId>cn-shanghai</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shanghai/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-java-demo</SourceUrl>
                    <RegionId>cn-hangzhou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-hangzhou/quickstart/java/first-step/webplus-java-demo-0.1.1-exec.jar</PackageUrl>
                </DemoProject>
            </DemoProjects>
            <CategoryLogo>https://openjdk.java.net/images/duke-thinking.png</CategoryLogo>
            <CreateTime>1553218065000</CreateTime>
            <UpdateTime>1553218065000</UpdateTime>
        </Category>
        <Category>
            <CategoryName>Node.js</CategoryName>
            <CategoryId>wca-7c937c98a9c0296d0c4823912</CategoryId>
            <CategoryDescription>The Node.js application supports ZIP-type application deployment packages.</CategoryDescription>
            <DemoProjects>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-node-demo</SourceUrl>
                    <RegionId>cn-shenzhen</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shenzhen/quickstart/node/first-step/webplus-node-demo-0.1.0.zip</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-node-demo</SourceUrl>
                    <RegionId>cn-zhangjiakou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-zhangjiakou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-node-demo</SourceUrl>
                    <RegionId>cn-beijing</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-beijing/quickstart/node/first-step/webplus-node-demo-0.1.0.zip</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-node-demo</SourceUrl>
                    <RegionId>cn-shanghai</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-shanghai/quickstart/node/first-step/webplus-node-demo-0.1.0.zip</PackageUrl>
                </DemoProject>
                <DemoProject>
                    <SourceUrl>https://github.com/aliyun/alibabacloud-webplus-node-demo</SourceUrl>
                    <RegionId>cn-hangzhou</RegionId>
                    <PackageUrl>oss://webplus-prod-cn-hangzhou/quickstart/node/first-step/webplus-node-demo-0.1.0.zip</PackageUrl>
                </DemoProject>
            </DemoProjects>
            <CategoryLogo>http://tomcat.apache.org/res/images/tomcat.png</CategoryLogo>
            <CreateTime>1553218065000</CreateTime>
            <UpdateTime>1553218065000</UpdateTime>
        </Category>
    </Categories>
</DescribeCategoriesResponse>

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"
}

错误码

访问错误中心查看更多错误码。