ProjectInvitationAcceptResponse
0data objectrequired
invitation objectrequired
服务端签发的邀请 token,前端使用 ${origin}/invite/${token} 拼接完整链接。
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
Possible values: [guest, developer, maintainer, owner]
createdByProfile object
Optional email address for the profile summary.
Optional avatar image URL or data URL for the uploader profile.
acceptedByProfile object
Optional email address for the profile summary.
Optional avatar image URL or data URL for the uploader profile.
Possible values: [project, group]
member objectrequired
profile object
Optional email address for the profile summary.
Optional avatar image URL or data URL for the uploader profile.
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
Possible values: [guest, developer, maintainer, owner]
createdByProfile object
Optional email address for the profile summary.
Optional avatar image URL or data URL for the uploader profile.
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
Possible values: [guest, developer, maintainer, owner]
access objectrequired
effectiveRole objectrequired
- ProjectRole
- null
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
Possible values: [guest, developer, maintainer, owner]
sources object[]required
Possible values: [project, group, public, system]
权限逐级累加:访客只读;开发者编辑草稿、上传、发布、写服务器数据;维护者管理设置和低级成员;所有者管理全部成员、删除与转移。 / Cumulative guest, developer, maintainer and owner roles.
Possible values: [guest, developer, maintainer, owner]
Possible values: [read, downloadSource, readDraft, upload, publish, writeData, manageSettings, manageMembers, manageOwners, transfer, delete, createProject, createSubgroup]
{
"errCode": 0,
"errMessage": "string",
"data": {
"invitation": {
"id": "string",
"projectId": "string",
"token": "string",
"role": "guest",
"createdBy": "string",
"createdByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z",
"acceptedBy": "string",
"acceptedByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"acceptedAt": "2024-07-29T15:51:28.071Z",
"revokedAt": "2024-07-29T15:51:28.071Z",
"resourceType": "project",
"resourceId": "string",
"resourceName": "string"
},
"member": {
"projectId": "string",
"userId": "string",
"profile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"role": "guest",
"createdBy": "string",
"createdByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"resourceId": "string",
"directRole": "guest",
"access": {
"effectiveRole": "guest",
"sources": [
{
"type": "project",
"id": "string",
"name": "string",
"role": "guest"
}
],
"capabilities": [
"read"
]
}
}
}
}