チームのメンバー一覧を取得する
GET
https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/teams/{TEAM_NAME}/users
グループ内のチームメンバーのユーザー情報一覧を取得します。
Path Params
Name | Type | Required | Description |
---|---|---|---|
ORGANIZATION_NAME | string | true | グループ名 |
TEAM_NAME | string | true | チーム名 |
Example
curl \
-X GET \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/teams/${TEAM_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"users": [
{
"type": "User",
"name": "${USER_NAME}",
"display_name": "${USER_DISPLAY_NAME}",
"icon_url": "https://secure.gravatar.com/avatar/${USER_NAME}",
"url": "https://deploygate.com/users/${USER_NAME}"
},
{
"type": "User",
"name": "${EMAIL}",
"display_name": null,
"icon_url": "https://secure.gravatar.com/avatar/default",
"inviting": true,
"url": "https://deploygate.com/users/${EMAIL}"
}
]
}