Bundle: listCollaborator

Bundle: listCollaborator

返回该章节的合作者列表。

Request

HTTP request

GET https://www.featapi.com/api/dimzou/bundle/{id}/collaborator-list/

Parameters

  • Path parameters
Parameter nameValueDescription
idstring章节的bundle id
  • Query parameters
Parameter nameValueDescription
node_idstring章节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

发表评论

您的电子邮箱地址不会被公开。

您可以使用以下 HTML标签和属性:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Captcha Code