GET/bots/{botId}/domains
Bot が登録されているドメインリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
bot
bot.read
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| Parameter | Type | Description |
|---|---|---|
| cursor | string | リストのカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| count | integer | 取得数 required default : 50 minimum : 1 maximum : 100 example : 60 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| domains | array (BotDomain) | トーク Bot のドメインリスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| domainId | integer | Bot のドメイン ID format : int64 readOnly : true |
| visible | boolean | 組織図での Bot 公開可否 default : false |
| allowToSelectedMember | boolean | メンバーを指定した利用権限の付与の可否
default : false |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリストが存在する場合のカーソル値 required |
example
1{2 "domains": [3 {4 "domainId": 10000001,5 "visible": true,6 "allowToSelectedMember": true7 }8 ],9 "responseMetaData": {10 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="11 }12}