Skip to main content

ProjectInvitationListResponse

errCodeintegerrequired
Constant value: 0
errMessagestringrequired
Constant value:
data object[]required
  • Array [
  • idstringrequired
    projectIdstringrequired
    tokenstringrequired

    The invitation token issued by the server, the front end uses ${origin}/invite/${token} to splice the complete link.

    roleInvitationRolerequired

    Possible values: [manager, writer, viewer]

    createdBystring
    createdByProfile object
    userIdstringrequired
    displayNamestringrequired
    emailstring

    Optional email address for the profile summary.

    avatarUrlstring

    Optional avatar image URL or data URL for the uploader profile.

    createdAtstring<date-time>required
    expiresAtstring<date-time>required
    acceptedBystring
    acceptedByProfile object
    userIdstringrequired
    displayNamestringrequired
    emailstring

    Optional email address for the profile summary.

    avatarUrlstring

    Optional avatar image URL or data URL for the uploader profile.

    acceptedAtstring<date-time>
    revokedAtstring<date-time>
  • ]
  • ProjectInvitationListResponse
    {
    "errCode": 0,
    "errMessage": "string",
    "data": [
    {
    "id": "string",
    "projectId": "string",
    "token": "string",
    "role": "manager",
    "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"
    }
    ]
    }