Alfresco API

GET / deployments

基本信息

获取部署列表。

经过身份验证的用户必须具有非网络部署的角色管理员或已启用网络网络管理员。

如果启用了网络,则网络管理员只能看到给定网络中的部署。

请求方式 GET

请求API / deployments

响应等级(状态200)

成功回应

{
  "list": {
    "pagination": {
      "count": 0,
      "hasMoreItems": true,
      "totalItems": 0,
      "skipCount": 0,
      "maxItems": 0
    },
    "entries": [
      {
        "entry": {
          "id": "string",
          "name": "string",
          "category": "string",
          "deployedAt": "2021-01-15T07:50:19.092Z"
        }
      }
    ]
  }
}

响应内容类型 applicaiton/json

Query参数

名称 类型 是否必填 示例值 描述
skipCount integer 0 在list中跳过指定数量的数据。
maxItems integer 100 list中要返回的最大项目数。
properties Array[string]   属性名称列表。 您可以使用properties参数来限制返回的属性数。

错误信息描述

状态码 原因
400 参数无效:maxItemsskipCount的值无效
401 验证失败
default 意外错误

返回结果示例

{
  "error": {
    "errorKey": "string",
    "statusCode": 0,
    "briefSummary": "string",
    "stackTrace": "string",
    "descriptionURL": "string",
    "logId": "string"
  }
}