GET
/
api
/
invitations
/
{token}
查看邀请详情
curl --request GET \
  --url https://wfapi.yuhe.space/api/invitations/{token} \
  --header 'Authorization: Bearer <token>'
{
  "errCode": 123,
  "errMessage": "<string>",
  "data": {
    "invitation": {
      "id": "<string>",
      "workflowId": "<string>",
      "token": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "acceptedBy": "<string>",
      "acceptedAt": "2023-11-07T05:31:56Z",
      "revokedAt": "2023-11-07T05:31:56Z"
    },
    "project": {
      "id": "<string>",
      "name": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。

Path Parameters

token
string
required

Response

邀请与项目摘要。

errCode
integer
required
errMessage
string
required
Allowed value: ""
data
object
required