返回指定章节的合作者列表。
Request
HTTP request
GET https://www.featapi.com/api/dimzou/collaborators/
Parameters
- Query parameters
Parameter name | Value | Description |
---|---|---|
Optional parameters | ||
page | string | |
page_size | string | |
is_deleted | string | 是否返回合作者黑名单 |
node | string | 章节id |
授权
此请求需要具有以下所有范围的授权:
Scopes |
---|
无 |
有关更多信息,请参阅认证和授权页面。
Request body
无
Response
如果成功,则此方法在响应正文中返回Dimzou.collaborator资源。
200 返回合作者列表
{
"data": [
{
"id": 886,
"role": 0,
"user_id": 5215999252276,
"joined_at": "2020-04-28T08:07:27.317340Z",
"created_at": "2020-04-28T08:07:27.317478Z",
"user": {
"uid": 5215999252276,
"avatar": "http://127.0.0.1:8000/media/5215999252276/avatar/5215999252276.jpg",
"expertise": "健身教练",
"firstname": "小红",
"lastname": "甘",
"username": "小红 甘",
"timezone": "America/New_York",
"timezone_utc_offset": "-04:00",
"is_online": true,
"location": "New York",
"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": 1660,
"is_deleted": false,
"node_id": 1754,
"updated_at": "2020-04-30T06:45:47.847534Z",
"contributing_words": 2380363
} ],
"pagination": {
"page_size": 50,
"total_count": 1,
"total_pages": 1,
"current_page": 1,
"next": null,
"previous": null
}
}
404 Not found
示例返回数据可参考 API Common – Resource Not Found