获取项目成员
GET
https://open.teambition.com/api/project/member/list
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/project/member/list?projectId' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization'
响应示例响应示例
{
"code": 200,
"errorMessage": "string",
"count": 20,
"nextPageToken": "dd28c9aa-e056-4f57-9f6c-ed5c3b2d7200",
"result": [
{
"memberId": "5d1c0d75fbf7ca00...",
"userId": "5a28e2036176bbde...",
"role": 0,
"name": "张三",
"avatarUrl": "http://test.com/photo/zhangsan.220x220.jpg",
"email": "zhangsan@test.com",
"phone": "136****0101"
}
]
}
请求参数
Query 参数
projectId
string
项目 ID
pageToken
string
可选
pageSize
string
可选
Header 参数
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
返回响应
修改于 2021-12-28 11:12:08