アプリのユーザーを取得する
GET https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/members
注意点
レスポンスにアプリの所有者自身は含まれません
Path Params
Name | Type | Required | Description |
---|---|---|---|
OWNER_NAME | string | true | アプリを所有するユーザー名 |
PLATFORM_TYPE | string | true | ios もしくは android |
APP_ID | string | true | アプリのパッケージ名 (例: com.deploygate.android) |
Example
curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/members" \
-H "Authorization: Bearer ${TOKEN}" \
-X GET
Result 200
{
"error": false,
"results": {
"usage": {
"used": 2,
"max": 1000
},
"users": [
{
"name": "existing_user",
"role": 2
},
{
"name": "another_user",
"role": 2
}
]
}
}