【发布时间】:2020-06-07 14:09:25
【问题描述】:
我使用 REST API 将许多文件上传到 Nuxeo 服务器。现在我需要为用户添加权限。我使用http://localhost:8080/nuxeo/api/v1/id/file-id/@acl 端点和有效负载:
{
"username": "username",
"permission": "ReadWrite"
}
但它不起作用。错误是:
{
"entity-type": "exception",
"status": 405,
"message": "javax.ws.rs.WebApplicationException"
}
我该怎么做?是否有任何端点?
【问题讨论】:
标签: file-upload permissions acl nuxeo