POST /nodes/{nodeId}/renditions
基本信息
Note: 该端点在Alfresco 5.2.2和更高版本中可用。
一个异步请求,用于创建文件nodeId的再现。
呈现通过请求正文中的名称id指定:
{ "id":"doclib" }
可以将多个名称指定为逗号分隔的列表或使用列表renditions:
[ { "id": "doclib" }, { "id": "avatar" } ]
请求方式:POST
请求API :/ nodes / {nodeId} / renditions
Path参数
名称 | 类型 | 是否必填 | 示例值 | 描述 |
nodeId | string | 是 | 节点的标识符。 |
Body参数(renditionBodyCreate)
request body示例
{ "id": "string" }
错误信息描
状态码 | 原因 |
202 | 请求已接受 |
400 | 无效的参数:nodeId无效,renditions无效,或者文件或renditionBodyCreate无效 |
401 | 验证失败 |
403 | 当前用户无权访问nodeId |
404 | nodeId或renditionId不存在 |
409 | 所有请求的移交已经存在 |
501 | 系统已禁用渲染/缩略图 |
default | 意外错误 |
返回结果示例
{ "error": { "errorKey": "string", "statusCode": 0, "briefSummary": "string", "stackTrace": "string", "descriptionURL": "string", "logId": "string" } }