返回该章节的合作者列表。
Request
HTTP request
GET https://www.featapi.com/api/dimzou/bundle/{id}/collaborator-list/
Parameters
- Path parameters
Parameter name | Value | Description |
---|---|---|
id | string | 章节的bundle id |
- Query parameters
Parameter name | Value | Description |
---|---|---|
node_id | string | 章节id |
授权
此请求需要具有以下所有范围的授权:
Scopes |
---|
dimzou_bundle |
有关更多信息,请参阅认证和授权页面。
Request body
无
Response
如果成功,则此方法在响应正文中返回Dimzou.collaborator资源。
200 成功返回列表
{
"data": [
{
"id": 1849,
"role": 0,
"user_id": 5215999252276,
"joined_at": "2020-03-13T12:16:03.532942Z",
"created_at": "2020-03-13T12:16:03.533215Z",
"user": {
"uid": 5215999252276,
"avatar": "http://127.0.0.1:8000/media/5215999252276/avatar/5215999252276.jpg",
"expertise": "蹦极",
"firstname": "小红",
"lastname": "甘",
"username": "小红 甘",
"timezone": "Europe/Berlin",
"timezone_utc_offset": "+01:00",
"online": false,
"location": "Frankfurt am Main",
"avatars": {
"path": "http://127.0.0.1:8000/media/5215999252276/avatar/5215999252276.jpg",
"sizes": {
"sm": {
"width": 32,
"height": 32,
"path": "http://127.0.0.1:8000/media/sm/5215999252276/avatar/5215999252276_32x32.JPEG"
},
"md": {
"width": 64,
"height": 64,
"path": "http://127.0.0.1:8000/media/md/5215999252276/avatar/5215999252276_64x64.JPEG"
},
"lg": {
"width": 300,
"height": 300,
"path": "http://127.0.0.1:8000/media/lg/5215999252276/avatar/5215999252276_300x300.JPEG"
}
}
}
},
"bundle_id": 1574,
"is_deleted": false
} ]
}
404 Not found
示例返回数据可参考 API Common – Resource Not Found